Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atmoz/rigid
Static web site generator in Go
https://github.com/atmoz/rigid
Last synced: 29 days ago
JSON representation
Static web site generator in Go
- Host: GitHub
- URL: https://github.com/atmoz/rigid
- Owner: atmoz
- License: gpl-2.0
- Created: 2014-01-25T16:57:40.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-05T19:19:59.000Z (almost 10 years ago)
- Last Synced: 2024-10-16T13:15:42.542Z (3 months ago)
- Language: Go
- Size: 199 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rigid
Static web sites that just makes sense.
This is still in early development, PREPARE YOUR SOUL!
## What?
* Zero configuration
* Default and custom templates
* Markdown support## How?
* Structure your files just like you want the web site to be structured.
* HTML and markdown files are regarded as web pages.
* Web page paths:
* projects.md --> projects/index.html (pretty URL!)
* boring.html.md --> boring.html (boring URL)
* about.html --> about.html (html is boring by default)
* Web site is rendered with a simple menu, ready to use.
* *Optional:*
* Add meta data to your pages.
* Use custom CSS and templates.## Example page with meta data
---
title: My title
tags: [ blog/ramblings, blog/example, whatever ]
---So this is my page, you like!?
## Using custom CSS and templates
If you don't like the default look, you can add your own CSS and/or templates.
### CSS
All you need is to edit `rigid.css` (created on first build) in the root folder.
### Templates
*More info coming later*
{{.Page.Meta.Title}}
{{.Content}}
This page is tagged: {{range .Page.Meta.Tags}}{{.}} {{end}}
All blog posts:
- {{.Meta.Title}}
{{range .TaggedPages "blog/*"}}
{{end}}