Commit Graph

83 Commits

Author SHA1 Message Date
ekzyis 21fe5c6688 Use syntaxhighlighting package
i can now use ```sql or ```python and it will automatically have syntax highlighting
2023-11-14 04:16:52 +01:00
ekzyis a2a70de10e Fix blog index not rebuilt on new blog post 2023-11-04 15:59:15 +01:00
ekzyis c51fe5c58a Support titles which include : 2023-10-08 23:17:19 +02:00
ekzyis 02345bcc50 Show rsync progress using -P 2023-10-08 21:08:34 +02:00
ekzyis 5567792d9b Fix error if directories don't exist yet
If you clone the repository and run `make`, you get this error:

  $ make
  ./renderer -src blog/index.html > html/pages/blog/index.html
  /bin/sh: line 1: html/pages/blog/index.html: No such file or directory
  make: *** [Makefile:19: public/blog/index.html] Error 1

This commit makes sure the directories exist before running `renderer`.
2023-10-08 20:52:56 +02:00
ekzyis 0a2ed86044 Update sats 2023-09-25 12:23:00 +02:00
ekzyis d9de44ce2f Add RSS item 2023-09-25 02:47:37 +02:00
ekzyis 45eb10fdd6 Add link to comments 2023-09-25 02:41:44 +02:00
ekzyis d919f1436e Update README.md 2023-09-25 02:38:00 +02:00
ekzyis e6bbde2c90 WireGuard Port Forwarding 2023-09-25 02:38:00 +02:00
ekzyis a055a7a87c Fix sysctl IP forward error 2023-09-18 01:19:02 +02:00
ekzyis 34ead66e61 Fix sync-dev script 2023-09-12 09:40:35 +02:00
ekzyis 50f2f6ce13 Mention how to create new blog post in README 2023-09-12 09:09:39 +02:00
ekzyis 979caf8617 Fix colon required in comments value 2023-09-12 09:07:45 +02:00
ekzyis 604d5b4889 Update README.md 2023-09-12 09:07:45 +02:00
ekzyis 9e112a4627 Put hot reload code into file 2023-08-25 05:15:27 +02:00
ekzyis 754ec2988b Update sats 2023-08-23 05:17:10 +02:00
ekzyis 3054eb7034 Add RSS item 2023-08-21 04:45:19 +02:00
ekzyis 42f8446970 Add link to comments 2023-08-21 04:43:43 +02:00
ekzyis 9449cf741f Fix HTML 2023-08-21 04:33:12 +02:00
ekzyis 8d3b1c2a51 Hotfix for missing HTML titles 2023-08-21 04:24:27 +02:00
ekzyis d865fa1d12 Use pretty links 2023-08-21 04:15:23 +02:00
ekzyis f937ea4ced Add second blog post 2023-08-21 04:09:08 +02:00
ekzyis 1d3d294b05 Add Makefile
Files are now only built when their source changed.
2023-08-19 02:15:18 +02:00
ekzyis e765141a82 Add link to comments 2023-08-17 23:24:33 +02:00
ekzyis 167dcf93f3 Fix blog header ASCII art 2023-08-17 19:21:52 +02:00
ekzyis e861c02b13 Point to gitea instead of github 2023-08-17 17:01:41 +02:00
ekzyis 5a31dc7a01 Show version in footer 2023-08-17 17:01:21 +02:00
ekzyis 4d35eaa745 Update nginx config 2023-08-17 14:56:31 +02:00
ekzyis bf88488586 Implement markdown pipeline
I can now write blog posts in markdown.

The blog index will also be automatically built now. I only need to write a blog post in markdown now for it to be automatically included.
2023-08-17 05:26:34 +02:00
ekzyis 8c6ef67442 Improve blog post title layout 2023-08-16 06:20:58 +02:00
ekzyis 75de8accf0 Use more dynamic build script
- files in html/pages can now also use template data
- blog index now uses template data to enumerate posts
- posts include sats
2023-08-14 07:03:47 +02:00
ekzyis 469bf1f612 Update RSS feed 2023-08-09 04:46:04 +02:00
ekzyis e8a1468017 Add link to comments on SN 2023-08-09 03:45:26 +02:00
ekzyis be43be8c09 Update date to 2023-08-09 2023-08-09 03:37:30 +02:00
ekzyis ca0a7bc876 Parse title from blog post path 2023-08-09 03:32:41 +02:00
ekzyis cc432fa7b6 Add outro 2023-08-09 03:32:31 +02:00
ekzyis f83d3e9e6e Add plausible script 2023-08-09 02:46:14 +02:00
ekzyis 16692e63e0 Update index.html 2023-08-09 02:46:14 +02:00
ekzyis ad503c5c0a "Demystifying WireGuard and iptables" 2023-08-09 02:46:14 +02:00
ekzyis 587cabc3ca Fix CSS and update layout for WIP blog article 2023-08-05 17:33:46 +02:00
ekzyis ecc81a3e94 Update front page text 2023-08-05 17:22:54 +02:00
ekzyis a4d117dae6 Fix RSS link in footer 2023-08-05 17:15:35 +02:00
ekzyis a374eedd26 Change layout 2023-08-04 02:38:31 +02:00
ekzyis e7aadc625c Fix blog figlet 2023-08-03 17:20:58 +02:00
ekzyis 52fb8c8dc5 Remove generated HTML files
Removing them since It's annoying to build and commit them after every change.

They are also dirty after every build even without changes due to the build date.
2023-08-03 17:13:48 +02:00
ekzyis 758ad8c7aa Fix RSS title 2023-08-03 17:05:10 +02:00
ekzyis 8792cb5fed Update CSS for head and footer 2023-08-03 17:05:10 +02:00
ekzyis da53c6e5c7 Add hot reload 2023-08-03 17:05:09 +02:00
ekzyis ae944e3133 Add script for development 2023-08-03 04:57:00 +02:00