Make a website like you're compiling a C program. Uses make and Pandoc.
https://scuti.neocities.org/
- HTML 60.6%
- Python 25.8%
- Makefile 13.6%
|
scuti
f431654646
Made script and templates generic.
Removed references to my site from templates. Removed my settings from rss_gen.py |
||
|---|---|---|
| scripts | Made script and templates generic. | |
| submodules | Added|moved comments module to submodule folder. | |
| templates | Made script and templates generic. | |
| .gitmodules | Added|moved comments module to submodule folder. | |
| Makefile | Added|moved comments module to submodule folder. | |
| README.md | Added README.md | |
basic-website
Bundle for a static website.
Builds HTML files with make.
Use with static web hosts like neocities.
Requirements
make pandoc
Getting Started
Create folders manuscripts/ and renders/.
Copy templates/new.md to manuscripts/.
Start writing.
Use make to generate a page.
Update scripts/rss-gen.py with website title, URL, and description before generating a feed.
You don't need to initialize the submodule if you aren't going to have comments. Otherwise
git submodule init
git submodule update
Folders
Markdown files go in manuscripts.
manuscripts/, top-level (slash) pages such as index and about.manuscripts/pages, articles or blog posts.
HTML files are put in renders and correspond to subfolders in manuscripts.