Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nayanseth authored Apr 13, 2024
1 parent 78b7275 commit f033104
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ https://nayanseth.com

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
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`
Expand All @@ -34,11 +34,11 @@ https://nayanseth.com
# Shortcodes

- `{{< svg logo="blah" >}}` -> Use the following code to add svg in markdown files
1. Add svg as .html file in `layouts/content/svg`
1. Add svg as .html file in `layouts/content/svg`
- Raw HTML
```
{{< rawhtml >}}
<div>This is raw HTML content</div>
<div>This is raw HTML content</div>
{{< /rawhtml >}}
```

Expand All @@ -59,4 +59,4 @@ Some reference links for additional info on how to do things in Hugo:
- https://discourse.gohugo.io/t/better-term-listing/10261
- https://gohugo.io/templates/partials/
- https://mertbakir.gitlab.io/hugo/pass-arguments-in-partials-hugo/
- [SVG Icons](https://github.com/coreui/coreui-icons)
- [SVG Icons](https://github.com/coreui/coreui-icons)

0 comments on commit f033104

Please sign in to comment.