Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1008 Bytes

File metadata and controls

57 lines (37 loc) · 1008 Bytes

diary-template

A template to write and read diary using bash, git, (neo)vim and hugo.

Workflow

Fork this repo to get started.

Writing

Use write CLI for wring. Check help page for more details on usage.

./write --help

Reading

hugo server

Updating template

Setup this repo as upstream remote (needed one time).

git remote add upstream https://github.com/njkevlani/diary-template

To fetch the latest changes added to the template, use the following steps.

git fetch upstream
git merge upstream/main

Encryption

Note

Not necessary, but highly recommended that you use https://github.com/AGWA/git-crypt to encrypt the content of your diary.

Steps to setup encryption are:

git-crypt init
git-crypt add-gpg-user <email-for-gpg>

Check out git-crypt repo for other ways to encrypt repo.

TODO

  • Make mood a generic rating layout.
  • [P3] Use layout/all.html
  • [P3] Use css from common project.