From da03d5f480860fc2607fb4fc487f37694ae98c7b Mon Sep 17 00:00:00 2001 From: Riccardo Spagni <ric@spagni.net> Date: Fri, 27 Feb 2015 15:42:20 +0200 Subject: [PATCH] fix description metadata --- _config.yml | 2 +- _includes/head.html | 14 ++------------ _strings_en.yml | 3 +++ alltags.md | 8 -------- 4 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 alltags.md diff --git a/_config.yml b/_config.yml index 962ecf34..6e3b12a0 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,6 @@ email: dev@getmonero.org name: Monero -description: Private. Secure. Untraceable. +description: Monero is a digital currency that is secure, private, and untraceable. keywords: "monero, xmr, bitmonero, cryptocurrency" baseurl: "" url: "https://getmonero.org" diff --git a/_includes/head.html b/_includes/head.html index 5555d70b..10da5bd4 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -3,18 +3,8 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title> -{% if page.entry %} -{{ page.entry }} | {% t global.wiki %} | {% t index.page_title %} -{% elsif tag %} -{% t global.tags %}: {{ tag.name }} | {% t index.page_title %} -{% elsif page.title %} -{{ page.title }} | {% t index.page_title %} -{% else %} -{% t index.page_title %} -{% endif %} - </title> - <meta name="description" content="{{ site.description }}"> + <title>{% if page.entry %} {{ page.entry }} | {% t global.wiki %} | {% t index.page_title %} {% elsif tag %} {% t global.tags %}: {{ tag.name }} | {% t index.page_title %} {% elsif page.title %} {{ page.title }} | {% t index.page_title %} {% else %} {% t index.page_title %} {% endif %}</title> + <meta name="description" content="{% if page.entry %} {{ page.entry }}: {{ page.summary }} [{% t global.wikimeta %}] {% elsif tag %} {% t global.tagsmeta %}: {{ tag.name }} {% elsif page.meta %} {{ page.meta }} {% elsif page.title %} {{ page.title }} [{% t global.titlemeta %}] {% else %} {{ site.description }} {% endif %}"> <meta name="keywords" content="{{ site.keywords }}"> <link href="//static.getmonero.org/css/bootstrap.min.css" rel="stylesheet"> diff --git a/_strings_en.yml b/_strings_en.yml index 3321bd26..88fbda09 100644 --- a/_strings_en.yml +++ b/_strings_en.yml @@ -6,6 +6,9 @@ global: monero_project: The Monero Project wiki: Moneropedia tags: Articles By Tag + wikimeta: on Moneropedia, the open encyclopedia of Monero knowledge + tagsmeta: All Monero blog articles that are tagged + titlemeta: on the home of Monero, a digital currency that is secure, private, and untraceable terms: Terms privacy: Privacy copyright: Copyright diff --git a/alltags.md b/alltags.md deleted file mode 100644 index 0fe7ef28..00000000 --- a/alltags.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: none ---- - -<pre> -{% for post in site.posts %}{% for tag in post.tags %}{{ tag }} -{% endfor %}{% endfor %} -</pre> -- GitLab