From 8aed7291d95070d8dbb8ce322de4108918c0f8f1 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 5 Jun 2021 03:56:24 -0600 Subject: add og support --- blog/dst/a/asi_nomas_esta_quedando.html | 13 ++++++++++++- blog/dst/a/el_blog_ya_tiene_timestamps.html | 13 ++++++++++++- blog/dst/a/first_blog_post.html | 13 ++++++++++++- blog/dst/a/git_server_with_cgit.html | 13 ++++++++++++- blog/dst/a/linux_video_notes.html | 13 ++++++++++++- blog/dst/a/mail_server_with_postfix.html | 13 ++++++++++++- blog/dst/a/new_blogging_system.html | 13 ++++++++++++- blog/dst/a/shell_scripting_video_notes.html | 13 ++++++++++++- blog/dst/a/sql_video_notes.html | 13 ++++++++++++- blog/dst/a/website_with_nginx.html | 13 ++++++++++++- blog/dst/index.html | 13 ++++++++++++- blog/dst/rss.xml | 6 +++--- blog/dst/tag/@english.html | 13 ++++++++++++- blog/dst/tag/@notes.html | 13 ++++++++++++- blog/dst/tag/@server.html | 13 ++++++++++++- blog/dst/tag/@short.html | 13 ++++++++++++- blog/dst/tag/@spanish.html | 13 ++++++++++++- blog/dst/tag/@tools.html | 13 ++++++++++++- blog/dst/tag/@tutorial.html | 13 ++++++++++++- blog/dst/tag/@update.html | 13 ++++++++++++- blog/plt/base.html | 13 +++++++++---- blog/plt/index.html | 14 ++++++++++++-- blog/plt/page.html | 10 ++++++++++ blog/plt/rss.xml | 18 +++++++++--------- blog/plt/sitemap.xml | 2 +- blog/plt/tag.html | 10 ++++++++++ 26 files changed, 282 insertions(+), 38 deletions(-) (limited to 'blog') diff --git a/blog/dst/a/asi_nomas_esta_quedando.html b/blog/dst/a/asi_nomas_esta_quedando.html index e5d5724..c966291 100644 --- a/blog/dst/a/asi_nomas_esta_quedando.html +++ b/blog/dst/a/asi_nomas_esta_quedando.html @@ -1,10 +1,12 @@ - + Así nomás está quedando el página -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/el_blog_ya_tiene_timestamps.html b/blog/dst/a/el_blog_ya_tiene_timestamps.html index a086f3e..409b29f 100644 --- a/blog/dst/a/el_blog_ya_tiene_timestamps.html +++ b/blog/dst/a/el_blog_ya_tiene_timestamps.html @@ -1,10 +1,12 @@ - + Así es raza, el blog ya tiene timestamps -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/first_blog_post.html b/blog/dst/a/first_blog_post.html index 6bc7f8c..6610b25 100644 --- a/blog/dst/a/first_blog_post.html +++ b/blog/dst/a/first_blog_post.html @@ -1,10 +1,12 @@ - + This is the first blog post, just for testing purposes -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/git_server_with_cgit.html b/blog/dst/a/git_server_with_cgit.html index 0813c84..43584fa 100644 --- a/blog/dst/a/git_server_with_cgit.html +++ b/blog/dst/a/git_server_with_cgit.html @@ -1,10 +1,12 @@ - + Create a git server and setup cgit web app (on Nginx) -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/linux_video_notes.html b/blog/dst/a/linux_video_notes.html index 1e84720..22e9040 100644 --- a/blog/dst/a/linux_video_notes.html +++ b/blog/dst/a/linux_video_notes.html @@ -1,10 +1,12 @@ - + Linux tutorial video notes -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/mail_server_with_postfix.html b/blog/dst/a/mail_server_with_postfix.html index 972045b..a3ab2c5 100644 --- a/blog/dst/a/mail_server_with_postfix.html +++ b/blog/dst/a/mail_server_with_postfix.html @@ -1,10 +1,12 @@ - + Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/new_blogging_system.html b/blog/dst/a/new_blogging_system.html index 8978d26..2d79ba4 100644 --- a/blog/dst/a/new_blogging_system.html +++ b/blog/dst/a/new_blogging_system.html @@ -1,10 +1,12 @@ - + I'm using a new blogging system -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/shell_scripting_video_notes.html b/blog/dst/a/shell_scripting_video_notes.html index 49e9c92..097a1c3 100644 --- a/blog/dst/a/shell_scripting_video_notes.html +++ b/blog/dst/a/shell_scripting_video_notes.html @@ -1,10 +1,12 @@ - + Shell scripting tutorial video notes -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/sql_video_notes.html b/blog/dst/a/sql_video_notes.html index b64f858..14a0e56 100644 --- a/blog/dst/a/sql_video_notes.html +++ b/blog/dst/a/sql_video_notes.html @@ -1,10 +1,12 @@ - + SQL tutorial video notes -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/a/website_with_nginx.html b/blog/dst/a/website_with_nginx.html index c18db5e..9b773de 100644 --- a/blog/dst/a/website_with_nginx.html +++ b/blog/dst/a/website_with_nginx.html @@ -1,10 +1,12 @@ - + Create a website with Nginx and Certbot -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/index.html b/blog/dst/index.html index 3fd19c3..713216b 100644 --- a/blog/dst/index.html +++ b/blog/dst/index.html @@ -1,10 +1,12 @@ - + Index -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/rss.xml b/blog/dst/rss.xml index 125e8f7..cacc374 100644 --- a/blog/dst/rss.xml +++ b/blog/dst/rss.xml @@ -12,9 +12,9 @@ Copyright 2021 David Luévano Alvarado david@luevano.xyz (David Luévano Alvarado) david@luevano.xyz (David Luévano Alvarado) - Sat, 05 Jun 2021 06:57:06 GMT - Sat, 05 Jun 2021 06:57:06 GMT - pyssg v0.5.2 + Sat, 05 Jun 2021 09:41:27 GMT + Sat, 05 Jun 2021 09:41:27 GMT + pyssg v0.5.5 https://validator.w3.org/feed/docs/rss2.html 30 diff --git a/blog/dst/tag/@english.html b/blog/dst/tag/@english.html index 66ab1fb..af5136a 100644 --- a/blog/dst/tag/@english.html +++ b/blog/dst/tag/@english.html @@ -1,10 +1,12 @@ - + Posts filtered by english -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@notes.html b/blog/dst/tag/@notes.html index 2efe2df..d0818e4 100644 --- a/blog/dst/tag/@notes.html +++ b/blog/dst/tag/@notes.html @@ -1,10 +1,12 @@ - + Posts filtered by notes -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@server.html b/blog/dst/tag/@server.html index d0a78fe..222bab6 100644 --- a/blog/dst/tag/@server.html +++ b/blog/dst/tag/@server.html @@ -1,10 +1,12 @@ - + Posts filtered by server -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@short.html b/blog/dst/tag/@short.html index 24f2ab5..bae4a32 100644 --- a/blog/dst/tag/@short.html +++ b/blog/dst/tag/@short.html @@ -1,10 +1,12 @@ - + Posts filtered by short -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@spanish.html b/blog/dst/tag/@spanish.html index 89a71cf..9e297d4 100644 --- a/blog/dst/tag/@spanish.html +++ b/blog/dst/tag/@spanish.html @@ -1,10 +1,12 @@ - + Posts filtered by spanish -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@tools.html b/blog/dst/tag/@tools.html index 05d6a09..01556dc 100644 --- a/blog/dst/tag/@tools.html +++ b/blog/dst/tag/@tools.html @@ -1,10 +1,12 @@ - + Posts filtered by tools -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@tutorial.html b/blog/dst/tag/@tutorial.html index 4472df0..00d3590 100644 --- a/blog/dst/tag/@tutorial.html +++ b/blog/dst/tag/@tutorial.html @@ -1,10 +1,12 @@ - + Posts filtered by tutorial -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/dst/tag/@update.html b/blog/dst/tag/@update.html index eac2a1c..372efa8 100644 --- a/blog/dst/tag/@update.html +++ b/blog/dst/tag/@update.html @@ -1,10 +1,12 @@ - + Posts filtered by update -- Luévano's Blog + @@ -21,6 +23,15 @@ + + + + + + + + + diff --git a/blog/plt/base.html b/blog/plt/base.html index 3350593..6c56ac4 100644 --- a/blog/plt/base.html +++ b/blog/plt/base.html @@ -1,11 +1,13 @@ - + - + - {%block head_title%}{%endblock head_title%} -- {{site_title}} - + {%block head_title%}{%endblock head_title%} -- {{config.title}} + + @@ -21,6 +23,9 @@ + + + {%block head_og%}{%endblock head_og%} diff --git a/blog/plt/index.html b/blog/plt/index.html index 189c7fe..5b1c9e1 100644 --- a/blog/plt/index.html +++ b/blog/plt/index.html @@ -1,15 +1,25 @@ {%extends "base.html"%} {%block html_lang%}en{%endblock html_lang%} {%block head_title%}Index{%endblock head_title%} +{%block head_description%}My personal blog where I post about my thoughts, some how-to's, or general ranting.{%endblock head_description%} +{%block head_og%} + + + + + + + +{%endblock head_og%} {%block content%} -

Index -- {{site_title}}

+

Index -- {{config.title}}

Welcome to my blog where I'll post whatever I please, ranging from rants to how-to's. Además, este pex va a estar en español e inglés porque quiero (no una mezcla en cada entrada, pero sí entradas completas en diferentes lenguajes).

- Get the RSS feed: {{site_base_url}}/rss.xml + Get the RSS feed: {{config.url}}/rss.xml

{%import "tag_list.html" as tag_list%} diff --git a/blog/plt/page.html b/blog/plt/page.html index 6128d3b..dbb2734 100644 --- a/blog/plt/page.html +++ b/blog/plt/page.html @@ -1,6 +1,16 @@ {%extends "base.html"%} {%block html_lang%}{{page.lang}}{%endblock html_lang%} {%block head_title%}{{page.title}}{%endblock head_title%} +{%block head_description%}{{page.summary}}{%endblock head_description%} +{%block head_og%} + + + + + + + +{%endblock head_og%} {%block content%}

{{page.title}}

diff --git a/blog/plt/rss.xml b/blog/plt/rss.xml index 5e06c36..5be7c37 100644 --- a/blog/plt/rss.xml +++ b/blog/plt/rss.xml @@ -3,24 +3,24 @@ xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"> - {{site_title}} - {{site_base_url}} - + {{config.title}} + {{config.url}} + A personal weblog ranging from rants to how to's and other thoughts. en-us Blog Copyright 2021 David Luévano Alvarado david@luevano.xyz (David Luévano Alvarado) david@luevano.xyz (David Luévano Alvarado) - {{run_date}} - {{run_date}} - pyssg v{{pyssg_version}} + {{config.run_date_rss}} + {{config.run_date_rss}} + pyssg v{{config.version}} https://validator.w3.org/feed/docs/rss2.html 30 - {{site_base_static_url}}/images/blog.png - {{site_title}} - {{site_base_url}} + {{config.static_url}}/images/blog.png + {{config.title}} + {{config.url}} {%for p in all_pages%} diff --git a/blog/plt/sitemap.xml b/blog/plt/sitemap.xml index a5b5404..26ee5c1 100644 --- a/blog/plt/sitemap.xml +++ b/blog/plt/sitemap.xml @@ -14,7 +14,7 @@ {%for t in all_tags%} {{t[1]}} - {{run_date}} + {{config.run_date_sitemap}} daily 0.5 diff --git a/blog/plt/tag.html b/blog/plt/tag.html index 2203f33..d379590 100644 --- a/blog/plt/tag.html +++ b/blog/plt/tag.html @@ -1,6 +1,16 @@ {%extends "base.html"%} {%block html_lang%}en{%endblock html_lang%} {%block head_title%}Posts filtered by {{tag[0]}}{%endblock head_title%} +{%block head_description%}Posts filtered by {{tag[0]}}{%endblock head_description%} +{%block head_og%} + + + + + + + +{%endblock head_og%} {%block content%}

Posts filtered by {{tag[0]}}

-- cgit v1.2.3-70-g09d2