Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
nayanseth committed Apr 9, 2024
1 parent a37ca87 commit bf61728
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
# terminal-hugo-theme

A theme for hugo made using tailwind CSS library and mono font family

# Live Demo

https://nayanseth.com

# Setup

1. This theme uses tailwind CSS
2. There are two config files for tailwind located in `assets/csss/tailwind` directory
1. For dev run `npm run dev` -> This generates all the possible CSS classes from tailwind. Some may still be left out
2. For prod run `npm run prod` -> This generates only the CSS classes from tailwind that you are using in the theme
3. `hugo new site <SITE_NAME>`
4. `cd <SITE_NAME>`
5. `git submodule add [email protected]:techbarrack/terminal-hugo-theme.git themes/terminal`
6. Replace the contents of `<SITE_NAME>/hugo.yaml` with `<SITE_NAME>/themes/terminal/hugo.yaml`
7. Run the website `hugo server --buildDrafts --disableFastRender --gc --ignoreCache --noHTTPCache --forceSyncStatic --verbose -w`

# Modifying the Contents

1. Uncomment the ignoreFiles attribute in `<SITE_NAME>/hugo.yaml`
2. Start adding the files in `<SITE_NAME>/content` by replicating what is present in `<SITE_NAME>/themes/terminal/content`
3. Update the meta content in `head.html`

0 comments on commit bf61728

Please sign in to comment.