浏览代码

Move pelican index aside to make room for landing page

Rob Austein 3 年之前
父节点
当前提交
8a435a7c4d
共有 2 个文件被更改,包括 29 次插入0 次删除
  1. 4 0
      pelicanconf.py
  2. 25 0
      trac-to-pelican-home.md

+ 4 - 0
pelicanconf.py

@@ -31,3 +31,7 @@ SOCIAL_WIDGET_NAME = "Subscribe"
 DEFAULT_PAGINATION = 10
 
 #THEME = "/home/blog/pelican-themes/sundown"
+
+# Per https://docs.getpelican.com/en/latest/faq.html#how-can-i-use-a-static-page-as-my-home-page
+
+INDEX_SAVE_AS = "pelican-index.html"

+ 25 - 0
trac-to-pelican-home.md

@@ -0,0 +1,25 @@
+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.
+