hugo-theme-minima/about/index.html
2023-05-05 02:41:06 +00:00

12 lines
No EOL
10 KiB
HTML

<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta property="og:title" content="About"><meta property="og:description" content="A clean and minimal Hugo theme porting from Hexo Minima. Check out the example site.
Note that the main branch is in development stage, UI or configuration may vary.
Features Dark mode Multilingual mode Code highlighting - VSCode dark+ Math - KaTeX Flowcharts - Mermaid Comment - Disqus, Utterances, Giscus Google analytics External link RSS Usage Before using Minima, make sure you&rsquo;ve got Hugo (extended version) installed on your device."><meta property="og:type" content="article"><meta property="og:url" content="https://mivinci.github.io/hugo-theme-minima/about/"><meta property="article:section" content><meta property="article:published_time" content="2019-07-10T11:24:06+08:00"><meta property="article:modified_time" content="2019-07-10T11:24:06+08:00"><meta name=twitter:card content="summary"><meta name=twitter:title content="About"><meta name=twitter:description content="A clean and minimal Hugo theme porting from Hexo Minima. Check out the example site.
Note that the main branch is in development stage, UI or configuration may vary.
Features Dark mode Multilingual mode Code highlighting - VSCode dark+ Math - KaTeX Flowcharts - Mermaid Comment - Disqus, Utterances, Giscus Google analytics External link RSS Usage Before using Minima, make sure you&rsquo;ve got Hugo (extended version) installed on your device."><meta name=theme-color media="(prefers-color-scheme: light)" content="#ffffff"><meta name=theme-color media="(prefers-color-scheme: dark)" content="#262d33"><title>Hugo on Minima - About</title><link rel="shortcut icon" href=/hugo-theme-minima/favicon.ico type=image/x-icon><link rel=stylesheet href=/hugo-theme-minima/minima.css><script defer type=text/javascript src=/hugo-theme-minima/minima.js></script></head><script>const default_theme_config='sand',default_light_theme=default_theme_config==='system'?'light':default_theme_config;let default_theme=window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':default_light_theme;try{const a=localStorage.getItem('theme');a&&(default_theme=a===default_light_theme?a:default_light_theme),localStorage.setItem('theme',default_theme),window.minima_theme=default_theme,document.querySelector('html').classList.add(default_theme)}catch(a){console.error(a)}</script><body><header class="mt-3 mb-6"><div class="container mx-auto"><nav class="flex justify-between items-center"><div class="flex items-center"><div id=theme-switch class="text-3xl cursor-pointer">🌝</div></div><ul class="flex items-center text-base font-bold
whitespace-nowrap overflow-x-auto overflow-y-hidden"><li class="ml-2 mr-2"><a href=/hugo-theme-minima/tags>Tags</a></li><li class="ml-2 mr-2"><a href=/hugo-theme-minima/series>Series</a></li></ul><ul class="flex item-center text-sm font-bold"><li class=ml-2><a href=https://mivinci.github.io/hugo-theme-minima/>EN</a></li><li class=ml-2><a href=https://mivinci.github.io/hugo-theme-minima/zh-cn/>简中</a></li></ul></nav></div></header><div class="container mx-auto"><h1 class="text-4xl font-extrabold mt-6 mb-6">About</h1><div class="mb-3 text-sm flex justify-between"><div>Post at &mdash; Jul 10, 2019</div></div><main class=mb-8><p></p><article class=md><p>A clean and minimal Hugo theme porting from <a href=https://github.com/adisaktijrs/hexo-theme-minima>Hexo Minima</a>. Check out the <a href=https://mivinci.github.io/hugo-theme-minima>example site</a>.</p><p><img src=./images/tn.png alt=screenshot></p><blockquote><p>Note that the main branch is in development stage, UI or configuration may vary.</p></blockquote><h2 id=features>Features</h2><ul><li><input checked disabled type=checkbox> Dark mode</li><li><input checked disabled type=checkbox> Multilingual mode</li><li><input checked disabled type=checkbox> Code highlighting - VSCode dark+</li><li><input checked disabled type=checkbox> Math - KaTeX</li><li><input checked disabled type=checkbox> Flowcharts - Mermaid</li><li><input checked disabled type=checkbox> Comment - Disqus, Utterances, Giscus</li><li><input checked disabled type=checkbox> Google analytics</li><li><input checked disabled type=checkbox> External link</li><li><input checked disabled type=checkbox> RSS</li></ul><h2 id=usage>Usage</h2><p>Before using Minima, make sure you&rsquo;ve got Hugo (extended version) installed on your device.</p><h3 id=installation>Installation</h3><p>You can use either <code>git submodule</code> or <code>git clone</code> to fetch this theme into the directory where Hugo places themes.</p><h4 id=git-submodule>Git Submodule</h4><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>git submodule add --depth <span class=m>1</span> https://github.com/mivinci/hugo-theme-minima.git themes/minima
</code></pre></td></tr></table></div></div><h4 id=git-clone>Git Clone</h4><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre class=chroma><code><span class=lnt>1
</span></code></pre></td><td class=lntd><pre class=chroma><code class=language-bash data-lang=bash>git clone https://github.com/mivinci/hugo-theme-minima.git themes/minima
</code></pre></td></tr></table></div></div><h3 id=configuration>Configuration</h3><p>Follow <a href=https://github.com/Mivinci/hugo-theme-minima/blob/main/exampleSite/config.yaml>exampleSite/config.yaml</a> and edit your own one.</p><h2 id=supported-front-matters>Supported Front Matters</h2><table><thead><tr><th style=text-align:left>Attr</th><th style=text-align:left>Type</th><th style=text-align:left>Explanation</th></tr></thead><tbody><tr><td style=text-align:left>title</td><td style=text-align:left>string</td><td style=text-align:left>title</td></tr><tr><td style=text-align:left>description</td><td style=text-align:left>string</td><td style=text-align:left>description</td></tr><tr><td style=text-align:left>date</td><td style=text-align:left>string</td><td style=text-align:left>creation time</td></tr><tr><td style=text-align:left>categories</td><td style=text-align:left>array</td><td style=text-align:left>category list</td></tr><tr><td style=text-align:left>series</td><td style=text-align:left>array</td><td style=text-align:left>series list</td></tr><tr><td style=text-align:left>tags</td><td style=text-align:left>array</td><td style=text-align:left>tag list</td></tr><tr><td style=text-align:left>math</td><td style=text-align:left>bool</td><td style=text-align:left>enables math plugin</td></tr><tr><td style=text-align:left>diagram</td><td style=text-align:left>bool</td><td style=text-align:left>enables diagram plugin</td></tr><tr><td style=text-align:left>comment</td><td style=text-align:left>bool</td><td style=text-align:left>enable comment plugin</td></tr><tr><td style=text-align:left>draft</td><td style=text-align:left>bool</td><td style=text-align:left>disallow being published</td></tr><tr><td style=text-align:left>link</td><td style=text-align:left>string</td><td style=text-align:left>a URL to redirect to</td></tr></tbody></table><h2 id=contribution>Contribution</h2><p>I&rsquo;m currently looking for i18n contributors :)</p><h2 id=feedback>Feedback</h2><p>Feedbacks are welcome <a href=https://github.com/Mivinci/hugo-theme-minima/issues>here</a>.</p><h2 id=star-history>Star History</h2><p><a href=https://star-history.com/#star-history/star-history&Date><img src="https://api.star-history.com/svg?repos=mivinci/hugo-theme-minima&type=Date" alt="Star History Chart"></a></p><h2 id=license>License</h2><p>Hugo Minima is MIT licensed.</p></article></main><div id=comment></div><script>const s=document.createElement("script");s.src="https://giscus.app/client.js",s.crossOrigin="anonymous",s.async=!0,s.setAttribute("data-repo","mivinci/hugo-theme-minima"),s.setAttribute("data-repo-id","MDEwOlJlcG9zaXRvcnkzODcxMjM2NDU="),s.setAttribute("data-category","Comments"),s.setAttribute("data-category-id","DIC_kwDOFxMJvc4CScQm"),s.setAttribute("data-mapping","pathname"),s.setAttribute("data-strict","0"),s.setAttribute("data-reactions-enabled","1"),s.setAttribute("data-emit-metadata","0"),s.setAttribute("data-input-position","buttom"),s.setAttribute("data-theme",window.minima_theme+"_protanopia"),s.setAttribute("data-lang","en"),s.setAttribute("data-loading","lazy"),document.getElementById("comment").appendChild(s)</script></div><footer class="mt-8 mb-8"><div class="container mx-auto"><div class="mt-8 flex flex-col-reverse sm:flex-row sm:justify-between items-center"><p class="mt-0 text-sm">© 2023 X |
<a href=https://gohugo.io target=_blank rel="noopener noreferrer">Hugo</a> on
<a href=https://github.com/mivinci/hugo-theme-minima target=_blank rel="noopener noreferrer">Minima</a></p><p class="flex items-center mt-0"><a class="icon ml-1 mr-1" href=https://twitter.com/realmivinci title=twitter><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 3a10.9 10.9.0 01-3.14 1.53 4.48 4.48.0 00-7.86 3v1A10.66 10.66.0 013 4s-4 9 5 13a11.64 11.64.0 01-7 2c9 5 20 0 20-11.5a4.5 4.5.0 00-.08-.83A7.72 7.72.0 0023 3z"/></svg></a><a class="icon ml-1 mr-1" href=mailto:mivinci@qq.com title=email><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 21" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1.0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1.0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><path d="M22 6l-10 7L2 6"/></svg></a><a class="icon ml-1 mr-1" href=https://github.com/mivinci/hugo-theme-minima title=github><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37.0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44.0 0020 4.77 5.07 5.07.0 0019.91 1S18.73.65 16 2.48a13.38 13.38.0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07.0 005 4.77 5.44 5.44.0 003.5 8.55c0 5.42 3.3 6.61 6.44 7A3.37 3.37.0 009 18.13V22"/></svg></a><a class="icon ml-1 mr-1" href=/index.xml title=rss><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 11a9 9 0 019 9M4 4a16 16 0 0116 16"/><circle cx="5" cy="19" r="1"/></svg></a></p></div></div></footer></body></html>