Skip to content

qunv/minitino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minitino

A tool generate minimalist tech blog. See demo https://qunv.github.io

Why it's awesome

It would be great if we could share something and have a site of our own.

You should have skills

  • Markdown - to write your content

Prerequisites

Golang >=1.19

Usages

  1. Clone this repo:
git clone https://github.com/qunv/minitino.git
  1. Build

Move to cd minitino

go build -o <YOUR FOLDER>
  1. Run

First create config.yaml:

app:
  rootName: <YOUR NAME>
  intro: <YOUR INTRO>
  findOn:
    github: <YOUR GITHUB URL>
    twitter: <YOUR TWITTER URL>

Then run ./minitino

The first run will create necessary folders that we have 2 important folders:

  • _posts: This folder contains all your Markdown file post
  • _about: Write something about you. It's also Markdown file

Create posts by create markdown file inside _posts folder. And we have several rules:

  • File name with format: <YEAR>-<MONTH>-<DAY>-<YOUR_FILE_NAME>.md

File contents start with 2 line:

[title]: <> (Rambling a little) // your post title

[description]: <> (description here) // your post description

[date]: <> (2020-10-15) // your post date, format yyyy-mm-dd

[tags]: <> (self, self2) // your post tags

Finally, run ./minitino one again.

Contributing

Happy to your contribution

License

Licensed under the GNU License.