https://github.com/abhishekkr/datum
minimalist markdown based blogging helper
https://github.com/abhishekkr/datum
bash static-site-generator
Last synced: about 2 months ago
JSON representation
minimalist markdown based blogging helper
- Host: GitHub
- URL: https://github.com/abhishekkr/datum
- Owner: abhishekkr
- License: mit
- Created: 2014-08-13T15:23:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T18:47:57.000Z (over 3 years ago)
- Last Synced: 2025-01-12T13:21:38.348Z (over 1 year ago)
- Topics: bash, static-site-generator
- Language: JavaScript
- Homepage: https://abhishekkr.github.io/datum
- Size: 198 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## datum
---
#### **'datum'** is (in my use) slimmest, quickest markdown based blogging helper
### How it works?
> * you keep your markdown blogs named as "YYYY-MM-DD..md" in a data dir
> * provide this data dir path to datum and get your static blogging content to be served
---
Meaning:
> da·tum
> ˈdātəm,ˈdatəm/
> noun
> 1.
> a piece of information.
> 2.
> a fixed starting point of a scale or operation
---
> NOTE: datum doesn't bring in updates for boilerplate if changed post-creation, so required full cleanup and generation in such case
#### Example
I've attached a very 0-level original example (to be improved later, PR welcomed).
See the effect, change directory to datum's root... then
* to convert using Github API (requires Internet)
> DATUM_BASEDIR="example/" ./dat-2-um.sh
* to convert using Pandoc utlity (need to be installed using cabal)
> DATUM_CONVERTER="pandoc" DATUM_BASEDIR="example/" ./dat-2-um.sh
* if got some other boilerplate for blog
> DATUM_BOILERPLATE=simpleblog DATUM_CONVERTER="pandoc" DATUM_BASEDIR="example/" ./dat-2-um.sh
To change links from top-nav-bar and side-nav-bar; or to change Title, Heading, Subheading of blog... configure the desired values in **baseinfo.json** available at base of created blog-dir.