aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-07-11 22:47:07 +0000
committerRob Austein <sra@hactrn.net>2021-07-11 22:47:07 +0000
commit09631677067ded50c95958f02bec7d81e7e0bda7 (patch)
tree0cfb80a1e54cc2a4ea8997d4261552863b5e8eb7
parentd85a1e4e2eaa340dc83938bfda33bf2a9e7f50f6 (diff)
Synthetic landing page
Need to copy the landing page hack back into tools/GNUmakefile and tweak the rule so that we don't regenerate it unless something has changed (otherwise it'll change every run, because of the generated date stamp). But right now it's time for dinner.
-rw-r--r--GNUmakefile1
-rw-r--r--pelican/content/trac-to-pelican-home.md26
m---------tools0
3 files changed, 27 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 95ca6fe..cd6bc36 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -11,6 +11,7 @@ REPO_PATH := /usr/local/git/repositories
all:
tools/extract.py --source-url ${SOURCE_URL}
./kludge-cgit-urls.py
+ (date '+Date: %Y-%m-%d %H:%M'; cat tools/trac-to-pelican-home.md) > pelican/content/trac-to-pelican-home.md
cd pelican; pelican --output website --settings pelicanconf.py --fatal errors content
fetch:
diff --git a/pelican/content/trac-to-pelican-home.md b/pelican/content/trac-to-pelican-home.md
new file mode 100644
index 0000000..3c10462
--- /dev/null
+++ b/pelican/content/trac-to-pelican-home.md
@@ -0,0 +1,26 @@
+Date: 2021-07-11 22:45
+Title: Trac Wiki converted to Pelican Markdown
+URL:
+save_as: index.html
+
+Trac Wiki converted to Pelican Markdown
+=======================================
+
+This is a dummy landing page for a Trac Wiki site converted to
+Markdown and fed through Pelican to create a static web site.
+
+See [the conversion scripts that produced
+this](https://git.hactrn.net/sra/trac-wiki-to-markdown) for details on
+the conversion process. Be warned that it's a lot of nasty regular
+expressions, because nothing other than Trac really understand's
+Track's Wiki format.
+
+Trac's landing page is always called [WikiStart](wikistart.html).
+
+Pelican's [automatically-generated index](pelican-index.html) is the
+default Pelican landing page, but we had to move it aside to make room
+for this one.
+
+Feel free to clean all of this up, this page is just a placeholder to
+make it easy to navigate the converted wiki until a human takes over.
+
diff --git a/tools b/tools
-Subproject 9830a562f93005599e09964bcea79c901fb94bb
+Subproject 8a435a7c4d84d454e1272856d2921213e708ca5