diff options
author | EuAndreh <eu@euandre.org> | 2023-04-10 16:18:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-10 16:18:01 -0300 |
commit | 4b9cddca7f0f75e321319c79e94b3af3ce37e5ef (patch) | |
tree | 3cbbaba20deadebb9169c6c2a1ea65d984da05ae /v2/src/lib | |
parent | v2: <link /> to translated version in <head /> (diff) | |
download | euandre.org-4b9cddca7f0f75e321319c79e94b3af3ce37e5ef.tar.gz euandre.org-4b9cddca7f0f75e321319c79e94b3af3ce37e5ef.tar.xz |
v2: <link /> to collection feed inside <head>
Diffstat (limited to '')
-rw-r--r-- | v2/src/lib/base.en.conf | 10 | ||||
-rw-r--r-- | v2/src/lib/base.pt.conf | 10 | ||||
-rw-r--r-- | v2/src/lib/preamble.html | 7 |
3 files changed, 14 insertions, 13 deletions
diff --git a/v2/src/lib/base.en.conf b/v2/src/lib/base.en.conf index 4eff237..ba0200b 100644 --- a/v2/src/lib/base.en.conf +++ b/v2/src/lib/base.en.conf @@ -17,15 +17,15 @@ export homepage_url_absolute="$(absolute "$homepage_url")" export about_url="$(url-for "$lang/$about_url_name")" -export index__title='Blog' +export index_article_title='Blog' -export index_recent__title='Recent articles' +export index_recent_article_title='Recent articles' -export index_category__title='Articles by category' +export index_category_article_title='Articles by category' -export index__url="$(url-for "$lang/$(coll2path "$lang" article)")" +export index_article_url="$(url-for "$lang/$(coll2path "$lang" article)")" -export feed__title="EuAndreh's articles" +export feed_article_title="EuAndreh's articles" export index_pastebin_title='Pastebins' diff --git a/v2/src/lib/base.pt.conf b/v2/src/lib/base.pt.conf index 8c9f7c9..502aa1d 100644 --- a/v2/src/lib/base.pt.conf +++ b/v2/src/lib/base.pt.conf @@ -17,15 +17,15 @@ export homepage_url_absolute="$(absolute "$homepage_url")" export about_url="$(url-for "$lang/$about_url_name")" -export index__title='Blog' +export index_article_title='Blog' -export index_recent__title='Artigos recentes' +export index_recent_article_title='Artigos recentes' -export index_category__title='Artigos por categoria' +export index_category_article_title='Artigos por categoria' -export index__url="$(url-for "$lang/$(coll2path "$lang" article)")" +export index_article_url="$(url-for "$lang/$(coll2path "$lang" article)")" -export feed__title="Artigos do EuAndreh" +export feed_article_title="Artigos do EuAndreh" export index_pastebin_title='Pastebins' diff --git a/v2/src/lib/preamble.html b/v2/src/lib/preamble.html index c1e0592..f08eee8 100644 --- a/v2/src/lib/preamble.html +++ b/v2/src/lib/preamble.html @@ -3,10 +3,11 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="stylesheet" type="text/css" href="$style_url" /> - <link rel="icon" type="image/svg+xml" href="$icon_favicon_url" /> - <link rel="canonical" type="text/html" href="$url_absolute" /> + <link rel="stylesheet" type="text/css" href="$style_url" /> + <link rel="icon" type="image/svg+xml" href="$icon_favicon_url" /> + <link rel="canonical" type="text/html" href="$url_absolute" /> $translations_head_html +$collection_head_html <title>$title_html</title> |