summaryrefslogtreecommitdiff
path: root/blog/src
diff options
context:
space:
mode:
Diffstat (limited to 'blog/src')
-rw-r--r--blog/src/.files17
-rw-r--r--blog/src/a/el_blog_ya_tiene_timestamps.md9
-rw-r--r--blog/src/a/first_blog_post.md9
-rw-r--r--blog/src/a/git_server_with_cgit.md10
-rw-r--r--blog/src/a/linux_video_notes.md8
-rw-r--r--blog/src/a/mail_server_with_postfix.md10
-rw-r--r--blog/src/a/shell_scripting.md10
-rw-r--r--blog/src/a/sql_video_notes.md8
-rw-r--r--blog/src/a/website_with_nginx.md9
-rw-r--r--blog/src/index.md5
-rw-r--r--blog/src/templates/article/footer.html2
-rw-r--r--blog/src/templates/article/header.html1
-rw-r--r--blog/src/templates/articles/footer.html0
-rw-r--r--blog/src/templates/articles/header.html3
-rw-r--r--blog/src/templates/articles/list_entry.html1
-rw-r--r--blog/src/templates/articles/list_footer.html1
-rw-r--r--blog/src/templates/articles/list_header.html2
-rw-r--r--blog/src/templates/articles/list_separator.html1
-rw-r--r--blog/src/templates/common/footer.html (renamed from blog/src/_footer.html)2
-rw-r--r--blog/src/templates/common/header.html (renamed from blog/src/_header.html)4
-rw-r--r--blog/src/templates/tag/footer.html0
-rw-r--r--blog/src/templates/tag/header.html1
-rw-r--r--blog/src/templates/tag/list_entry.html1
-rw-r--r--blog/src/templates/tag/list_footer.html1
-rw-r--r--blog/src/templates/tag/list_header.html1
-rw-r--r--blog/src/templates/tag/list_separator.html1
26 files changed, 92 insertions, 25 deletions
diff --git a/blog/src/.files b/blog/src/.files
index e524da2..b677ff0 100644
--- a/blog/src/.files
+++ b/blog/src/.files
@@ -1,9 +1,8 @@
-1615856381 1616720565 ./index.md
-1616122695 0 ./a/website_with_nginx.md
-1616306327 1616353229 ./a/git_server_with_cgit.md
-1615862784 0 ./a/el_blog_ya_tiene_timestamps.md
-1615701454 0 ./a/shell_scripting.md
-1614695711 0 ./a/sql_video_notes.md
-1614431313 0 ./a/first_blog_post.md
-1615701443 0 ./a/linux_video_notes.md
-1616234086 1616299559 ./a/mail_server_with_postfix.md
+a/website_with_nginx.md 1616122695.085315 1621285471.8891973 english,nginx,tools,tutorial
+a/git_server_with_cgit.md 1616353229.8983006 1621285438.032046 english,git,nginx,tools,tutorial
+a/el_blog_ya_tiene_timestamps.md 1615862784.9032707 1621284818.4731243 short,spanish,tools,update
+a/shell_scripting.md 1615701454.6499224 1621285107.2972999 english,linux,notes,scripting,shell
+a/sql_video_notes.md 1614695711.6048582 1621285193.115201 english,notes,sql
+a/first_blog_post.md 1614431313.2090824 1621284833.6700118 english,short,tools,update
+a/linux_video_notes.md 1615701443.6397786 1621285146.314528 english,linux,notes
+a/mail_server_with_postfix.md 1616299559.6570284 1621285463.4990773 english,mail,server,tools,tutorial
diff --git a/blog/src/a/el_blog_ya_tiene_timestamps.md b/blog/src/a/el_blog_ya_tiene_timestamps.md
index 1405b7a..4fbe9bd 100644
--- a/blog/src/a/el_blog_ya_tiene_timestamps.md
+++ b/blog/src/a/el_blog_ya_tiene_timestamps.md
@@ -1,4 +1,11 @@
-# Así es raza, el blog ya tiene timestamps
+title: Así es raza, el blog ya tiene timestamps
+author: David Luévano
+lang: es
+summary: Actualización en el estado del blog y el sistema usado para crearlo.
+tags: short
+ update
+ tools
+ spanish
Pues eso, esta entrada es sólo para tirar update sobre mi [primer post](https://blog.luevano.xyz/a/first_blog_post.html). 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.
diff --git a/blog/src/a/first_blog_post.md b/blog/src/a/first_blog_post.md
index 2911820..b4851f2 100644
--- a/blog/src/a/first_blog_post.md
+++ b/blog/src/a/first_blog_post.md
@@ -1,4 +1,11 @@
-# This is the first blog post, just for testing purposes
+title: This is the first blog post, just for testing purposes
+author: David Luévano
+lang: en
+summary: Just my first blog post where I state what tools I'm using to build this blog.
+tags: short
+ update
+ tools
+ english
I'm making this post just to figure out how [`ssg5`](https://www.romanzolotarev.com/ssg.html) and [`lowdown`](https://kristaps.bsd.lv/lowdown/) are supposed to work (and eventually also [`rssg`](https://www.romanzolotarev.com/rssg.html)).
diff --git a/blog/src/a/git_server_with_cgit.md b/blog/src/a/git_server_with_cgit.md
index d8a6037..fd74216 100644
--- a/blog/src/a/git_server_with_cgit.md
+++ b/blog/src/a/git_server_with_cgit.md
@@ -1,4 +1,12 @@
-# Create a git server and setup cgit web app (on Nginx)
+title: Create a git server and setup cgit web app (on Nginx)
+author: David Luévano
+lang: en
+summary: How to create a git server using cgit on a server running Nginx. This is a follow up on post about creating a website with Nginx and Certbot.
+tags: git
+ nginx
+ tools
+ tutorial
+ english
My git server is all I need to setup to actually *kill* my other server (I've been moving from servers on these last 2-3 blog entries), that's why I'm already doing this entry. I'm basically following [git's guide on setting up a server](https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server) plus some specific stuff for (btw i use) Arch Linux ([Arch Linux Wiki: Git server](https://wiki.archlinux.org/index.php/Git_server#Web_interfaces) and [Step by step guide on setting up git server in arch linux (pushable)](https://miracoin.wordpress.com/2014/11/25/step-by-step-guide-on-setting-up-git-server-in-arch-linux-pushable/)).
diff --git a/blog/src/a/linux_video_notes.md b/blog/src/a/linux_video_notes.md
index 2c6697a..1093587 100644
--- a/blog/src/a/linux_video_notes.md
+++ b/blog/src/a/linux_video_notes.md
@@ -1,4 +1,10 @@
-# Linux tutorial video notes
+title: Linux tutorial video notes
+author: David Luévano
+lang: en
+summary: Notes of videos about basic Linux terms, usage and commands, as requested by a mentor of mine.
+tags: linux
+ notes
+ english
I was requested to make a summary of a video about basic Linux stuff (like the [SQL tutorial video notes](https://blog.luevano.xyz/a/sql_video_notes)); this time, I did most of the notes depending on the topic since I'm familiar with most of the stuff presented in the video. The video in question is: [The Complete Linux Course: Beginner to Power User!](https://www.youtube.com/watch?v=wBp0Rb-ZJak). Also, some notes were taken from [Arch Linux Wiki](https://wiki.archlinux.org/) since it's got pretty decent documentation, and, of course, general googling.
diff --git a/blog/src/a/mail_server_with_postfix.md b/blog/src/a/mail_server_with_postfix.md
index 11e704a..53294f8 100644
--- a/blog/src/a/mail_server_with_postfix.md
+++ b/blog/src/a/mail_server_with_postfix.md
@@ -1,4 +1,12 @@
-# Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM
+title: Create a mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM
+author: David Luévano
+lang: en
+summary: How to create mail server using Postfix, Dovecot, SpamAssassin and OpenDKIM. This is a follow up on post about creating a website with Nginx and Certbot.
+tags: mail
+ server
+ tools
+ tutorial
+ english
The entry is going to be long because it's a *tedious* process. This is also based on [Luke Smith's script](https://github.com/LukeSmithxyz/emailwiz), but adapted to Arch Linux (his script works on debian-based distributions). This entry is mostly so I can record all the notes required while I'm in the process of installing/configuring the mail server on a new VPS of mine; also I'm going to be writing a script that does everything in one go (for Arch Linux), that will be hosted [here](https://git.luevano.xyz/server_scripts.git).
diff --git a/blog/src/a/shell_scripting.md b/blog/src/a/shell_scripting.md
index b337aac..b2b72a5 100644
--- a/blog/src/a/shell_scripting.md
+++ b/blog/src/a/shell_scripting.md
@@ -1,4 +1,12 @@
-# Shell scripting tutorial video notes
+title: Shell scripting tutorial video notes
+author: David Luévano
+lang: en
+summary: Notes of videos about shell scripting, as requested by a mentor of mine.
+tags: linux
+ shell
+ scripting
+ notes
+ english
Another summary, this time about shell scripting in general. And just like with the [Linux notes](https://blog.luevano.xyz/a/linux_video_notes), I also did most of the notes myself or with resources outside the video. The videos in question are: [The Bad Tutorials (YT): Shell Scripting Tutorials](https://www.youtube.com/playlist?list=PL7B7FA4E693D8E790) and [Automation with SCripting (YT): Complete Shell Scripting Tutorials](https://www.youtube.com/playlist?list=PL2qzCKTbjutJRM7K_hhNyvf8sfGCLklXw). Also, some notes were taken from [tutorialspoint: UNIX / LINUX Tutorial](https://www.tutorialspoint.com/unix/index.htm) and general googling.
diff --git a/blog/src/a/sql_video_notes.md b/blog/src/a/sql_video_notes.md
index 4b37119..14a3fab 100644
--- a/blog/src/a/sql_video_notes.md
+++ b/blog/src/a/sql_video_notes.md
@@ -1,4 +1,10 @@
-# SQL tutorial video notes
+title: SQL tutorial video notes
+author: David Luévano
+lang: en
+summary: Notes of videos about basic SQL syntax and usage, as requested by a mentor of mine.
+tags: sql
+ notes
+ english
I was requested to make summaries of videos about SQL, these are the notes (mostly this is a transcription of what I found useful). The videos in question are: [SQL Tutorial - Full Database Course for Beginners](https://www.youtube.com/watch?v=HXV3zeQKqGY), [MySQL Tutorial for Beginners [Full Course]](https://www.youtube.com/watch?v=7S_tz1z_5bA) and [Advanced SQL course | SQL tutorial advanced](https://www.youtube.com/watch?v=2Fn0WAyZV0E). Also, some notes were taken from [w3schools.com's SQL Tutorial](https://www.w3schools.com/sql/) and [MySQL 8.0 Reference Manual](https://dev.mysql.com/doc/refman/8.0/en/).
diff --git a/blog/src/a/website_with_nginx.md b/blog/src/a/website_with_nginx.md
index 43264de..a4697d4 100644
--- a/blog/src/a/website_with_nginx.md
+++ b/blog/src/a/website_with_nginx.md
@@ -1,4 +1,11 @@
-# Create a website with Nginx and Certbot
+title: Create a website with Nginx and Certbot
+author: David Luévano
+lang: en
+summary: How to create website that runs on Nginx and uses Certbot for SSL certificates. This is a base for future blog posts about similar topics.
+tags: nginx
+ tools
+ tutorial
+ english
These are general notes on how to setup a Nginx web server plus Certbot for SSL certificates, initially learned from [Luke's video](https://www.youtube.com/watch?v=OWAqilIVNgE) and after some use and research I added more stuff to the mix. And, actually at the time of writing this entry, I'm configuring the web server again on a new VPS instance, so this is going to be fresh.
diff --git a/blog/src/index.md b/blog/src/index.md
deleted file mode 100644
index 475d807..0000000
--- a/blog/src/index.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Luévano's Blog
-
-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).
-
-## Articles
diff --git a/blog/src/templates/article/footer.html b/blog/src/templates/article/footer.html
new file mode 100644
index 0000000..8778a5e
--- /dev/null
+++ b/blog/src/templates/article/footer.html
@@ -0,0 +1,2 @@
+<p>By: $$AUTHOR</p>
+<p>Created: $$CTIME, edited: $$MTIME</p>
diff --git a/blog/src/templates/article/header.html b/blog/src/templates/article/header.html
new file mode 100644
index 0000000..cb941df
--- /dev/null
+++ b/blog/src/templates/article/header.html
@@ -0,0 +1 @@
+<h1>$$TITLE</h1>
diff --git a/blog/src/templates/articles/footer.html b/blog/src/templates/articles/footer.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/blog/src/templates/articles/footer.html
diff --git a/blog/src/templates/articles/header.html b/blog/src/templates/articles/header.html
new file mode 100644
index 0000000..a23b877
--- /dev/null
+++ b/blog/src/templates/articles/header.html
@@ -0,0 +1,3 @@
+<h1>Index -- Luévano's Blog</h1>
+
+<p>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).</p>
diff --git a/blog/src/templates/articles/list_entry.html b/blog/src/templates/articles/list_entry.html
new file mode 100644
index 0000000..d6d8e88
--- /dev/null
+++ b/blog/src/templates/articles/list_entry.html
@@ -0,0 +1 @@
+<li>$$DATE - <a href="$$URL">$$TITLE</a></li>
diff --git a/blog/src/templates/articles/list_footer.html b/blog/src/templates/articles/list_footer.html
new file mode 100644
index 0000000..3d3a44c
--- /dev/null
+++ b/blog/src/templates/articles/list_footer.html
@@ -0,0 +1 @@
+</ul>
diff --git a/blog/src/templates/articles/list_header.html b/blog/src/templates/articles/list_header.html
new file mode 100644
index 0000000..7b504ea
--- /dev/null
+++ b/blog/src/templates/articles/list_header.html
@@ -0,0 +1,2 @@
+<h2>Articles</h2>
+<ul>
diff --git a/blog/src/templates/articles/list_separator.html b/blog/src/templates/articles/list_separator.html
new file mode 100644
index 0000000..b27ea84
--- /dev/null
+++ b/blog/src/templates/articles/list_separator.html
@@ -0,0 +1 @@
+<h3>$$SEP</h3>
diff --git a/blog/src/_footer.html b/blog/src/templates/common/footer.html
index 3325f24..1c1344e 100644
--- a/blog/src/_footer.html
+++ b/blog/src/templates/common/footer.html
@@ -16,7 +16,7 @@
<br>
<i class="fas fa-donate" alt="Donate"></i>
- <a href="https://luevano.xyz/donate">Donate</a>
+ <a href="https://luevano.xyz/donate.html">Donate</a>
<a href="https://paypal.me/dlvna"><i class="fab fa-paypal" alt="Paypal"></i></a>
</footer>
</body>
diff --git a/blog/src/_header.html b/blog/src/templates/common/header.html
index e69790e..b7bcf9c 100644
--- a/blog/src/_header.html
+++ b/blog/src/templates/common/header.html
@@ -1,9 +1,9 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="$$LANG">
<head>
<base href="https://static.luevano.xyz/">
<meta charset="utf-8">
- <title>Luévano's Blog</title>
+ <title>$$TITLE -- Luévano's Blog</title>
<link rel="icon" href="fa/svgs/solid/dragon.svg">
<!-- general style -->
diff --git a/blog/src/templates/tag/footer.html b/blog/src/templates/tag/footer.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/blog/src/templates/tag/footer.html
diff --git a/blog/src/templates/tag/header.html b/blog/src/templates/tag/header.html
new file mode 100644
index 0000000..48793fb
--- /dev/null
+++ b/blog/src/templates/tag/header.html
@@ -0,0 +1 @@
+<h1>Posts filtered by: $$NAME</h1>
diff --git a/blog/src/templates/tag/list_entry.html b/blog/src/templates/tag/list_entry.html
new file mode 100644
index 0000000..3a7aaad
--- /dev/null
+++ b/blog/src/templates/tag/list_entry.html
@@ -0,0 +1 @@
+<a href="$$URL">$$NAME</a> \ No newline at end of file
diff --git a/blog/src/templates/tag/list_footer.html b/blog/src/templates/tag/list_footer.html
new file mode 100644
index 0000000..8ce77e5
--- /dev/null
+++ b/blog/src/templates/tag/list_footer.html
@@ -0,0 +1 @@
+</p>
diff --git a/blog/src/templates/tag/list_header.html b/blog/src/templates/tag/list_header.html
new file mode 100644
index 0000000..d12f767
--- /dev/null
+++ b/blog/src/templates/tag/list_header.html
@@ -0,0 +1 @@
+ <p>Tags:
diff --git a/blog/src/templates/tag/list_separator.html b/blog/src/templates/tag/list_separator.html
new file mode 100644
index 0000000..c3a6e48
--- /dev/null
+++ b/blog/src/templates/tag/list_separator.html
@@ -0,0 +1 @@
+, \ No newline at end of file