[Cryptech-Commits] [user/sra/pelican] 65/68: Synthetic landing page

git at cryptech.is git at cryptech.is
Mon Jul 19 22:25:44 UTC 2021

This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch pelican
in repository user/sra/pelican.

commit 09631677067ded50c95958f02bec7d81e7e0bda7
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Sun Jul 11 22:47:07 2021 +0000

    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(-)

diff --git a/GNUmakefile b/GNUmakefile
index 95ca6fe..cd6bc36 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -11,6 +11,7 @@ REPO_PATH := /usr/local/git/repositories
 	tools/extract.py --source-url ${SOURCE_URL}
+	(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
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
+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

More information about the Commits mailing list