diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-05 01:21:59 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-05 01:21:59 -0600 |
commit | 0e91926ff40b3df1914375165633bb703c176558 (patch) | |
tree | e324842456b2651f5bf384f9c91222de975c3f03 /blog | |
parent | b171347f739b2ada7960ad50bcba47e898d890d2 (diff) |
simplify templates
Diffstat (limited to 'blog')
26 files changed, 135 insertions, 157 deletions
diff --git a/blog/dst/a/asi_nomas_esta_quedando.html b/blog/dst/a/asi_nomas_esta_quedando.html index ca7c670..e5d5724 100644 --- a/blog/dst/a/asi_nomas_esta_quedando.html +++ b/blog/dst/a/asi_nomas_esta_quedando.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Así nomás está quedando el página -- Luévano's Blog</title> + <title>Así nomás está quedando el página -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -77,12 +77,10 @@ <p>By David Luévano</p> <p>Created: Fri, Jun 04, 2021 @ 08:24 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, - <a href="https://blog.luevano.xyz/tag/@spanish.html">spanish</a>, - <a href="https://blog.luevano.xyz/tag/@update.html">update</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@short.html">short</a>, <a href="https://blog.luevano.xyz/tag/@spanish.html">spanish</a>, <a href="https://blog.luevano.xyz/tag/@update.html">update</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/el_blog_ya_tiene_timestamps.html b/blog/dst/a/el_blog_ya_tiene_timestamps.html index b4d6882..a086f3e 100644 --- a/blog/dst/a/el_blog_ya_tiene_timestamps.html +++ b/blog/dst/a/el_blog_ya_tiene_timestamps.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Así es raza, el blog ya tiene timestamps -- Luévano's Blog</title> + <title>Así es raza, el blog ya tiene timestamps -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -77,13 +77,10 @@ <p>Created: Tue, Mar 16, 2021 @ 02:46 UTC</p> <p>Modified: Mon, May 17, 2021 @ 20:53 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, - <a href="https://blog.luevano.xyz/tag/@spanish.html">spanish</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@update.html">update</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@short.html">short</a>, <a href="https://blog.luevano.xyz/tag/@spanish.html">spanish</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@update.html">update</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/first_blog_post.html b/blog/dst/a/first_blog_post.html index 2e35fc3..6bc7f8c 100644 --- a/blog/dst/a/first_blog_post.html +++ b/blog/dst/a/first_blog_post.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>This is the first blog post, just for testing purposes -- Luévano's Blog</title> + <title>This is the first blog post, just for testing purposes -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -76,13 +76,10 @@ <p>Created: Sat, Feb 27, 2021 @ 13:08 UTC</p> <p>Modified: Mon, May 17, 2021 @ 20:53 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@update.html">update</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@update.html">update</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/git_server_with_cgit.html b/blog/dst/a/git_server_with_cgit.html index 81dde47..0813c84 100644 --- a/blog/dst/a/git_server_with_cgit.html +++ b/blog/dst/a/git_server_with_cgit.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Create a git server and setup cgit web app (on Nginx) -- Luévano's Blog</title> + <title>Create a git server and setup cgit web app (on Nginx) -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -180,13 +180,10 @@ repo.desc=These are my personal dotfiles. <p>Created: Sun, Mar 21, 2021 @ 19:00 UTC</p> <p>Modified: Fri, Jun 04, 2021 @ 07:59 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/linux_video_notes.html b/blog/dst/a/linux_video_notes.html index c95cc00..1e84720 100644 --- a/blog/dst/a/linux_video_notes.html +++ b/blog/dst/a/linux_video_notes.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Linux tutorial video notes -- Luévano's Blog</title> + <title>Linux tutorial video notes -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -149,11 +149,10 @@ <p>Created: Sun, Mar 14, 2021 @ 05:57 UTC</p> <p>Modified: Fri, Jun 04, 2021 @ 07:59 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/mail_server_with_postfix.html b/blog/dst/a/mail_server_with_postfix.html index 190c4a5..972045b 100644 --- a/blog/dst/a/mail_server_with_postfix.html +++ b/blog/dst/a/mail_server_with_postfix.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM -- Luévano's Blog</title> + <title>Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -435,13 +435,10 @@ systemctl enable spamassassin.service <p>Created: Sun, Mar 21, 2021 @ 04:05 UTC</p> <p>Modified: Fri, Jun 04, 2021 @ 07:59 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/new_blogging_system.html b/blog/dst/a/new_blogging_system.html index 5ad639e..8978d26 100644 --- a/blog/dst/a/new_blogging_system.html +++ b/blog/dst/a/new_blogging_system.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>I'm using a new blogging system -- Luévano's Blog</title> + <title>I'm using a new blogging system -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -79,13 +79,10 @@ <p>Created: Fri, May 28, 2021 @ 03:21 UTC</p> <p>Modified: Fri, May 28, 2021 @ 03:42 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@update.html">update</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@update.html">update</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/shell_scripting_video_notes.html b/blog/dst/a/shell_scripting_video_notes.html index d2ac546..49e9c92 100644 --- a/blog/dst/a/shell_scripting_video_notes.html +++ b/blog/dst/a/shell_scripting_video_notes.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Shell scripting tutorial video notes -- Luévano's Blog</title> + <title>Shell scripting tutorial video notes -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -274,11 +274,10 @@ function_name () { <p>Created: Sun, Mar 14, 2021 @ 05:57 UTC</p> <p>Modified: Fri, Jun 04, 2021 @ 08:00 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/sql_video_notes.html b/blog/dst/a/sql_video_notes.html index ae5c5c3..b64f858 100644 --- a/blog/dst/a/sql_video_notes.html +++ b/blog/dst/a/sql_video_notes.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>SQL tutorial video notes -- Luévano's Blog</title> + <title>SQL tutorial video notes -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -209,11 +209,10 @@ <p>Created: Tue, Mar 02, 2021 @ 14:35 UTC</p> <p>Modified: Fri, Jun 04, 2021 @ 08:00 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a> </p> +</div> + </div> </main> diff --git a/blog/dst/a/website_with_nginx.html b/blog/dst/a/website_with_nginx.html index 13d9ec6..c18db5e 100644 --- a/blog/dst/a/website_with_nginx.html +++ b/blog/dst/a/website_with_nginx.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Create a website with Nginx and Certbot -- Luévano's Blog</title> + <title>Create a website with Nginx and Certbot -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -185,13 +185,10 @@ systemctl restart nginx <p>Created: Fri, Mar 19, 2021 @ 02:58 UTC</p> <p>Modified: Fri, Jun 04, 2021 @ 08:00 UTC</p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> - </p> - </div> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p> +</div> + </div> </main> diff --git a/blog/dst/index.html b/blog/dst/index.html index ea7422d..3fd19c3 100644 --- a/blog/dst/index.html +++ b/blog/dst/index.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Index -- Luévano's Blog</title> + <title>Index -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -75,19 +75,12 @@ </p> <div class="article-tags"> - <p>Tags: - <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, - <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a>, - <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, - <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, - <a href="https://blog.luevano.xyz/tag/@spanish.html">spanish</a>, - <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, - <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a>, - <a href="https://blog.luevano.xyz/tag/@update.html">update</a> - </p> - </div> - - <h2>Articles</h2> + <p>Tags: +<a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@notes.html">notes</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@short.html">short</a>, <a href="https://blog.luevano.xyz/tag/@spanish.html">spanish</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a>, <a href="https://blog.luevano.xyz/tag/@update.html">update</a> </p> +</div> + + + <h2>Articles</h2> <ul> <h3>June 2021</h3> <li>Jun 04 - <a href="https://blog.luevano.xyz/a/asi_nomas_esta_quedando.html">Así nomás está quedando el página</a></li> @@ -104,6 +97,8 @@ <h3>February 2021</h3> <li>Feb 27 - <a href="https://blog.luevano.xyz/a/first_blog_post.html">This is the first blog post, just for testing purposes</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/rss.xml b/blog/dst/rss.xml index 42f992a..125e8f7 100644 --- a/blog/dst/rss.xml +++ b/blog/dst/rss.xml @@ -12,8 +12,8 @@ <copyright>Copyright 2021 David Luévano Alvarado</copyright> <managingEditor>david@luevano.xyz (David Luévano Alvarado)</managingEditor> <webMaster>david@luevano.xyz (David Luévano Alvarado)</webMaster> - <pubDate>Sat, 05 Jun 2021 05:50:01 GMT</pubDate> - <lastBuildDate>Sat, 05 Jun 2021 05:50:01 GMT</lastBuildDate> + <pubDate>Sat, 05 Jun 2021 06:57:06 GMT</pubDate> + <lastBuildDate>Sat, 05 Jun 2021 06:57:06 GMT</lastBuildDate> <generator>pyssg v0.5.2</generator> <docs>https://validator.w3.org/feed/docs/rss2.html</docs> <ttl>30</ttl> diff --git a/blog/dst/tag/@english.html b/blog/dst/tag/@english.html index fc7ad61..66ab1fb 100644 --- a/blog/dst/tag/@english.html +++ b/blog/dst/tag/@english.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by english -- Luévano's Blog</title> + <title>Posts filtered by english -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,7 +66,7 @@ <main> <h1>Posts filtered by english</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>May 2021</h3> <li>May 28 - <a href="https://blog.luevano.xyz/a/new_blogging_system.html">I'm using a new blogging system</a></li> @@ -80,6 +80,8 @@ <h3>February 2021</h3> <li>Feb 27 - <a href="https://blog.luevano.xyz/a/first_blog_post.html">This is the first blog post, just for testing purposes</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@notes.html b/blog/dst/tag/@notes.html index dce1b36..2efe2df 100644 --- a/blog/dst/tag/@notes.html +++ b/blog/dst/tag/@notes.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by notes -- Luévano's Blog</title> + <title>Posts filtered by notes -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,13 +66,15 @@ <main> <h1>Posts filtered by notes</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>March 2021</h3> <li>Mar 14 - <a href="https://blog.luevano.xyz/a/shell_scripting_video_notes.html">Shell scripting tutorial video notes</a></li> <li>Mar 14 - <a href="https://blog.luevano.xyz/a/linux_video_notes.html">Linux tutorial video notes</a></li> <li>Mar 02 - <a href="https://blog.luevano.xyz/a/sql_video_notes.html">SQL tutorial video notes</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@server.html b/blog/dst/tag/@server.html index dc4fa23..d0a78fe 100644 --- a/blog/dst/tag/@server.html +++ b/blog/dst/tag/@server.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by server -- Luévano's Blog</title> + <title>Posts filtered by server -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,13 +66,15 @@ <main> <h1>Posts filtered by server</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>March 2021</h3> <li>Mar 21 - <a href="https://blog.luevano.xyz/a/git_server_with_cgit.html">Create a git server and setup cgit web app (on Nginx)</a></li> <li>Mar 21 - <a href="https://blog.luevano.xyz/a/mail_server_with_postfix.html">Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM</a></li> <li>Mar 19 - <a href="https://blog.luevano.xyz/a/website_with_nginx.html">Create a website with Nginx and Certbot</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@short.html b/blog/dst/tag/@short.html index 77239a4..24f2ab5 100644 --- a/blog/dst/tag/@short.html +++ b/blog/dst/tag/@short.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by short -- Luévano's Blog</title> + <title>Posts filtered by short -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,7 +66,7 @@ <main> <h1>Posts filtered by short</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>June 2021</h3> <li>Jun 04 - <a href="https://blog.luevano.xyz/a/asi_nomas_esta_quedando.html">Así nomás está quedando el página</a></li> @@ -77,6 +77,8 @@ <h3>February 2021</h3> <li>Feb 27 - <a href="https://blog.luevano.xyz/a/first_blog_post.html">This is the first blog post, just for testing purposes</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@spanish.html b/blog/dst/tag/@spanish.html index 7903589..89a71cf 100644 --- a/blog/dst/tag/@spanish.html +++ b/blog/dst/tag/@spanish.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by spanish -- Luévano's Blog</title> + <title>Posts filtered by spanish -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,13 +66,15 @@ <main> <h1>Posts filtered by spanish</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>June 2021</h3> <li>Jun 04 - <a href="https://blog.luevano.xyz/a/asi_nomas_esta_quedando.html">Así nomás está quedando el página</a></li> <h3>March 2021</h3> <li>Mar 16 - <a href="https://blog.luevano.xyz/a/el_blog_ya_tiene_timestamps.html">Así es raza, el blog ya tiene timestamps</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@tools.html b/blog/dst/tag/@tools.html index 54b04d6..05d6a09 100644 --- a/blog/dst/tag/@tools.html +++ b/blog/dst/tag/@tools.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by tools -- Luévano's Blog</title> + <title>Posts filtered by tools -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,7 +66,7 @@ <main> <h1>Posts filtered by tools</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>May 2021</h3> <li>May 28 - <a href="https://blog.luevano.xyz/a/new_blogging_system.html">I'm using a new blogging system</a></li> @@ -78,6 +78,8 @@ <h3>February 2021</h3> <li>Feb 27 - <a href="https://blog.luevano.xyz/a/first_blog_post.html">This is the first blog post, just for testing purposes</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@tutorial.html b/blog/dst/tag/@tutorial.html index a7dc63d..4472df0 100644 --- a/blog/dst/tag/@tutorial.html +++ b/blog/dst/tag/@tutorial.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by tutorial -- Luévano's Blog</title> + <title>Posts filtered by tutorial -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,13 +66,15 @@ <main> <h1>Posts filtered by tutorial</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>March 2021</h3> <li>Mar 21 - <a href="https://blog.luevano.xyz/a/git_server_with_cgit.html">Create a git server and setup cgit web app (on Nginx)</a></li> <li>Mar 21 - <a href="https://blog.luevano.xyz/a/mail_server_with_postfix.html">Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM</a></li> <li>Mar 19 - <a href="https://blog.luevano.xyz/a/website_with_nginx.html">Create a website with Nginx and Certbot</a></li> </ul> + + </main> <footer> diff --git a/blog/dst/tag/@update.html b/blog/dst/tag/@update.html index 6fab424..eac2a1c 100644 --- a/blog/dst/tag/@update.html +++ b/blog/dst/tag/@update.html @@ -4,7 +4,7 @@ <base href="https://static.luevano.xyz"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>Posts filtered by update -- Luévano's Blog</title> + <title>Posts filtered by update -- Luévano's Blog</title> <link rel="alternate" type="application/rss+xml" href="https://blog.luevano.xyz/rss.xml" title="Luévano's Blog RSS"> <link rel="icon" href="images/icons/favicon.ico"> @@ -66,7 +66,7 @@ <main> <h1>Posts filtered by update</h1> - <h2>Articles</h2> + <h2>Articles</h2> <ul> <h3>June 2021</h3> <li>Jun 04 - <a href="https://blog.luevano.xyz/a/asi_nomas_esta_quedando.html">Así nomás está quedando el página</a></li> @@ -77,6 +77,8 @@ <h3>February 2021</h3> <li>Feb 27 - <a href="https://blog.luevano.xyz/a/first_blog_post.html">This is the first blog post, just for testing purposes</a></li> </ul> + + </main> <footer> diff --git a/blog/plt/base.html b/blog/plt/base.html index 9919829..3350593 100644 --- a/blog/plt/base.html +++ b/blog/plt/base.html @@ -1,20 +1,10 @@ <!DOCTYPE html> -{%if page is defined%} -<html lang="{{page.lang}}"> -{%else%} -<html lang="en"> -{%endif%} +<html lang="{%block html_lang%}{%endblock html_lang%}"> <head> <base href="{{site_base_static_url}}"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - {%if page is defined%} - <title>{{page.title}} -- {{site_title}}</title> - {%elif tag is defined%} - <title>Posts filtered by {{tag[0]}} -- {{site_title}}</title> - {%else%} - <title>Index -- {{site_title}}</title> - {%endif%} + <title>{%block head_title%}{%endblock head_title%} -- {{site_title}}</title> <link rel="alternate" type="application/rss+xml" href="{{site_base_url}}/rss.xml" title="{{site_title}} RSS"> <link rel="icon" href="images/icons/favicon.ico"> diff --git a/blog/plt/index.html b/blog/plt/index.html index 7efcf20..189c7fe 100644 --- a/blog/plt/index.html +++ b/blog/plt/index.html @@ -1,4 +1,6 @@ {%extends "base.html"%} +{%block html_lang%}en{%endblock html_lang%} +{%block head_title%}Index{%endblock head_title%} {%block content%} <h1>Index -- {{site_title}}</h1> @@ -10,25 +12,10 @@ Get the RSS feed: <a target="_blank" href="{{site_base_url}}/rss.xml">{{site_base_url}}/rss.xml</a> </p> - <div class="article-tags"> - <p>Tags: - {%for t in all_tags%} - <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}} - {%endfor%} - </p> - </div> + {%import "tag_list.html" as tag_list%} + {{tag_list.print(all_tags)}} + + {%import "page_list.html" as page_list%} + {{page_list.print(all_pages)}} - <h2>Articles</h2> - <ul> - {%for p in all_pages%} - {%if loop.previtem%} - {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} - <h3>{{p.cdate_list_sep}}</h3> - {%endif%} - {%else%} - <h3>{{p.cdate_list_sep}}</h3> - {%endif%} - <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> - {%endfor%} - </ul> {%endblock content%} diff --git a/blog/plt/page.html b/blog/plt/page.html index a98338e..6128d3b 100644 --- a/blog/plt/page.html +++ b/blog/plt/page.html @@ -1,4 +1,6 @@ {%extends "base.html"%} +{%block html_lang%}{{page.lang}}{%endblock html_lang%} +{%block head_title%}{{page.title}}{%endblock head_title%} {%block content%} <h1>{{page.title}}</h1> @@ -11,12 +13,7 @@ {%if page.mdate is not none%} <p>Modified: {{page.mdate}}</p> {%endif%} - <div class="article-tags"> - <p>Tags: - {%for t in page.tags%} - <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}} - {%endfor%} - </p> - </div> + {%import "tag_list.html" as tag_list%} + {{tag_list.print(page.tags)}} </div> {%endblock content%} diff --git a/blog/plt/page_list.html b/blog/plt/page_list.html new file mode 100644 index 0000000..16dc4d5 --- /dev/null +++ b/blog/plt/page_list.html @@ -0,0 +1,15 @@ +{%macro print(pages)%} + <h2>Articles</h2> + <ul> + {%for p in pages%} + {%if loop.previtem%} + {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + {%else%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> + {%endfor%} + </ul> +{%endmacro%} diff --git a/blog/plt/tag.html b/blog/plt/tag.html index 50b221f..2203f33 100644 --- a/blog/plt/tag.html +++ b/blog/plt/tag.html @@ -1,18 +1,10 @@ {%extends "base.html"%} +{%block html_lang%}en{%endblock html_lang%} +{%block head_title%}Posts filtered by {{tag[0]}}{%endblock head_title%} {%block content%} <h1>Posts filtered by {{tag[0]}}</h1> - <h2>Articles</h2> - <ul> - {%for p in tag_pages%} - {%if loop.previtem%} - {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} - <h3>{{p.cdate_list_sep}}</h3> - {%endif%} - {%else%} - <h3>{{p.cdate_list_sep}}</h3> - {%endif%} - <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> - {%endfor%} - </ul> + {%import "page_list.html" as page_list%} + {{page_list.print(tag_pages)}} + {%endblock content%} diff --git a/blog/plt/tag_list.html b/blog/plt/tag_list.html new file mode 100644 index 0000000..2dfb70c --- /dev/null +++ b/blog/plt/tag_list.html @@ -0,0 +1,9 @@ +{%macro print(tags)%} +<div class="article-tags"> + <p>Tags: + {%for t in tags-%} + <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}} + {%-endfor%} + </p> +</div> +{%endmacro%} |