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 blogbytag: Blog
library: Library 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: navigation:
getstarted: Get Started getstarted: Get Started
whatis: What is Monero? whatis: What is Monero?
@ -929,7 +944,7 @@ library:
moneropedia: moneropedia:
description: > 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 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_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 add_new_link: open an issue on this website's GitHub repository

View file

@ -12,6 +12,7 @@
<meta name="description" content=" <meta name="description" content="
{% if page.layout == 'moneropedia' %}{% t global.wikimeta %} {% if page.layout == 'moneropedia' %}{% t global.wikimeta %}
{% elsif page.summary %}{{ page.summary }} {% elsif page.summary %}{{ page.summary }}
{% elsif page.meta_descr %}{% t page.meta_descr %}
{% else %}{% t global.titlemeta %} {% else %}{% t global.titlemeta %}
{% endif %}"> {% endif %}">
<meta name="keywords" content="{{ site.keywords }}"> <meta name="keywords" content="{{ site.keywords }}">
@ -26,6 +27,7 @@
<meta property="og:description" content=" <meta property="og:description" content="
{% if page.layout == 'moneropedia' %}{% t global.wikimeta %} {% if page.layout == 'moneropedia' %}{% t global.wikimeta %}
{% elsif page.summary %}{{ page.summary }} {% elsif page.summary %}{{ page.summary }}
{% elsif page.meta_descr %}{% t page.meta_descr %}
{% else %}{% t global.titlemeta %} {% else %}{% t global.titlemeta %}
{% endif %}"> {% 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 --> <!-- 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 layout: custom
title: titles.blogbytag title: titles.blogbytag
meta_descr: meta_descr.blog
--- ---
<div class="blog"> <div class="blog">

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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