{"id":14981401,"url":"https://github.com/techbarrack/terminal-hugo-theme","last_synced_at":"2025-10-29T05:31:43.085Z","repository":{"id":230937964,"uuid":"780514474","full_name":"techbarrack/terminal-hugo-theme","owner":"techbarrack","description":"A theme for hugo made using tailwind CSS library and mono font family","archived":false,"fork":false,"pushed_at":"2024-06-11T08:11:57.000Z","size":3464,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-28T05:41:08.274Z","etag":null,"topics":["blog","dark","dark-mode","dark-theme","hugo","hugo-blog","hugo-site","hugo-theme","markdown","minimal","personal","responsive","shortcodes","static-site","tailwindcss","website"],"latest_commit_sha":null,"homepage":"https://nayanseth.com","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techbarrack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-01T16:35:16.000Z","updated_at":"2024-08-12T11:46:39.000Z","dependencies_parsed_at":"2024-09-28T05:40:54.454Z","dependency_job_id":"689e5ab1-71c9-4518-be60-89a42287e2d7","html_url":"https://github.com/techbarrack/terminal-hugo-theme","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.020408163265306145","last_synced_commit":"ecce8013f3b7119ea254491e71f4c3e49beaeb74"},"previous_names":["techbarrack/terminal-hugo-theme"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbarrack%2Fterminal-hugo-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbarrack%2Fterminal-hugo-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbarrack%2Fterminal-hugo-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techbarrack%2Fterminal-hugo-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techbarrack","download_url":"https://codeload.github.com/techbarrack/terminal-hugo-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858318,"owners_count":16556047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","dark","dark-mode","dark-theme","hugo","hugo-blog","hugo-site","hugo-theme","markdown","minimal","personal","responsive","shortcodes","static-site","tailwindcss","website"],"created_at":"2024-09-24T14:03:30.202Z","updated_at":"2025-10-29T05:31:37.487Z","avatar_url":"https://github.com/techbarrack.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terminal-hugo-theme\n\nA theme for hugo made using tailwind CSS library and mono font family\n\n# Live Demo\n\nhttps://nayanseth.com\n\n![Theme Screenshot](https://raw.githubusercontent.com/techbarrack/terminal-hugo-theme/master/images/screenshot.png)\n\n# Setup\n\n1. This theme uses tailwind CSS\n2. [Optional] How to Use Tailwind\n   \t1. By default, the existing `tailwind.css` file will be used in the theme but if you want to play around with tailwind then follow the steps mentioned below\n\t2. There are two config files for tailwind located in `assets/csss/tailwind` directory\n\t\t1. For dev run `npm run dev` -\u003e This generates all the possible CSS classes from tailwind. Some may still be left out\n\t\t2. For prod run `npm run prod` -\u003e This generates only the CSS classes from tailwind that you are using in the theme\n4. `hugo new site \u003cSITE_NAME\u003e`\n5. `cd \u003cSITE_NAME\u003e`\n6. `git submodule add git@github.com:techbarrack/terminal-hugo-theme.git themes/terminal`\n7. Replace the contents of `\u003cSITE_NAME\u003e/hugo.yaml` with `\u003cSITE_NAME\u003e/themes/terminal/hugo.yaml`\n8. In the root directory of the hugo site, create the directory: `mkdir -p layouts/partials/third_party_js`. This directory is to store any sort of third party javascript like google analytics, disqus, etc\n10. Run the website `hugo server --buildDrafts --disableFastRender --gc --ignoreCache --noHTTPCache --forceSyncStatic --verbose -w`\t\t\n\n# Modifying the Contents\n\n1. Uncomment the ignoreFiles attribute in `\u003cSITE_NAME\u003e/hugo.yaml`\n2. Start adding the files in `\u003cSITE_NAME\u003e/content` by replicating what is present in `\u003cSITE_NAME\u003e/themes/terminal/content`\n3. Update the meta content in `head.html`\n\n# Third Party JS\n\n1. Create partials in `\u003cSITE_NAME\u003e/layouts/partials/third_party_js/\u003cFILE\u003e.html`\n2. All the files in `third_party_js` folder will get included before `\u003c/body\u003e` tag\n\n# Shortcodes\n\n- `{{\u003c svg logo=\"blah\" \u003e}}` -\u003e Use the following code to add svg in markdown files\n\t1. Add svg as .html file in `layouts/content/svg`\n- Raw HTML\n```\n{{\u003c rawhtml \u003e}}\n  \u003cdiv\u003eThis is raw HTML content\u003c/div\u003e\n{{\u003c /rawhtml \u003e}}\n```\n\n\n# References\n\nSome reference links for additional info on how to do things in Hugo:\n\n- https://gohugo.io/methods/page/\n- https://gohugo.io/methods/pages/groupbydate/\n- https://gohugo.io/content-management/taxonomies/\n- https://gohugo.io/templates/taxonomy-templates/\n- https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template\n- https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template\n- https://gohugo.io/methods/page/scratch/\n- https://gohugo.io/functions/collections/dictionary/\n- https://gohugo.io/methods/page/paginate/\n- https://discourse.gohugo.io/t/better-term-listing/10261\n- https://gohugo.io/templates/partials/\n- https://mertbakir.gitlab.io/hugo/pass-arguments-in-partials-hugo/\n- [SVG Icons](https://github.com/coreui/coreui-icons)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechbarrack%2Fterminal-hugo-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechbarrack%2Fterminal-hugo-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechbarrack%2Fterminal-hugo-theme/lists"}