{"id":24563793,"url":"https://github.com/mildronize/hugo-theme-mild","last_synced_at":"2025-03-17T00:25:04.999Z","repository":{"id":42000811,"uuid":"482134926","full_name":"mildronize/hugo-theme-mild","owner":"mildronize","description":"Hugo Theme: Mild","archived":false,"fork":false,"pushed_at":"2022-04-21T13:44:49.000Z","size":3614,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T10:15:42.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mildronize.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}},"created_at":"2022-04-16T02:26:51.000Z","updated_at":"2022-04-29T02:41:03.000Z","dependencies_parsed_at":"2022-08-12T02:00:19.123Z","dependency_job_id":null,"html_url":"https://github.com/mildronize/hugo-theme-mild","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/mildronize%2Fhugo-theme-mild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fhugo-theme-mild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fhugo-theme-mild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mildronize%2Fhugo-theme-mild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mildronize","download_url":"https://codeload.github.com/mildronize/hugo-theme-mild/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243951833,"owners_count":20373803,"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":[],"created_at":"2025-01-23T10:15:48.272Z","updated_at":"2025-03-17T00:25:04.963Z","avatar_url":"https://github.com/mildronize.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hugo Theme: Mild\r\n\r\nMild is a theme for hugo which is ported from [simpleness](https://github.com/RainerChiang/simpleness).\r\n\r\n[![Build GitHub Pages](https://github.com/mildronize/hugo-theme-mild/actions/workflows/deploy-gh-pages.yaml/badge.svg)](https://github.com/mildronize/hugo-theme-mild/actions/workflows/deploy-gh-pages.yaml)\r\n\r\n## Lighthouse Pagespeed (Mobile)\r\n\r\n[![lighthouse_results](https://raw.githubusercontent.com/mildronize/hugo-theme-mild/lighthouse/lighthouse_results/mobile/pagespeed.svg)](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mildronize/hugo-theme-mild/lighthouse/lighthouse_results/mobile/thadaw_com_hugo_theme_mild_.html)\r\n\r\n\r\n## Live Demo\r\n\r\n\u003chttps://thadaw.com/hugo-theme-mild/\u003e\r\n\r\n[![screenshot](images/screenshot.png)](https://thadaw.com/hugo-theme-mild/)\r\n\r\n## Features\r\n\r\n- MathJax suport\r\n- Google Analytics support\r\n- Comment systems include: disqus, valine\r\n- Table of content\r\n- PostCSS\r\n- TypeScript\r\n- Theme Switch \r\n- Code Highlight using Prism JS based on theme\r\n\r\n## TODO\r\n\r\n- [ ] Pagination for posts\r\n\r\n## Quick Start\r\n\r\n### 1. Install Hugo\r\n\r\n[Download](https://github.com/gohugoio/hugo/releases) the appropriate version for your platform. \r\n\r\nI used [hugo_extended_0.75.1_Linux-64bit.deb](https://github.com/gohugoio/hugo/releases/download/v0.75.1/hugo_extended_0.75.1_Linux-64bit.deb) to develop this theme.\r\n\r\n### 2. Create a New Site\r\n\r\n```shell\r\nhugo new site myBlog\r\n```\r\n\r\n### 3. Use hugo theme mild\r\n\r\n```shell\r\ncd myBlog\r\ngit init\r\ngit submodule add https://github.com/mildronize/mild-theme.git themes/mild\r\n```\r\n\r\ncopy the content of exampleSite\r\n\r\n```shell\r\ncp themes/mild/exampleSite/config.toml .\r\ncp -r themes/mild/exampleSite/content .\r\n```\r\n\r\nbuild site\r\n\r\n```shell\r\nhugo server\r\n```\r\n\r\nthen, open http://localhost:1313/ in your browser。\r\n\r\n## Todo\r\n\r\n- [ ] Write Hugo Shortcode for render hightlight block for Prismjs, [Line Number](https://prismjs.com/plugins/line-numbers/), [Light Highlight](https://prismjs.com/plugins/line-highlight)\r\n    ```html\r\n    \u003cpre tabindex=\"0\" class=\"chroma line-numbers\" data-line=\"8\"\u003e\r\n    ```\r\n    Note: The native shortcode from Hugo `{{\u003c highlight html \u003e}}` only support `chroma`\r\n\r\n## Local Development\r\n\r\nChange `exampleSite/config.yaml` from `baseURL: /hugo-theme-mild/` to `baseURL: /`\r\n\r\n```\r\nnpm install\r\nnpm run dev\r\n```\r\n\r\nRelease new version\r\n\r\n```\r\nnpm run publish\r\n```\r\n\r\nBuild only (for Pipeline)\r\n\r\n```\r\nnpm run build\r\n```\r\n\r\nNote: Disable Cache when develop\r\n\r\n![disable-cache-dev-tools](images/disable-cache-dev-tools.png)\r\n\r\n## Original Author\r\n- Rainer Chiang","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fhugo-theme-mild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmildronize%2Fhugo-theme-mild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmildronize%2Fhugo-theme-mild/lists"}