{"id":13653516,"url":"https://github.com/goodroot/hugo-classic","last_synced_at":"2025-04-23T06:31:49.966Z","repository":{"id":46120123,"uuid":"97069201","full_name":"goodroot/hugo-classic","owner":"goodroot","description":"A simple and text-centric theme for Hugo.io","archived":false,"fork":true,"pushed_at":"2025-02-06T23:17:43.000Z","size":3763,"stargazers_count":149,"open_issues_count":0,"forks_count":71,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-07T00:23:22.655Z","etag":null,"topics":["hugo","hugo-blog-theme","hugo-theme"],"latest_commit_sha":null,"homepage":"https://goodroot.ca","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"yihui/hugo-xmin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goodroot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-07-13T02:02:26.000Z","updated_at":"2025-02-06T23:17:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/goodroot/hugo-classic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodroot%2Fhugo-classic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodroot%2Fhugo-classic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodroot%2Fhugo-classic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodroot%2Fhugo-classic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goodroot","download_url":"https://codeload.github.com/goodroot/hugo-classic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250385146,"owners_count":21421864,"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":["hugo","hugo-blog-theme","hugo-theme"],"created_at":"2024-08-02T02:01:11.903Z","updated_at":"2025-04-23T06:31:44.953Z","avatar_url":"https://github.com/goodroot.png","language":"CSS","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Hugo.io - Classic Theme\n\nClassic is a stylized fork of the **XMin** theme, written by [Yihui Xie](https://yihui.name).\n\nProvides `highlight.js` for syntax highlighting, emoji support, Inter and optional **_darkmode_**.\n\n[**View live demo**](https://goodroot.ca)\n\n### Instructions\n\n1: Install Hugo.\n\n```\nbrew install hugo\n```\n\n2: Create a new site.\n\n```\nhugo new site classic\n```\n\n3: Change to themes dir.\n\n```\ncd classic/themes\n```\n\n4: Clone the repo\n\n```\ngit clone git@github.com:goodroot/hugo-classic.git\n```\n\n5: Copy files within the `exampleSite` directory\n\n```\ncp -a hugo-classic/exampleSite/. ../\n```\n\n6: Run `hugo server` within `classic/`\n\n```\ncd .. \u0026\u0026 hugo server\n```\n\n### New Posts\n\nMake new posts:\n\n```\nhugo new post/good-to-great.md\n```\n\n### Header Colour\n\nAdjust header colour within `static/css/style.css`\n\n```\nheader {\n    background: #613DC1;\n}\n```\n\n... `background:` to any colour value you'd like!\n\nFor header font:\n\n```\nheader a {\n    color: #fff;\n}\n```\n\nChange `color:` to a nice matching colour.\n\n### Darkmode\n\nMatch or over-ride system-wide dark/light settings\n\n1. Open `static/css/style.css`\n\n2. Edit the following attributes to match light/dark\n\n```css\n/* darkmode */\n@media (prefers-color-scheme: dark) {\n    ...\n}\n\n/* lightmode */\n@media (prefers-color-scheme: light) {\n    ...\n}\n```\n\n#### Screenshot\n\n![Hugo Classic dark mode](/images/dark.png)\n![Hugo Classic light mode](/images/light.png)\n\n## Blog Posts\n\nhugo-classic has appeared in...\n\n[15 Hugo Framework blog themes](https://terrty.net/2018/15-hugo-framework-blog-themes/) by [paskal](https://github.com/paskal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodroot%2Fhugo-classic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodroot%2Fhugo-classic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodroot%2Fhugo-classic/lists"}