{"repo":"MeiK2333/github-style","free":true,"listed":false,"github":"https://github.com/MeiK2333/github-style","clone":"git clone https://github.com/MeiK2333/github-style.git","description":null,"language":"CSS","stars":747,"topics":["hugo","hugo-theme","blog"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"github-style Init hugo site Install the theme Update the theme If you just installed the theme, it is already in the latest version. If not, you can update using the below commands Then, you need to rename the previous posts folder to post Setup readme Pin post Add new post Hugo will create a post with draft: true , change it to false in order for it to show in the website. Limit display content Approach 1: use summary Approach 2: use Use to separate content that will display in the posts page as abstraction and the rest of the content. This is different from summary, as summary will not appear in the post. Add last modified date add to config.toml Use gitalk to support comments add to config.toml Support LaTeX In you post add math: true to front matter Then the katex script will auto render the string enclosed by delimiters. Support MathJax you can add MathJax:true to frontmatter Custom CSS and JS Add your files in the static folder and list them in the custom css and custom js parameters For example, with static/css/custom.css and static/js/custom.js, add to config.toml config.toml example Support collapsible block You can create a collapsible block like this: And it will show like this: summary title block content Support local search add to config.toml We can do local search now, it is implemented by fuse.js . deploy.sh example There are various way to deploy to github, here is a link to official document. Here is an sample. Note line 22 have env HUGO ENV=\"production\" , m","default_branch":null,"files":null,"tree":[],"storefront":"/r/MeiK2333","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MeiK2333/github-style/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}