From 09631677067ded50c95958f02bec7d81e7e0bda7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 11 Jul 2021 22:47:07 +0000 Subject: 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. --- GNUmakefile | 1 + pelican/content/trac-to-pelican-home.md | 26 ++++++++++++++++++++++++++ tools | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pelican/content/trac-to-pelican-home.md 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 index 9830a56..8a435a7 160000 --- a/tools +++ b/tools @@ -1 +1 @@ -Subproject commit 9830a562f93005599e09964bcea79c901fb94bb4 +Subproject commit 8a435a7c4d84d454e1272856d2921213e708ca52 -- cgit v1.2.3