-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` | ||
|
@@ -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 >}} | ||
``` | ||
|
||
|
@@ -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) |