~sky/blog

ref: a974c44b4ff336b8d13b41bbe8f3412abdc240f6 blog/README.md -rw-r--r-- 1.1 KiB
a974c44bsky Fixing version strangeness 1 year, 9 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. the 'output' directory. The script then uploads the files in the 'output' directory to the given hosting service.