summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-06-15 21:27:23 +0200
committermms <michal@sapka.me>2024-06-15 21:27:23 +0200
commit81cc9b4b0384002be78ed795fca60410d7acaa69 (patch)
treef30d95f70c2b40888bb4716244ad41df0f7116cf
parent16e1a00e9c600df077d89503c5d0fb5ef79b8191 (diff)
feat: rss & menu
-rw-r--r--content-org/cool-emacs.org2
-rw-r--r--content/cool-emacs/emacs-as-a-shell.md1
-rw-r--r--content/cool-emacs/read-email-notmuch.md4
-rw-r--r--content/cool-emacs/reading-rss-elfeed.md1
-rw-r--r--content/cool-emacs/watch-youtube.md1
-rw-r--r--layouts/cool-emacs/baseof.html5
6 files changed, 11 insertions, 3 deletions
diff --git a/content-org/cool-emacs.org b/content-org/cool-emacs.org
index 7566082..dd23176 100644
--- a/content-org/cool-emacs.org
+++ b/content-org/cool-emacs.org
@@ -48,6 +48,7 @@ Dune
** Ways
:PROPERTIES:
:EXPORT_HUGO_MENU: :menu cool-emacs-ways
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :primary_menu cool-emacs-ways
:END:
*** DONE Read RSS with Elfeed
@@ -633,6 +634,7 @@ We need to use =eww= to open the page and we can get the URL from there.
** Appendix
:PROPERTIES:
:EXPORT_HUGO_MENU: :menu cool-emacs-appendix
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :primary_menu cool-emacs-appendix
:END:
*** DONE Emacs as a Shell
diff --git a/content/cool-emacs/emacs-as-a-shell.md b/content/cool-emacs/emacs-as-a-shell.md
index 24c2d25..02a2939 100644
--- a/content/cool-emacs/emacs-as-a-shell.md
+++ b/content/cool-emacs/emacs-as-a-shell.md
@@ -7,6 +7,7 @@ draft = false
weight = 3001
image_dir = "cool-emacs"
image_max_width = 480
+primary_menu = "cool-emacs-appendix"
abstract = "My current understanding of Emacs"
aliases = ["/2023/emacs-as-a-shell/", "/emacs/emacs-as-a-shell/"]
[menu]
diff --git a/content/cool-emacs/read-email-notmuch.md b/content/cool-emacs/read-email-notmuch.md
index 22ead4f..377461a 100644
--- a/content/cool-emacs/read-email-notmuch.md
+++ b/content/cool-emacs/read-email-notmuch.md
@@ -58,7 +58,9 @@ SyncState *
```
Then type `mbsybc -a`, wait for a few (hundred? depending on the mailbox size) minutes, and voila.
-Your `~/Mail/gmail/` is now populated with all your messages. Let's break down the config.
+Your =
+
+~/Mail/gmail/= is now populated with all your messages. Let's break down the config.
Mbsync(1) assumes two stores exist: local (on your computer) and remote (the IMAP server).
A store is a place where mail exists.
diff --git a/content/cool-emacs/reading-rss-elfeed.md b/content/cool-emacs/reading-rss-elfeed.md
index 2a94651..9bed359 100644
--- a/content/cool-emacs/reading-rss-elfeed.md
+++ b/content/cool-emacs/reading-rss-elfeed.md
@@ -7,6 +7,7 @@ draft = false
weight = 3001
image_dir = "cool-emacs"
image_max_width = 480
+primary_menu = "cool-emacs-ways"
abstract = "Setting up config inside an org file"
aliases = ["/2023/moving-my-rss-reading-to-emacs-with-elfeed/", "/emacs/moving-my-rss-reading-to-emacs-with-elfeed/", "/emacs/elfeed-literate-config/"]
[menu]
diff --git a/content/cool-emacs/watch-youtube.md b/content/cool-emacs/watch-youtube.md
index de9eb25..6d1ff99 100644
--- a/content/cool-emacs/watch-youtube.md
+++ b/content/cool-emacs/watch-youtube.md
@@ -7,6 +7,7 @@ draft = false
weight = 3003
image_dir = "cool-emacs"
image_max_width = 480
+primary_menu = "cool-emacs-ways"
abstract = "Let's use YouTube from the comfort of Emacs"
aliases = ["/emacs/watching-youtube-with-emacs/"]
[menu]
diff --git a/layouts/cool-emacs/baseof.html b/layouts/cool-emacs/baseof.html
index 5608fea..7f2e20b 100644
--- a/layouts/cool-emacs/baseof.html
+++ b/layouts/cool-emacs/baseof.html
@@ -130,8 +130,8 @@
<article>
<h1>{{ .Title }}</h1>
- {{ block "main" . }}
- {{ end }}
+ {{ block "main" . }}
+ {{ end }}
</article>
<footer>
@@ -139,6 +139,7 @@
Website created and operated by <a href="https://michal.sapka.me">MichaƂ</a>
<div style="padding: 15px; text-align: center;">
{{ partial "buttons/valid_html" . }}
+ {{ partial "button-31" (dict "file" "rss.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/cool-emacs/index.xml") }}
{{ partial "buttons/emacs" . }}
{{ partial "buttons/openbsd" . }}
</div>