Merge pull request #2155

add dedicated meta descriptions
This commit is contained in:
luigi1111 2023-05-11 13:32:53 -05:00 committed by GitHub
commit db35afa85c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 38 additions and 1 deletions

View file

@ -45,6 +45,21 @@ titles:
blogbytag: Blog
library: Library
meta_descr:
whatismonero: A thorough explanation of what is Monero and how to get started
accepting: A guide on how to accept a payment in Monero using the GUI wallet
contributing: There are many ways to contribute to Monero and for every skillset
mining: Information, software and resources about mining Monero
blog: News, release notices and communications from the Monero Project and its community
workgroups: Find out where the hundreds of volunteers working on Monero meet and coordinate
sponsorships: The current and past sponsors of the Monero project.
about: History, values and basic structure of the Monero project and technology
roadmap: A browsable overview of what Monero achieved since its creation, what is currently being developed and plans for the future
mrl: Monero's research corner, with research papers, whitepaper and other research-related information
userguides: A collection of guides and manuals to guide you through using Monero and fixing common issues
tools: Links to third-party tools, like block explorers, payment gateways and generators to interact with the Monero ecosystem
presskit: Logos, marketing material, contacts and press documentation about Monero
navigation:
getstarted: Get Started
whatis: What is Monero?
@ -929,7 +944,7 @@ library:
moneropedia:
description: >
The terminology around Monero can be very complex and technical. The Moneropedia is a tool created by the Monero community to provide an explanation of these terms in a simple way. Listed below you'll find all the Moneropedia entries in alphabetic order. If you wish to edit an existing voice or to add a new one, click the button at the bottom of the page.
The terminology around Monero can be very complex and technical. The Moneropedia is a tool created by the Monero community to provide an explanation of these terms in a simple way. Listed below you'll find all the Moneropedia entries in alphabetic order.
instructions: Instructions for adding a Moneropedia entry are in the
add_new_text1: If there is an entry you'd like to modify or be added, please
add_new_link: open an issue on this website's GitHub repository

View file

@ -12,6 +12,7 @@
<meta name="description" content="
{% if page.layout == 'moneropedia' %}{% t global.wikimeta %}
{% elsif page.summary %}{{ page.summary }}
{% elsif page.meta_descr %}{% t page.meta_descr %}
{% else %}{% t global.titlemeta %}
{% endif %}">
<meta name="keywords" content="{{ site.keywords }}">
@ -26,6 +27,7 @@
<meta property="og:description" content="
{% if page.layout == 'moneropedia' %}{% t global.wikimeta %}
{% elsif page.summary %}{{ page.summary }}
{% elsif page.meta_descr %}{% t page.meta_descr %}
{% else %}{% t global.titlemeta %}
{% endif %}">
<!-- If the page specifies a dedicated image which is not an SVG file, we use that one. Otherwise we use the classic Monero logo -->

View file

@ -1,6 +1,7 @@
---
layout: custom
title: titles.blogbytag
meta_descr: meta_descr.blog
---
<div class="blog">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.hangouts
permalink: /community/hangouts/index.html
meta_descr: hangouts.intro
---
{% t global.lang_tag %}

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.merchants
permalink: /community/merchants/index.html
meta_descr: merchants.descr
---
{% t global.lang_tag %}
<section class="container">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.sponsorships
permalink: /community/sponsorships/index.html
meta_descr: meta_descr.sponsorships
---
{% t global.lang_tag %}

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.workgroups
permalink: /community/workgroups/index.html
meta_descr: meta_descr.workgroups
---
{% t global.lang_tag %}

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.downloads
permalink: /downloads/index.html
meta_descr: downloads.intro
---
{% t global.lang_tag %}

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.accepting
permalink: /get-started/accepting/index.html
meta_descr: meta_descr.accepting
---
{% t global.lang_tag %}
<section class="container">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.contributing
permalink: /get-started/contributing/index.html
meta_descr: meta_descr.contributing
---
{% t global.lang_tag %}
<div class="text-center container description">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.faq
permalink: /get-started/faq/index.html
meta_descr: faq.intro
---
{% t global.lang_tag %}
<div class="container description">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.mining
permalink: /get-started/mining/index.html
meta_descr: meta_descr.mining
---
{% t global.lang_tag %}
<div class="mining">

View file

@ -2,6 +2,7 @@
layout: default
title: titles.whatismonero
permalink: /get-started/what-is-monero/index.html
meta_descr: meta_descr.whatismonero
---
{% t global.lang_tag %}
<div class="site-wrap">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.library
permalink: /library/index.html
meta_descr: library.description
---
{% t global.lang_tag %}
<div class="about-monero">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.presskit
permalink: /press-kit/index.html
meta_descr: meta_descr.presskit
---
<div class="text-center container description">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.about
permalink: /resources/about/index.html
meta_descr: meta_descr.about
---
{% t global.lang_tag %}

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.developerguides
permalink: /resources/developer-guides/index.html
meta_descr: developer-guides.head
---
{% t global.lang_tag %}

View file

@ -1,6 +1,7 @@
---
layout: custom
title: titles.moneropedia
meta_descr: moneropedia.description
---
<div class="container description">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.researchlab
permalink: /resources/research-lab/index.html
meta_descr: meta_descr.mrl
---
{% t global.lang_tag %}
<div class="container description">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.roadmap
permalink: /resources/roadmap/index.html
meta_descr: meta_descr.roadmap
---
{% t global.lang_tag %}
<div class="roadmap">

View file

@ -2,6 +2,7 @@
layout: custom
title: titles.tools
permalink: /resources/tools/index.html
meta_descr: meta_descr.tools
---
<div class="text-center container description">

View file

@ -1,6 +1,7 @@
---
layout: custom
title: titles.userguides
meta_descr: meta_descr.userguides
---
{% t global.lang_tag %}
<div class="guides">