<!doctype html><htmllang=en><head><metacharset=utf-8><metaname=viewportcontent="width=device-width,initial-scale=1"><metaproperty="og:title"content="Instruction"><metaproperty="og:description"content="A Clean and minimal Hugo theme porting from the [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). [Click me](https://h.xjj.pub/) to take a look."><metaproperty="og:type"content="article"><metaproperty="og:url"content="https://mivinci.github.io/hugo-theme-minima/instruction/"><metaproperty="article:section"content><metaproperty="article:published_time"content="2021-07-19T10:52:59+08:00"><metaproperty="article:modified_time"content="2021-07-19T10:52:59+08:00"><metaname=twitter:cardcontent="summary"><metaname=twitter:titlecontent="Instruction"><metaname=twitter:descriptioncontent="A Clean and minimal Hugo theme porting from the [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). [Click me](https://h.xjj.pub/) to take a look."><metaname=theme-colormedia="(prefers-color-scheme: light)"content="#ffffff"><metaname=theme-colormedia="(prefers-color-scheme: dark)"content="#262d33"><title>Hi Folks - Instruction</title><linkrel="shortcut icon"href=/hugo-theme-minima/favicon.icotype=image/x-icon><linkrel=stylesheethref=/hugo-theme-minima/minima.1667902099.css><scriptdefertype=text/javascriptsrc=/hugo-theme-minima/minima.1667902099.js></script><linkrel=alternatehreflang=zhhref=https://mivinci.github.io/hugo-theme-minima/zh/instruction/title=ZH></head><script>lettheme_2b_used=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';try{if(!('theme'inlocalStorage)){consta='system';(a==='dark'||a==='light')&&(theme_2b_used=a),localStorage.theme=theme_2b_used}document.querySelector('html').classList.add(localStorage.theme)}catch(a){console.error(a)}</script><body><headerclass="mt-3 mb-6"><divclass="container mx-auto"><navclass="flex justify-between items-center"><divclass="flex items-center"><divid=theme-switcherclass="text-2xl cursor-pointer">🌝</div></div><ulclass="flexitems-centerfont-medium
<aclass=ml-1href=/tags/Minima>#Minima</a></div></div><main><p>A Clean and minimal Hugo theme porting from the <ahref=https://github.com/adisaktijrs/hexo-theme-minima>Hexo Minima</a>. <ahref=https://h.xjj.pub/>Click me</a> to take a look.</p><articleclass=md><blockquote><p>The main branch is in development stage, UI or configurations may vary. You can use the latest stable version <ahref=https://github.com/Mivinci/hugo-theme-minima/releases/tag/v1.1.0>here</a>.</p></blockquote><h2id=features>Features</h2><ul><li><inputcheckeddisabledtype=checkbox> Clean</li><li><inputcheckeddisabledtype=checkbox> Light/dark mode</li><li><inputcheckeddisabledtype=checkbox> VSCode-style code hightlighting (the most alike among all Hugo themes)</li><li><inputcheckeddisabledtype=checkbox> KaTeX</li><li><inputcheckeddisabledtype=checkbox> Mermaid diagrams</li><li><inputcheckeddisabledtype=checkbox> Google analytics</li><li><inputcheckeddisabledtype=checkbox> Disqus/Utterances</li><li><inputcheckeddisabledtype=checkbox> Optional ToC</li></ul><h2id=usage>Usage</h2><p>Before using Minima, make sure you’ve got Hugo (extended version) installed on your device.</p><h3id=installation>Installation</h3><p>Suppose <code>blog</code> is where you place your sources.</p><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><preclass=chroma><code><spanclass=lnt>1
</code></pre></td></tr></table></div></div><p>Or <code>clone</code> directly if you don’t wanna use the Git submodule.</p><divclass=highlight><divclass=chroma><tableclass=lntable><tr><tdclass=lntd><preclass=chroma><code><spanclass=lnt>1