From d01bcc92f5a32fefadf28fa26cf12ece731fe374 Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado
Date: Thu, 27 May 2021 21:51:53 -0600
Subject: reflect new article arrangement
---
blog/dst/a/el_blog_ya_tiene_timestamps.html | 14 +++-
blog/dst/a/first_blog_post.html | 14 +++-
blog/dst/a/git_server_with_cgit.html | 14 +++-
blog/dst/a/linux_video_notes.html | 14 +++-
blog/dst/a/mail_server_with_postfix.html | 14 +++-
blog/dst/a/new_blogging_system.html | 106 ++++++++++++++++++++++++++++
blog/dst/a/shell_scripting.html | 14 +++-
blog/dst/a/sql_video_notes.html | 14 +++-
blog/dst/a/website_with_nginx.html | 14 +++-
blog/dst/index.html | 4 ++
blog/dst/rss.xml | 23 +++++-
blog/dst/sitemap.xml | 36 ++++++----
blog/dst/tag/@english.html | 2 +
blog/dst/tag/@short.html | 2 +
blog/dst/tag/@tools.html | 2 +
blog/dst/tag/@update.html | 2 +
blog/src/.files | 1 +
blog/src/a/new_blogging_system.md | 1 -
blog/src/templates/article/footer.html | 8 ++-
blog/src/templates/tag/list_footer.html | 1 +
blog/src/templates/tag/list_header.html | 1 +
21 files changed, 257 insertions(+), 44 deletions(-)
create mode 100644 blog/dst/a/new_blogging_system.html
(limited to 'blog')
diff --git a/blog/dst/a/el_blog_ya_tiene_timestamps.html b/blog/dst/a/el_blog_ya_tiene_timestamps.html
index e27e355..497e7b0 100644
--- a/blog/dst/a/el_blog_ya_tiene_timestamps.html
+++ b/blog/dst/a/el_blog_ya_tiene_timestamps.html
@@ -67,10 +67,18 @@
Pues eso, esta entrada es sólo para tirar update sobre mi primer post . Ya modifiqué el ssg
lo suficiente como para que maneje los timestamps , y ya estoy más familiarizado con este script entonces ya lo podré extender más, pero por ahora las entradas ya tienen su fecha de creación (y modificación en dado caso) al final y en el índice ya están organizados por fecha, que por ahora está algo simple pero está sencillo de extender.
Ya lo único que queda es cambiar un poco el formato del blog (y de la página en general), porque en un momento de desesperación puse todo el texto en justificado y pues no se ve chido siempre, entonces queda corregir eso. Y aunque me tomó más tiempo del que quisiera, así nomás quedó, diría un cierto personaje.
El ssg
modificado está en mis dotfiles (o directamente aquí ).
-Por último, también quité las extensiones .html
de las URLs, porque se veía bien pitero, pero igual los links con .html
al final redirigen a su link sin .html
, así que no hay rollo alguno.
Tags:
-short , spanish , tools , update
+Por último, también quité las extensiones .html
de las URLs, porque se veía bien pitero, pero igual los links con .html
al final redirigen a su link sin .html
, así que no hay rollo alguno.
+
+
By: David Luévano
-
Created: Tue, Mar 16, 2021 @ 02:46 UTC, edited: Mon, May 17, 2021 @ 20:53 UTC
+
Created: Tue, Mar 16, 2021 @ 02:46 UTC
+
Edited: Mon, May 17, 2021 @ 20:53 UTC
+
+
+
diff --git a/blog/dst/a/first_blog_post.html b/blog/dst/a/first_blog_post.html
index 63bb681..b02dec0 100644
--- a/blog/dst/a/first_blog_post.html
+++ b/blog/dst/a/first_blog_post.html
@@ -66,10 +66,18 @@
This is the first blog post, just for testing purposes
I’m making this post just to figure out how ssg5
and lowdown
are supposed to work (and eventually also rssg
).
At the moment, I’m not satisfied because there’s no automatic date insertion into the 1) html file, 2) the blog post itself and 3) the listing system in the blog homepage (and there’s also the problem with the ordering of the entries…). And all of this just because I didn’t want to use Luke’s solution (don’t really like that much how he handles the scripts… but they just work ).
-Hopefully, for tomorrow all of this will be sorted out and I’ll have a working blog system.
Tags:
-english , short , tools , update
+Hopefully, for tomorrow all of this will be sorted out and I’ll have a working blog system.
+
+
By: David Luévano
-
Created: Sat, Feb 27, 2021 @ 13:08 UTC, edited: Mon, May 17, 2021 @ 20:53 UTC
+
Created: Sat, Feb 27, 2021 @ 13:08 UTC
+
Edited: Mon, May 17, 2021 @ 20:53 UTC
+
+
+
diff --git a/blog/dst/a/git_server_with_cgit.html b/blog/dst/a/git_server_with_cgit.html
index 01a3820..e808be2 100644
--- a/blog/dst/a/git_server_with_cgit.html
+++ b/blog/dst/a/git_server_with_cgit.html
@@ -170,10 +170,18 @@ repo.desc=These are my personal dotfiles.
...
Otherwise you could let cgit
to automatically detect your repositories (you have to be careful if you want to keep “private” repos) using the option scan-path
and setup .git/description
for each repository. I will add more to my actual configuration, but for now it is useful as it is. For more, you can check cgitrc(5) .
-Finally, if you want further support for highlighting, other compressed snapshots or support for markdown, checkout the optional dependencies for cgit
and also the Arch Wiki goes in detail on how to setup highlighting with two different packages.
Tags:
-english , git , nginx , tools , tutorial
+Finally, if you want further support for highlighting, other compressed snapshots or support for markdown, checkout the optional dependencies for cgit
and also the Arch Wiki goes in detail on how to setup highlighting with two different packages.
+
+
By: David Luévano
-
Created: Sun, Mar 21, 2021 @ 19:00 UTC, edited: Mon, May 17, 2021 @ 21:03 UTC
+
Created: Sun, Mar 21, 2021 @ 19:00 UTC
+
Edited: Mon, May 17, 2021 @ 21:03 UTC
+
+
+
diff --git a/blog/dst/a/linux_video_notes.html b/blog/dst/a/linux_video_notes.html
index b9ef8f3..4b87b08 100644
--- a/blog/dst/a/linux_video_notes.html
+++ b/blog/dst/a/linux_video_notes.html
@@ -139,10 +139,18 @@
netstat
: “network statistics” general statistics about network devices usage, display connections to the machine and more.
traceroute
: shows the route that the packets go through (how the packets jump from one server to another one) when trying to access an IP (or, for example, a website).
nmap
: “network mapper” explore network available hosts, opened ports, reverse DNS names, can guess the operating system of the device, it’s type, MAC address and more.
- Tags:
-english , linux , notes
+
+
+
By: David Luévano
-
Created: Sun, Mar 14, 2021 @ 05:57 UTC, edited: Mon, May 17, 2021 @ 20:59 UTC
+
Created: Sun, Mar 14, 2021 @ 05:57 UTC
+
Edited: Mon, May 17, 2021 @ 20:59 UTC
+
+
+
diff --git a/blog/dst/a/mail_server_with_postfix.html b/blog/dst/a/mail_server_with_postfix.html
index b5083ea..f6477ac 100644
--- a/blog/dst/a/mail_server_with_postfix.html
+++ b/blog/dst/a/mail_server_with_postfix.html
@@ -425,10 +425,18 @@ systemctl enable spamassassin.service
All that’s left to do is test your mail server for spoofing, and to see if everything is setup correctly. Go to DKIM Test and follow the instructions (basically click next, and send an email with whatever content to the email that they provide). After you send the email, you should see something like:
(Yes, I blurred a lot in the picture just to be sure, either way what’s important is the list on the bottom part of the image)
-Finally, that’s actually it for this entry, if you have any problem whatsoever you have my info down below.
Tags:
-english , mail , server , tools , tutorial
+Finally, that’s actually it for this entry, if you have any problem whatsoever you have my info down below.
+
+
By: David Luévano
-
Created: Sun, Mar 21, 2021 @ 04:05 UTC, edited: Mon, May 17, 2021 @ 21:04 UTC
+
Created: Sun, Mar 21, 2021 @ 04:05 UTC
+
Edited: Mon, May 17, 2021 @ 21:04 UTC
+
+
+
diff --git a/blog/dst/a/new_blogging_system.html b/blog/dst/a/new_blogging_system.html
new file mode 100644
index 0000000..a5d9a2a
--- /dev/null
+++ b/blog/dst/a/new_blogging_system.html
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+ I'm using a new blogging system -- Luévano's Blog
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+I'm using a new blogging system
+So, I was tired of working with ssg
(and then sbg
which was a modified version of ssg
that I “wrote”), for one general reason: not being able to extend it as I would like; and not just dumb little stuff, I wanted to be able to have more control, to add tags (which another tool that I found does: blogit
), and even more in a future.
+The solution? Write a new program “from scratch” in pYtHoN . Yes it is bloated, yes it is in its early stages, but it works just as I want it to work, and I’m pretty happy so far with the results and have with even more ideas in mind to “optimize” and generally clean my wOrKfLoW to post new blog entries. I even thought of using it for posting into a “feed” like gallery for drawings or pictures in general.
+I called it pyssg
, because it sounds nice and it wasn’t taken in the PyPi. It is just a terminal program that reads either a configuration file or the options passed as flags when calling the program.
+It still uses Markdown files because I find them very easy to work with. And instead of just having a “header” and a “footer” applied to each parsed entry, you will have templates (generated with the program) for each piece that I thought made sense (idea taken from blogit
): the common header and footer, the common header and footer for each entry and, header, footer and list elements for articles and tags. When parsing the Markdown file these templates are applied and stitched together to make a single HTML file. Also generates an RSS feed and the sitemap.xml
file, which is nice.
+It might sound convoluted, but it works pretty well, with of course room to improve; I’m open to suggestions, issue reporting or direct contributions here . BTW, it only works on Linux for now (and don’t think on making it work on windows, but feel free to do PR for the compatibility).
+That’s it for now, the new RSS feed is available here: https://blog.luevano.xyz/rss.xml .
+
+
+
By: David Luévano
+
Created: Fri, May 28, 2021 @ 03:21 UTC
+
Edited: Fri, May 28, 2021 @ 03:42 UTC
+
+
+
+
+
+
+
+
diff --git a/blog/dst/a/shell_scripting.html b/blog/dst/a/shell_scripting.html
index b7eb3c8..e1d04c9 100644
--- a/blog/dst/a/shell_scripting.html
+++ b/blog/dst/a/shell_scripting.html
@@ -264,10 +264,18 @@ function_name () {
do_something
}
-Functions can also take arguments and can access their individual arguments (each function will have a different “storage” for their arguments). Functions can also be nested. Here exit
will not only will finish the function code, but also the shell script that called it, instead use return
plus an exit code to just exit the function.
Tags:
-english , linux , notes , scripting , shell
+Functions can also take arguments and can access their individual arguments (each function will have a different “storage” for their arguments). Functions can also be nested. Here exit
will not only will finish the function code, but also the shell script that called it, instead use return
plus an exit code to just exit the function.
+
+
By: David Luévano
-
Created: Sun, Mar 14, 2021 @ 05:57 UTC, edited: Mon, May 17, 2021 @ 20:58 UTC
+
Created: Sun, Mar 14, 2021 @ 05:57 UTC
+
Edited: Mon, May 17, 2021 @ 20:58 UTC
+
+
+
diff --git a/blog/dst/a/sql_video_notes.html b/blog/dst/a/sql_video_notes.html
index b47a9e0..5773379 100644
--- a/blog/dst/a/sql_video_notes.html
+++ b/blog/dst/a/sql_video_notes.html
@@ -199,10 +199,18 @@
Weak entity’s primary key : oval with its text underlined, but the line is dotted.
Identifying relationship : a diamond inside a diamond with its name inside; a relationship that serves to uniquely identify the weak entity.
-
Tags:
-english , notes , sql
+
+
+
By: David Luévano
-
Created: Tue, Mar 02, 2021 @ 14:35 UTC, edited: Mon, May 17, 2021 @ 20:59 UTC
+
Created: Tue, Mar 02, 2021 @ 14:35 UTC
+
Edited: Mon, May 17, 2021 @ 20:59 UTC
+
+
+
diff --git a/blog/dst/a/website_with_nginx.html b/blog/dst/a/website_with_nginx.html
index a36ab54..e7481c9 100644
--- a/blog/dst/a/website_with_nginx.html
+++ b/blog/dst/a/website_with_nginx.html
@@ -175,10 +175,18 @@ systemctl restart nginx
And a file will be opened where you need to add a new rule for certbot, just append the line: 1 1 1 * * certbot renew
(renew on the first day of every month) and you’re good. Alternatively use systemd
timers as stated in the Arch Linux Wiki .
For more: Arch Linux Wiki: Certbot .
-That’s it, you now have a website with SSL certificate.
Tags:
-english , nginx , tools , tutorial
+That’s it, you now have a website with SSL certificate.
+
+
By: David Luévano
-
Created: Fri, Mar 19, 2021 @ 02:58 UTC, edited: Mon, May 17, 2021 @ 21:04 UTC
+
Created: Fri, Mar 19, 2021 @ 02:58 UTC
+
Edited: Mon, May 17, 2021 @ 21:04 UTC
+
+
+
diff --git a/blog/dst/index.html b/blog/dst/index.html
index f947bca..ec50cc0 100644
--- a/blog/dst/index.html
+++ b/blog/dst/index.html
@@ -72,10 +72,14 @@ Welcome to my blog where I'll post whatever I please, ranging from rants to how-
Get the RSS feed: https://blog.luevano.xyz/rss.xml
+
Tags:
english , git , linux , mail , nginx , notes , scripting , server , shell , short , spanish , sql , tools , tutorial , update
+
Articles
+May 2021
+May 28 - I'm using a new blogging system
March 2021
Mar 21 - Create a git server and setup cgit web app (on Nginx)
Mar 21 - Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM
diff --git a/blog/dst/rss.xml b/blog/dst/rss.xml
index 875812e..01561d8 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)
- Wed, 26 May 2021 03:28:01 GMT
- Wed, 26 May 2021 03:28:01 GMT
- pyssg v0.3.2.dev4
+ Fri, 28 May 2021 03:47:01 GMT
+ Fri, 28 May 2021 03:47:01 GMT
+ pyssg v0.4.1.dev2
https://validator.w3.org/feed/docs/rss2.html
30
@@ -22,6 +22,23 @@
Luévano's Blog
https://blog.luevano.xyz
+ -
+
I'm using a new blogging system
+ https://blog.luevano.xyz/a/new_blogging_system.html
+ https://blog.luevano.xyz/a/new_blogging_system.html
+ Fri, 28 May 2021 03:21:39 GMT
+ English
+ Short
+ Tools
+ Update
+ I created a new blogging system called pyssg, which is based on what I was using but, to be honest, better.
+ So, I was tired of working with ssg
(and then sbg
which was a modified version of ssg
that I “wrote”), for one general reason: not being able to extend it as I would like; and not just dumb little stuff, I wanted to be able to have more control, to add tags (which another tool that I found does: blogit
), and even more in a future.
+The solution? Write a new program “from scratch” in pYtHoN . Yes it is bloated, yes it is in its early stages, but it works just as I want it to work, and I’m pretty happy so far with the results and have with even more ideas in mind to “optimize” and generally clean my wOrKfLoW to post new blog entries. I even thought of using it for posting into a “feed” like gallery for drawings or pictures in general.
+I called it pyssg
, because it sounds nice and it wasn’t taken in the PyPi. It is just a terminal program that reads either a configuration file or the options passed as flags when calling the program.
+It still uses Markdown files because I find them very easy to work with. And instead of just having a “header” and a “footer” applied to each parsed entry, you will have templates (generated with the program) for each piece that I thought made sense (idea taken from blogit
): the common header and footer, the common header and footer for each entry and, header, footer and list elements for articles and tags. When parsing the Markdown file these templates are applied and stitched together to make a single HTML file. Also generates an RSS feed and the sitemap.xml
file, which is nice.
+It might sound convoluted, but it works pretty well, with of course room to improve; I’m open to suggestions, issue reporting or direct contributions here . BTW, it only works on Linux for now (and don’t think on making it work on windows, but feel free to do PR for the compatibility).
+That’s it for now, the new RSS feed is available here: https://blog.luevano.xyz/rss.xml .
]]>
+
-
Create a git server and setup cgit web app (on Nginx)
https://blog.luevano.xyz/a/git_server_with_cgit.html
diff --git a/blog/dst/sitemap.xml b/blog/dst/sitemap.xml
index 6aa55a1..15e0fe6 100644
--- a/blog/dst/sitemap.xml
+++ b/blog/dst/sitemap.xml
@@ -2,6 +2,12 @@
+
+ https://blog.luevano.xyz/a/new_blogging_system.html
+ 2021-05-28
+ weekly
+ 1.0
+
https://blog.luevano.xyz/a/git_server_with_cgit.html
2021-05-17
@@ -52,91 +58,91 @@
https://blog.luevano.xyz/tag/@english.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@git.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@linux.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@mail.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@nginx.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@notes.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@scripting.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@server.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@shell.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@short.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@spanish.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@sql.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@tools.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@tutorial.html
- 2021-05-26
+ 2021-05-28
daily
0.5
https://blog.luevano.xyz/tag/@update.html
- 2021-05-26
+ 2021-05-28
daily
0.5
diff --git a/blog/dst/tag/@english.html b/blog/dst/tag/@english.html
index 236462e..208d69a 100644
--- a/blog/dst/tag/@english.html
+++ b/blog/dst/tag/@english.html
@@ -66,6 +66,8 @@
Posts filtered by: english
Articles