summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-11-17 18:01:46 -0300
committerEuAndreh <eu@euandre.org>2024-11-17 18:33:15 -0300
commitbdcfd72202b1ef58c46a6a503398fda7822771b7 (patch)
treec0945cef1fa653a2d1065c16d00a04d10e7c298b /src
parentMakefile: Adapt code for mkwb-html subcommand (diff)
downloadpapo.im-bdcfd72202b1ef58c46a6a503398fda7822771b7.tar.gz
papo.im-bdcfd72202b1ef58c46a6a503398fda7822771b7.tar.xz
Update to latest mkwb to support multiple collections
Diffstat (limited to 'src')
-rw-r--r--src/base.conf2
l---------src/collections/blog1
-rw-r--r--src/content/blog.adoc3
-rw-r--r--src/content/blog/index.adoc3
-rw-r--r--src/headers.txt2
l---------src/pages/root1
6 files changed, 7 insertions, 5 deletions
diff --git a/src/base.conf b/src/base.conf
index c21a238..22358f0 100644
--- a/src/base.conf
+++ b/src/base.conf
@@ -10,4 +10,4 @@ export author='papo.im'
export site_name='Papo'
export feed_title='Articles from papo.im'
export feed_url='atom.xml'
-export feed_alternate_url='blog.html'
+export feed_alternate_url='./blog/'
diff --git a/src/collections/blog b/src/collections/blog
new file mode 120000
index 0000000..8c3a331
--- /dev/null
+++ b/src/collections/blog
@@ -0,0 +1 @@
+../content/blog \ No newline at end of file
diff --git a/src/content/blog.adoc b/src/content/blog.adoc
deleted file mode 100644
index 2119a57..0000000
--- a/src/content/blog.adoc
+++ /dev/null
@@ -1,3 +0,0 @@
-= Blog
-
-== Recent articles link:atom.xml[image:img/atom.svg[Standard orange RSS feed icon]]
diff --git a/src/content/blog/index.adoc b/src/content/blog/index.adoc
new file mode 100644
index 0000000..7e46f04
--- /dev/null
+++ b/src/content/blog/index.adoc
@@ -0,0 +1,3 @@
+= Blog
+
+== Recent articles link:atom.xml[image:../img/atom.svg[Standard orange RSS feed icon]]
diff --git a/src/headers.txt b/src/headers.txt
index 52af056..b912d77 100644
--- a/src/headers.txt
+++ b/src/headers.txt
@@ -1,3 +1,3 @@
pricing.html Pricing
about.html About
-blog.html Blog
+blog/ Blog
diff --git a/src/pages/root b/src/pages/root
new file mode 120000
index 0000000..efcdaa6
--- /dev/null
+++ b/src/pages/root
@@ -0,0 +1 @@
+../content \ No newline at end of file