~sky/blog

ref: 1dab6d286cf8c51c2d5f0d93ef867e4acce3a670 blog/README.md -rw-r--r-- 1.0 KiB
1dab6d28sky Glitch in README.md 1 year, 11 months ago

#up-blog: A flexable, modular, ssg and template system.

#Installation:

I havn't gotten around to writing an install script, so the user is responsible for the following:

  • Cloning the repo
  • Editing everything under the 'templates' folder to reflect your title and domain names for your website
  • Editing the script to reflect your server address and the name of your blog
  • (Optional) moving the install script into your $path variable.
  • (Optional) putting your logo in the blog directory named 'logo.png'

#Usage:

To use the templates / script:

Execute:

	$ up-blog 'article name'

Where 'article name' is the name of the article you wish to upload.

#Back-End:

This script works by putting together a series of files which will make a single webpage. It takes the '.head' files and the '.html' files from 'input', combines them with templates from the 'templates' directory, and sends them to the 'output' directory. The script then uploads the files in the 'output' directory to the given hosting service.