diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml deleted file mode 100644 index e1cf64f..0000000 --- a/.github/workflows/site.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Site - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-20.04 - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - uses: actions/checkout@v2 - with: - submodules: true - fetch-depth: 0 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.85.0' - extended: true - - - name: Build - run: make build - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./exampleSite/public - # cname: h.xjj.pub \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 551cd43..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.DS_Store -public -resources -.hugo_build.lock \ No newline at end of file diff --git a/testdata/rss.xml b/.nojekyll similarity index 100% rename from testdata/rss.xml rename to .nojekyll diff --git a/404.html b/404.html new file mode 100644 index 0000000..e1ef24b --- /dev/null +++ b/404.html @@ -0,0 +1,3 @@ +Hugo on Minima - 404 Page not found

Oops!

404 Not Found

\ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index e4483e2..0000000 --- a/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2021 YOUR_NAME_HERE - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile deleted file mode 100644 index 4451d6b..0000000 --- a/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -source=exampleSite -themeDir=../.. - -.PHONY: dev, build, clean - -dev: - hugo server -D -s $(source) --themesDir $(themeDir) --disableFastRender - -build: - hugo -D --gc --minify -s $(source) --themesDir $(themeDir) - -clean: - rm -r $(source)/public - rm -r exampleSite/resources \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 18e1afb..0000000 --- a/README.md +++ /dev/null @@ -1,79 +0,0 @@ -# Minima - -Minima is a clean and minimal Hugo theme originally ported from [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). Check out the [example site](https://mivinci.github.io/hugo-theme-minima). - -![screenshot](./images/tn.png) - -> Note that the main branch is in development phase, UI or configuration may vary. - - -## Features - -- [x] 🌗 Dark mode -- [x] 📚 Multilingual mode -- [x] 🏳️‍🌈 Code highlighting - VSCode dark+ -- [x] 🔢 Math - KaTeX -- [x] 💹 Flowcharts - Mermaid -- [x] 🧑‍💻 Comment - Disqus, Utterances, Giscus -- [x] 🔎 Search - FuseJS -- [x] 〽️ Google analytics -- [x] 🔗 External link -- [x] ✉️ RSS - -## Usage - -Before using Minima, make sure you've got Hugo (extended version) installed on your device. - -### Installation - -You can use either `git submodule` or `git clone` to fetch this theme into the directory where Hugo places themes. - -#### Git Submodule - -```bash -git submodule add --depth 1 https://github.com/mivinci/hugo-theme-minima.git themes/minima -``` - -#### Git Clone - -```bash -git clone https://github.com/mivinci/hugo-theme-minima.git themes/minima -``` - - -### Configuration - -Follow [exampleSite/config.yaml](https://github.com/Mivinci/hugo-theme-minima/blob/main/exampleSite/config.yaml) and edit your own one. - -## Supported Front Matters - -| Attr | Type | Explanation | -|:----------- |:------ |:------------| -| title | string | title | -| description | string | description | -| date | string | creation time | -| categories | array | category list | -| series | array | series list | -| tags | array | tag list | -| math | bool | enables math plugin | -| diagram | bool | enables diagram plugin | -| comment | bool | enable comment plugin | -| draft | bool | disallow being published | -| link | string | a URL to redirect to | - - -## Contribution - -I'm currently looking for i18n contributors :) - -## Feedback - -Feedbacks are welcome [here](https://github.com/Mivinci/hugo-theme-minima/issues). - -## Star History - -[![Star History Chart](https://api.star-history.com/svg?repos=mivinci/hugo-theme-minima&type=Date)](https://star-history.com/#star-history/star-history&Date) - -## License - -Hugo Minima is MIT licensed. diff --git a/about/index.html b/about/index.html new file mode 100644 index 0000000..12c4e0a --- /dev/null +++ b/about/index.html @@ -0,0 +1,11 @@ +Hugo on Minima - About

About

Post at — Jul 10, 2019

A clean and minimal Hugo theme porting from Hexo Minima. Check out the example site.

screenshot

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’ve got Hugo (extended version) installed on your device.

Installation

You can use either git submodule or git clone to fetch this theme into the directory where Hugo places themes.

Git Submodule

1
+
git submodule add --depth 1 https://github.com/mivinci/hugo-theme-minima.git themes/minima
+

Git Clone

1
+
git clone https://github.com/mivinci/hugo-theme-minima.git themes/minima
+

Configuration

Follow exampleSite/config.yaml and edit your own one.

Supported Front Matters

AttrTypeExplanation
titlestringtitle
descriptionstringdescription
datestringcreation time
categoriesarraycategory list
seriesarrayseries list
tagsarraytag list
mathboolenables math plugin
diagramboolenables diagram plugin
commentboolenable comment plugin
draftbooldisallow being published
linkstringa URL to redirect to

Contribution

I’m currently looking for i18n contributors :)

Feedback

Feedbacks are welcome here.

Star History

Star History Chart

License

Hugo Minima is MIT licensed.

\ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index a845151..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/assets/css/atom.scss b/assets/css/atom.scss deleted file mode 100644 index 54fdce1..0000000 --- a/assets/css/atom.scss +++ /dev/null @@ -1,103 +0,0 @@ -@mixin breakpoint($k, $v) { - @if $k == "" { - @content; - } - @else { - @media (min-width: $v) { - @content; - } - } -} - -/* classes that breakpoints are necessary for */ -$screens: ("", 0), (sm\:, 640px); -@each $k, $v in $screens { - @include breakpoint($k, $v) { - .#{$k}flex { display: flex; } - - .#{$k}flex-row { flex-direction: row; } - - .#{$k}flex-col { flex-direction: column; } - - .#{$k}flex-col-reverse { flex-direction: column-reverse; } - - .#{$k}justify-between { justify-content: space-between; } - - .#{$k}items-center { align-items: center; } - - .#{$k}items-start { align-items: flex-start; } - - .#{$k}items-end { align-items: flex-end; } - - .#{$k}items-baseline { align-items: baseline; } - - .#{$k}text-center { text-align: center; } - - .#{$k}text-left { text-align: left; } - } -} - -/* layout */ -.container { - max-width: var(--max-w); -} - -.hidden { - display: none; -} - -.overflow-x-auto { - overflow-x: auto; -} - -.overflow-y-hidden { - overflow-y: hidden; -} - -/* spacing */ -$u: 0.25; -@each $i, $class in (p, padding), (m, margin) { - @each $j, $size in (t, top), (r, right), (b, bottom), (l, left) { - @each $k in 0,1,2,3,4,5,6,7,8 { - .#{$i}#{$j}-#{$k} { - #{$class}-#{$size}: #{$u * $k}rem; - } - } - } -} - -.mx-auto { - margin-left: auto; - margin-right: auto; -} - -/* typography */ -$weights: (thin, 100), (extralight, 200), (light, 300), (normal, 400), - (medium, 500), (semibold, 600), (bold, 700), (extrabold, 800); -@each $k, $v in $weights { - .font-#{$k} { - font-weight: #{$v}; - } -} - -$texts: (xs, 0.75), (sm, 0.875), (base, 1), (lg, 1.125), (xl, 1.25), - (2xl, 1.5), (3xl, 1.875), (4xl, 2.25), (5xl, 3), (6xl, 3.75); -@each $k, $s in $texts { - .text-#{$k} { - font-size: #{$s}rem; - } -} - -.whitespace-nowrap { - white-space: nowrap; -} - -.list-disc { - list-style-type: disc; - padding-inline-start: 22px; -} - -/* interactivity */ -.cursor-pointer { - cursor: pointer; -} \ No newline at end of file diff --git a/assets/css/main.scss b/assets/css/main.scss deleted file mode 100644 index ae8e840..0000000 --- a/assets/css/main.scss +++ /dev/null @@ -1,73 +0,0 @@ -@import "./pre.scss"; -@import "./theme.scss"; -@import "./atom.scss"; -@import "./md.scss"; -@import "./syntax.scss"; - - -:root { - --max-w: 1080px; - --font: -apple-system, BlinkMacSystemFont, 'MiSans Latin', MiSans, 'Segoe UI', Roboto, Oxygen, Ubuntu, - Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; -} - -html { - font-size: 16px; - -webkit-text-size-adjust: 100%; - -ms-overflow-style: -ms-autohiding-scrollbar; - box-sizing: border-box; - border-collapse: collapse; -} - -body { - margin: 0 16px; - font-family: var(--font); - font-weight: 400; - line-height: 2.2; - background-image: var(--back-image); - background-color: var(--back); - color: var(--text); - transition-property: background-color, border-color, color; - transition-duration: 0.5s; -} - -main { - animation: showup 0.7s; -} - -main p a { - color: var(--prime); -} - -main p a:hover { - text-decoration: underline; -} - -main .search > input { - width: 100%; - padding: .5em; - font-size: large; - border: 2px solid var(--grid); - border-radius: 2px; - background-color: transparent; - outline: none; -} - -@keyframes showup { - from { - opacity: 0; - transform: translateY(20px); - } - - to { - opacity: 1; - transform: none; - } -} - -@media (min-width: 640px) { - body { - margin-top: calc(1rem + 2vh); - } -} \ No newline at end of file diff --git a/assets/css/md.scss b/assets/css/md.scss deleted file mode 100644 index dc6a07b..0000000 --- a/assets/css/md.scss +++ /dev/null @@ -1,118 +0,0 @@ -$heading: (h1, 2.25, 800), (h2, 2, 700), (h3, 1.75, 600), (h4, 1.5, 600), - (h5, 1.25, 500), (h6, 1, 400); -@each $tag, $size, $weight in $heading { - .md #{$tag} { - font-size: #{$size}rem; - font-weight: $weight; - margin-top: 1rem; - margin-bottom: .75rem; - } -} - -.md p { - margin: .75rem 0; -} - -.md pre { - font-size: 13px; - line-height: 1.3; -} - -.md blockquote { - background-color: #94949514; - padding: 1px .85em; - border-left: 4px solid var(--prime); - font-style: italic; -} - -.md table { - border-collapse: collapse; - border-spacing: 0; - display: block; - max-width: 100%; - width: 100%; - margin: 1em 0; - overflow: auto; -} - -.md table thead { - border-top: 2px solid var(--text); - border-bottom: 1px solid var(--text); -} - -.md table tbody { - border-bottom: 2px solid var(--text); -} - -.md table th, -.md table td { - padding: .25rem 1rem; -} - -.md img { - max-width: 100%; -} - -.md .katex { - overflow: auto hidden; -} - -.md ul { - list-style: disc; - padding-inline-start: 30px; -} - -.md ol { - list-style: decimal; - padding-inline-start: 30px; -} - -.md ul input[type="checkbox"] { - margin: 0; - margin-right: 5px; -} - -.md ul:has(input) { - list-style: none; - padding-inline-start: 8px; -} - -.md li { - margin-bottom: .5rem; - line-height: 1.5; -} - -.md ol, -.md ul, -.md img, -.md blockquote, -.md .highlight { - margin: .75rem 0; -} - -.md blockquote p { - margin: .45rem 0; - line-height: 1.5; - font-size: .95rem; -} - -.md hr { - margin: 1.5rem 0; -} - -.md .footnotes { - word-break: break-all; - font-size: .9rem; -} - -.md p sup { - margin-left: 4px; -} - -.md a { - color: var(--prime); -} - -.md a:hover { - text-decoration: underline; -} \ No newline at end of file diff --git a/assets/css/pre.scss b/assets/css/pre.scss deleted file mode 100644 index ea1e211..0000000 --- a/assets/css/pre.scss +++ /dev/null @@ -1,141 +0,0 @@ -/* This file is taken from https://github.com/tailwindlabs/tailwindcss/blob/master/src/css/preflight.css */ - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -5. Use the user's configured `sans` font-feature-settings by default. -*/ -html { - --default-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, - Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - line-height: 1.5; - font-family: var(--font, --default-font); - font-feature-settings: normal; -} - - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ -body { - margin: 0; - line-height: inherit; -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ -hr { - height: 0; /* 1 */ - color: inherit; /* 2 */ - border-top-width: 1px; /* 3 */ - border-color: var(--grid, inherit); -} - -/* -Remove the default font size and weight for headings. -*/ -p, -pre, -figure, -dl, -dd, -blockquote, -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0; - font-size: inherit; - font-weight: inherit; -} - -.tag, -p code { - font-size: .8em; - padding: 0.1em 0.3em; - border-radius: 1px; - background-color: #9999993b; -} - - -ol, -ul, -menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ -a { - color: inherit; - text-decoration: inherit; -} - -a:hover { - color: var(--prime, inherit); -} - -/* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. -*/ - - -kbd, -samp, -pre, -code { - --default-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - font-family: var(--font-mono, --default-font-mono); -} - - -pre { - overflow-x: auto; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ -table { - text-indent: 0; /* 1 */ - border-color: inherit; /* 2 */ - border-collapse: collapse; /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ -button, -select { - text-transform: none; -} - -::-webkit-scrollbar { - width: 4px; - height: 4px; -} - -::-webkit-scrollbar-thumb { - background: rgba(128, 128, 128, 0.7); -} -::-webkit-scrollbar-thumb:window-inactive { - background: rgba(128, 128, 128, 0.2); -} - -::-webkit-scrollbar-thumb:active { - background-color: rgb(128, 128, 128); -} diff --git a/assets/css/syntax.scss b/assets/css/syntax.scss deleted file mode 100644 index 5d0a0ba..0000000 --- a/assets/css/syntax.scss +++ /dev/null @@ -1,147 +0,0 @@ -.chroma { - margin: .5em 0; - background-image: var(--back-image); - background-color: var(--code-back); - border-radius: 2px; -} - -.chroma code { - color: var(--code-text); -} - -/* LineTableTD */ -.chroma .lntd { - vertical-align: top; - padding: 0; - margin: 0; - border: 0; -} - -.chroma .lntable tbody { - border: 0; -} - -.chroma .lntable td:nth-child(2) { - width: 100%; -} - -.chroma .lnt, -.chroma .line { - display: block; - line-height: 1.3; -} - -/* LineNumbersTable */ -.chroma .lnt { - color: var(--code-line-number); - padding-left: .9em; - padding-right: 1em; - text-align: right; - user-select: none; - -moz-user-select: none; - -webkit-user-select: none; -} - -.chroma .hl .lnt { - display: inline; -} - -/* Keyword */ -.chroma .kc, -.chroma .kd, -.chroma .kn, -.chroma .kp, -.chroma .kr, -// .chroma .kt, -.chroma .k, -.chroma .si { - color: var(--code-keyword); -} - -.chroma .na { - color: var(--code-attribute); -} - -// .chroma .n, -.chroma .nb, -.chroma .bp, -// .chroma .nc, -.chroma .no, -.chroma .nd, -.chroma .ni, -.chroma .ne, -// .chroma .nf, -.chroma .fm, -.chroma .nl, -.chroma .nn { - color: var(--code-keyword); -} - -/* NameProperty */ -.chroma .py, -.chroma .nt, -.chroma .nv, -.chroma .vc, -.chroma .vg, -.chroma .vi, -.chroma .vm { - color: var(--code-keyword); -} - -/* LiteralString */ -.chroma .s, -.chroma .sa, -.chroma .sb, -.chroma .sc, -.chroma .dl, -.chroma .sd, -.chroma .s2, -.chroma .se, -.chroma .sh, -.chroma .sx, -.chroma .sr, -.chroma .s1, -.chroma .ss, -.chroma .cpf { - color: var(--code-literal-string); -} - -/* LiteralNumber */ -.chroma .m, -.chroma .mb, -.chroma .mf, -.chroma .mh, -.chroma .mi, -.chroma .il, -.chroma .mo { - color: var(--code-literal-number); -} - -/* Comment */ -.chroma .c, -.chroma .ch, -.chroma .cm, -.chroma .c1, -.chroma .cs { - color: var(--code-comment); -} - -.chroma .nb, -.chroma .kt { - color: var(--code-builtin-type); -} - -.chroma .fm, -.chroma .nf { - color: var(--code-function); -} - - -.chroma .cp { - color: var(--code-meta); -} - -.chroma .hl { - display: block; - background-color: var(--code-highlighted-line); -} diff --git a/assets/css/theme.scss b/assets/css/theme.scss deleted file mode 100644 index 9cc4561..0000000 --- a/assets/css/theme.scss +++ /dev/null @@ -1,69 +0,0 @@ -:root { - // code highlighting - --code-back: #f6f8fa; - --code-text: #24292f; - --code-line-number: #999; - --code-keyword: #cf222e; - --code-attribute: #0550ae; - --code-literal-string: #0a3069; - --code-literal-number: #b5cea8; - --code-comment: #6e7781; - --code-builtin-type: #cf222e; - --code-function: #0550ae; - --code-meta: #cf222e; - --code-highlighted-line: #e9e9e9; -} - -.light { - --prime: #3170a7; - --grid: #e1e1e1; - --back: #fff; - --text: #333; -} - -.dark { - --prime: #3170a7; - --back: #181818; - --text: silver; - --grid: #555; - - // code highlighting - --code-back: #1d1d1d; - --code-text: #d4d4d4cc; - --code-line-number: #999999ca; - --code-keyword: #569cd6cb; - --code-attribute: #9cdcfecb; - --code-literal-string: #ce9178; - --code-literal-number: #b5cea8; - --code-comment: #517043d5; - --code-builtin-type: #4ec9b0cb; - --code-function: #dcdcaaca; - --code-meta: #c586c0cb; - --code-highlighted-line: #9494951b; -} - -.sand { - --prime: #3170a7; - --back: #e6dece; - --text: #434343; - --grid: #555; - - --code-back: #dbd3c1be; - --code-text: #24292f; - --code-highlighted-line: #cec3ac; - - --back-image: url('texture.png'); -} - -.rock { - --prime: #3170a7; - --back: #ccc; - --text: #434343; - --grid: #555; - - --code-back: #c1c1c1be; - --code-text: #24292f; - --code-highlighted-line: #afaeae; - - --back-image: url('texture.png'); -} \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index 347b862..0000000 --- a/assets/js/main.js +++ /dev/null @@ -1,6 +0,0 @@ -import { setup_theme_switch } from "./theme" -import { setup_selectable } from './selectable' - - -setup_theme_switch('theme-switch') -setup_selectable() diff --git a/assets/js/min/fuse.basic.min.js b/assets/js/min/fuse.basic.min.js deleted file mode 100644 index 89477c6..0000000 --- a/assets/js/min/fuse.basic.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2022 Kiro Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ -var e,t;e=this,t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var i=t.match(_).length;if(n.has(i))return n.get(i);var o=1/Math.pow(i,.5*e),a=parseFloat(Math.round(o*r)/r);return n.set(i,a),a},clear:function(){n.clear()}}}var O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,i=void 0===n?L.getFn:n,o=t.fieldNormWeight,a=void 0===o?L.fieldNormWeight:o;r(this,e),this.norm=S(a,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return o(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,u(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();u(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?L.getFn:r,o=n.fieldNormWeight,a=void 0===o?L.fieldNormWeight:o,c=new O({getFn:i,fieldNormWeight:a});return c.setKeys(e.map(k)),c.setSources(t),c.create(),c}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,a=t.expectedLocation,c=void 0===a?0:a,s=t.distance,h=void 0===s?L.distance:s,u=t.ignoreLocation,l=void 0===u?L.ignoreLocation:u,d=r/e.length;if(l)return d;var f=Math.abs(c-o);return h?d+f/h:f?1:d}function E(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L.minMatchCharLength,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}var I=32;function F(e){for(var t={},n=0,r=e.length;n1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,a=void 0===o?L.location:o,c=i.threshold,s=void 0===c?L.threshold:c,h=i.distance,u=void 0===h?L.distance:h,l=i.includeMatches,d=void 0===l?L.includeMatches:l,f=i.findAllMatches,v=void 0===f?L.findAllMatches:f,g=i.minMatchCharLength,y=void 0===g?L.minMatchCharLength:g,p=i.isCaseSensitive,m=void 0===p?L.isCaseSensitive:p,b=i.ignoreLocation,k=void 0===b?L.ignoreLocation:b;if(r(this,e),this.options={location:a,threshold:s,distance:u,includeMatches:d,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:m,ignoreLocation:k},this.pattern=m?t:t.toLowerCase(),this.chunks=[],this.pattern.length){var M=function(e,t){n.chunks.push({pattern:e,alphabet:F(e),startIndex:t})},w=this.pattern.length;if(w>I){for(var x=0,_=w%I,S=w-_;x3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?L.location:i,a=r.distance,c=void 0===a?L.distance:a,s=r.threshold,h=void 0===s?L.threshold:s,u=r.findAllMatches,l=void 0===u?L.findAllMatches:u,d=r.minMatchCharLength,f=void 0===d?L.minMatchCharLength:d,v=r.includeMatches,g=void 0===v?L.includeMatches:v,y=r.ignoreLocation,m=void 0===y?L.ignoreLocation:y;if(t.length>I)throw new Error(p(I));for(var b,k=t.length,M=e.length,w=Math.max(0,Math.min(o,M)),x=h,_=w,S=f>1||g,O=S?Array(M):[];(b=e.indexOf(t,_))>-1;){var A=j(t,{currentLocation:b,expectedLocation:w,distance:c,ignoreLocation:m});if(x=Math.min(A,x),_=b+k,S)for(var F=0;F=T;R-=1){var U=R-1,B=n[e.charAt(U)];if(S&&(O[U]=+!!B),J[R]=(J[R+1]<<1|1)&B,$&&(J[R]|=(C[R+1]|C[R])<<1|1|C[R+1]),J[R]&W&&(N=j(t,{errors:$,currentLocation:U,expectedLocation:w,distance:c,ignoreLocation:m}))<=x){if(x=N,(_=U)<=w)break;T=Math.max(1,2*w-_)}}if(j(t,{errors:$+1,currentLocation:w,expectedLocation:w,distance:c,ignoreLocation:m})>x)break;C=J}var V={isMatch:_>=0,score:Math.max(.001,N)};if(S){var q=E(O,f);q.length?g&&(V.indices=q):V.isMatch=!1}return V}(e,n,i,{location:a+o,distance:s,threshold:h,findAllMatches:u,minMatchCharLength:l,includeMatches:r,ignoreLocation:d}),m=y.isMatch,b=y.score,k=y.indices;m&&(g=!0),v+=b,m&&k&&(f=[].concat(c(f),c(k)))}));var y={isMatch:g,score:g?v/this.chunks.length:1};return g&&r&&(y.indices=f),y}}]),e}(),N=[];function P(e,t){for(var n=0,r=N.length;n-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function D(e,t){t.score=e.score}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?L.includeMatches:r,o=n.includeScore,a=void 0===o?L.includeScore:o,c=[];return i&&c.push($),a&&c.push(D),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return c.length&&c.forEach((function(t){t(e,r)})),r}))}var T=function(){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;if(r(this,e),this.options=t(t({},L),i),this.options.useExtendedSearch)throw new Error(y);this._keyStore=new b(this.options.keys),this.setCollection(n,o)}return o(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof O))throw new Error("Incorrect 'index' type");this._myIndex=t||A(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){f(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,a=i.includeScore,c=i.shouldSort,s=i.sortFn,h=i.ignoreFieldNorm,d=u(e)?u(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return W(d,{ignoreFieldNorm:h}),c&&d.sort(s),l(r)&&r>-1&&(d=d.slice(0,r)),K(d,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(e){var t=P(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(f(n)){var a=t.searchIn(n),c=a.isMatch,s=a.score,h=a.indices;c&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:h}]})}})),r}},{key:"_searchLogical",value:function(e){throw new Error("Logical search is not available")}},{key:"_searchObjectList",value:function(e){var t=this,n=P(e,this.options),r=this._myIndex,i=r.keys,o=r.records,a=[];return o.forEach((function(e){var r=e.$,o=e.i;if(f(r)){var s=[];i.forEach((function(e,i){s.push.apply(s,c(t._findMatches({key:e,value:r[i],searcher:n})))})),s.length&&a.push({idx:o,item:r,matches:s})}})),a}},{key:"_findMatches",value:function(e){var t=e.key,n=e.value,r=e.searcher;if(!f(n))return[];var i=[];if(h(n))n.forEach((function(e){var n=e.v,o=e.i,a=e.n;if(f(n)){var c=r.searchIn(n),s=c.isMatch,h=c.score,u=c.indices;s&&i.push({score:h,key:t,value:n,idx:o,norm:a,indices:u})}}));else{var o=n.v,a=n.n,c=r.searchIn(o),s=c.isMatch,u=c.score,l=c.indices;s&&i.push({score:u,key:t,value:o,norm:a,indices:l})}return i}}]),e}();return T.version="6.6.2",T.createIndex=A,T.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?L.getFn:n,i=t.fieldNormWeight,o=void 0===i?L.fieldNormWeight:i,a=e.keys,c=e.records,s=new O({getFn:r,fieldNormWeight:o});return s.setKeys(a),s.setIndexRecords(c),s},T.config=L,T},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Fuse=t(); \ No newline at end of file diff --git a/assets/js/search.js b/assets/js/search.js deleted file mode 100644 index ba1455e..0000000 --- a/assets/js/search.js +++ /dev/null @@ -1,24 +0,0 @@ -import * as params from '@params'; - -const search_input = document.querySelector("#search-input"); -const search_result = document.querySelector("#search-result"); - -let fuse; - -window.onload = async function() { - const data = await fetch("../index.json").then(res => res.json()); - const opts = params.search.fuse; - fuse = new Fuse(data, opts); -} - -search_input.addEventListener("input", function () { - if (!fuse) return; - const results = fuse.search(this.value.trim()); - let html = ''; - if (results.length > 0) { - for (const v of results) { - html += `
  • ${v.item.title}
  • `; - } - } - search_result.innerHTML = html; -}) diff --git a/assets/js/selectable.js b/assets/js/selectable.js deleted file mode 100644 index 74e1dc8..0000000 --- a/assets/js/selectable.js +++ /dev/null @@ -1,8 +0,0 @@ -import * as params from '@params'; - -export function setup_selectable () { - const selectable = params.selectable - if (!selectable) { - document.documentElement.style = 'user-select:none' - } -} \ No newline at end of file diff --git a/assets/js/theme.js b/assets/js/theme.js deleted file mode 100644 index f35d309..0000000 --- a/assets/js/theme.js +++ /dev/null @@ -1,75 +0,0 @@ -import * as params from '@params'; - -const comment = params.comment.provider -const default_theme_config = params.defaulttheme -const icon_light = params.switch[1] -const icon_dark = params.switch[0] -const THEME_LIGHT = default_theme_config === 'system' ? 'light' : default_theme_config -const THEME_DARK = 'dark' - -/** @type {HTMLElement} */ -let toggler -/** @type {HTMLIFrameElement} */ -let utterances -/** @type {HTMLIFrameElement} */ -let giscus - -/** @param {string} id */ -export function setup_theme_switch(id) { - if (!toggler) { - toggler = document.getElementById(id) - } - toggler.innerHTML = localStorage.theme === THEME_LIGHT ? icon_light : icon_dark - toggler.addEventListener('click', switch_theme); -} - -function switch_theme() { - const current = localStorage.getItem('theme') - const next = current === THEME_LIGHT ? THEME_DARK : THEME_LIGHT - - switch_minima_theme(current, next) - - switch (comment) { - case 'utterances': - switch_utterances_theme(`github-${next}`) - break - case 'giscus': - switch_giscus_theme(next) - break - default: - } -} - -/** - * @param {string} current - * @param {string} next - */ -function switch_minima_theme(current, next) { - const { classList } = document.documentElement - const icon = next === THEME_LIGHT ? icon_light : icon_dark; - - classList.remove(current); - classList.add(next); - localStorage.setItem('theme', next); - toggler.innerHTML = icon; -} - -/** @param {string} theme */ -function switch_utterances_theme(theme) { - if (theme !== 'dark') { - theme = 'light' - } - utterances = utterances || document.querySelector('iframe.utterances-frame') - if (!utterances) return - utterances.contentWindow.postMessage({ type: 'set-theme', theme }, 'https://utteranc.es') -} - -/** @param {string} theme */ -function switch_giscus_theme(theme) { - if (theme !== 'dark') { - theme = 'light_protanopia' - } - giscus = giscus || document.querySelector('iframe.giscus-frame') - if (!giscus) return - giscus.contentWindow.postMessage({ giscus: { setConfig: { theme } } }, 'https://giscus.app') -} diff --git a/categories/index.html b/categories/index.html new file mode 100644 index 0000000..dd771cc --- /dev/null +++ b/categories/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - Categories

    Categories

      \ No newline at end of file diff --git a/categories/index.xml b/categories/index.xml new file mode 100644 index 0000000..7b89599 --- /dev/null +++ b/categories/index.xml @@ -0,0 +1 @@ +Categories on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/categories/Recent content in Categories on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 X \ No newline at end of file diff --git a/config.toml b/config.toml deleted file mode 100644 index 24fe028..0000000 --- a/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -[module] - [module.hugoVersion] - extended = true \ No newline at end of file diff --git a/data/svg.toml b/data/svg.toml deleted file mode 100644 index 8b34e08..0000000 --- a/data/svg.toml +++ /dev/null @@ -1,14 +0,0 @@ -github = 'stroke-linecap="round" stroke-linejoin="round">' -email = '' -linkedin = '' -twitter = '' -facebook = '' -rss = '' -instagram = '' -mastodon = '' -keybase = ' ' -matrix = '' -neteasemusic= '' -paypal = '' -pgpkey = '' -qq = '' diff --git a/en/index.html b/en/index.html new file mode 100644 index 0000000..cc64750 --- /dev/null +++ b/en/index.html @@ -0,0 +1 @@ +https://mivinci.github.io/hugo-theme-minima \ No newline at end of file diff --git a/en/sitemap.xml b/en/sitemap.xml new file mode 100644 index 0000000..618a32b --- /dev/null +++ b/en/sitemap.xml @@ -0,0 +1 @@ +https://mivinci.github.io/hugo-theme-minima/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/tags/markdown/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/markdown-syntax/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/tags/mermaid/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/tags/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/link/2021-07-17T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/tags/katex/2020-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/math-typesetting/2020-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/about/2019-07-10T11:24:06+08:00https://mivinci.github.io/hugo-theme-minima/categories/https://mivinci.github.io/hugo-theme-minima/series/ \ No newline at end of file diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml deleted file mode 100644 index 148ef5e..0000000 --- a/exampleSite/config.yaml +++ /dev/null @@ -1,157 +0,0 @@ -baseURL: https://mivinci.github.io/hugo-theme-minima -languageCode: en-us -title: Hugo on Minima -copyright: © 2020-2023 X -googleAnalytics: -# paginate specifies the maximum number of posts displayed on the home page. -paginate: 12 -# theme specifies the name of the theme to be used. -theme: hugo-theme-minima -# defaultContentLanguage specifies the default language to use. -defaultContentLanguage: en -# language.xxx setup -languages: - en: - languageName: EN # will be displayed in the navbar. - weight: 1 - zh-cn: - languageName: 简中 # will be displayed in the navbar. - weight: 2 - author: - status: 目前住在地球 🌍 - description: | - 这是 Minima, 一个简洁的 Hugo 主题,移植自 [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima)。 - 支持深色模式、多语言、数学公式、流程图、代码语法高亮,当然还有分类、标签、系列等等。 - params: - greet: 你好 :) - -# author specifies your name, a slogon and your brief self-introduction. -author: - name: X - status: Currently living on Earth 🌍 - description: | - This is Minima, a clean and minimal Hugo theme porting from - [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). It has supports - for dark mode, multilingual mode, math formulas, flowcharts, syntax highlighting, - and of course taxonomies like categories, tags, and series. - -params: - # greet specifies greeting words. - greet: Hello :) - # subtitle speficies a subtitle displayed right after the site title. - subtitle: - # switch specifies two emojis used as the button toggling color themes. - switch: ["🌚", "🌝"] - # minima has one dark theme and multiple light themes. defaultTheme specifies - # a default light theme to use. currently available options: light, sand, rock, system. - defaultTheme: light - # displayDate speficies whether or not to display post date on the home page. - displayDate: true - # displayDescription specifies whether or not to display post description on - # the hoem page. - displayDescription: true - # selectable specifies if or not your post content can be selected. - selectable: true - # social is an array containing as many as social accounts to be displayed - # in the buttom of every page. - social: - - name: "twitter" - url: "https://twitter.com/realmivinci" - - name: "email" - url: "mailto:mivinci@qq.com" - - name: "github" - url: "https://github.com/mivinci/hugo-theme-minima" - - name: "rss" - url: "/index.xml" - - # math plugin - math: - enable: false - provider: katex - - # diagram plugin - diagram: - enable: false - provider: mermaid - - # comment plugin - comment: - enable: true - provider: giscus - # check out https://disqus.com/ - disqus: - shortname: hugo-minima - # check out https://utteranc.es - utterances: - repo: mivinci/hugo-theme-minima - issueTerm: pathname - label: comment - # check out https://giscus.app - giscus: - repo: mivinci/hugo-theme-minima - repoId: MDEwOlJlcG9zaXRvcnkzODcxMjM2NDU= - category: Comments - categoryId: DIC_kwDOFxMJvc4CScQm - mapping: pathname - inputPosition: buttom # bottom | top - reactions: true - metadata: false - - # search plugin - search: - enable: true - provider: fuse - title: Search - placeholder: Enter keywords - # check out https://fusejs.io - fuse: - keys: - - title - - permalink - - summary - - content - distance: 100 - location: 0 - threshold: 0.6 - ignoreLocation: false - isCaseSensitive: false - includeScore: false - includeMatches: false - minMatchCharLength: 1 - shouldSort: true - findAllMatches: false - - -# menu.main is an array containing what is used as the navigator. -menu: - main: - - identifier: tags - name: Tags - weight: 1 - - identifier: series - name: Series - weight: 2 - - identifier: search - name: 🔍 - weight: 3 - -# taxonomies defines ways to classify yout posts. Below are some presets that -# most bloggers use, so you can replace them with whatever you like. -taxonomies: - category: categories - tag: tags - series: series - -# outputs tells Hugo the kind of files to be rendered. -outputs: - home: - - HTML - - RSS - - JSON - -# markup.highlight has two keys set to make sure that the syntax highlighting -# in your posts are rendered correctly, so DO NOT edit them. -markup: - highlight: - lineNos: true - noClasses: false diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md deleted file mode 100644 index 04b0e4a..0000000 --- a/exampleSite/content/about.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: "About" -date: 2019-07-10T11:24:06+08:00 -draft: false -type: about ---- - -A clean and minimal Hugo theme porting from [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). Check out the [example site](https://mivinci.github.io/hugo-theme-minima). - -![screenshot](./images/tn.png) - -> Note that the main branch is in development stage, UI or configuration may vary. - - -## Features - -- [x] Dark mode -- [x] Multilingual mode -- [x] Code highlighting - VSCode dark+ -- [x] Math - KaTeX -- [x] Flowcharts - Mermaid -- [x] Comment - Disqus, Utterances, Giscus -- [x] Google analytics -- [x] External link -- [x] RSS - -## Usage - -Before using Minima, make sure you've got Hugo (extended version) installed on your device. - -### Installation - -You can use either `git submodule` or `git clone` to fetch this theme into the directory where Hugo places themes. - -#### Git Submodule - -```bash -git submodule add --depth 1 https://github.com/mivinci/hugo-theme-minima.git themes/minima -``` - -#### Git Clone - -```bash -git clone https://github.com/mivinci/hugo-theme-minima.git themes/minima -``` - - -### Configuration - -Follow [exampleSite/config.yaml](https://github.com/Mivinci/hugo-theme-minima/blob/main/exampleSite/config.yaml) and edit your own one. - -## Supported Front Matters - -| Attr | Type | Explanation | -|:----------- |:------ |:------------| -| title | string | title | -| description | string | description | -| date | string | creation time | -| categories | array | category list | -| series | array | series list | -| tags | array | tag list | -| math | bool | enables math plugin | -| diagram | bool | enables diagram plugin | -| comment | bool | enable comment plugin | -| draft | bool | disallow being published | -| link | string | a URL to redirect to | - - -## Contribution - -I'm currently looking for i18n contributors :) - -## Feedback - -Feedbacks are welcome [here](https://github.com/Mivinci/hugo-theme-minima/issues). - -## Star History - -[![Star History Chart](https://api.star-history.com/svg?repos=mivinci/hugo-theme-minima&type=Date)](https://star-history.com/#star-history/star-history&Date) - -## License - -Hugo Minima is MIT licensed. diff --git a/exampleSite/content/link.md b/exampleSite/content/link.md deleted file mode 100644 index 63bba3c..0000000 --- a/exampleSite/content/link.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -author: Mivinci -title: An External Link -date: 2021-07-17T10:52:59+08:00 -description: This is a link to an external resource. -link: https://gohugo.io ---- \ No newline at end of file diff --git a/exampleSite/content/markdown-syntax.md b/exampleSite/content/markdown-syntax.md deleted file mode 100644 index 466fd3c..0000000 --- a/exampleSite/content/markdown-syntax.md +++ /dev/null @@ -1,179 +0,0 @@ ---- -author: "Hugo Authors" -title: "Markdown Syntax Guide" -date: "2021-07-18T10:52:59+08:00" -description: "Sample article showcasing basic Markdown syntax." -categories: -tags: - - markdown ---- - -This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. - - - -## Headings - -The following HTML `

      `—`

      ` elements represent six levels of section headings. `

      ` is the highest section level while `

      ` is the lowest. - -# H1 - -## H2 - -### H3 - -#### H4 - -##### H5 - -###### H6 - -## Paragraph - -Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. - -Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. - -## Blockquotes - -The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. - -#### Blockquote without attribution - -> Tiam, ad mint andaepu dandae nostion secatur sequo quae. -> **Note** that you can use *Markdown syntax* within a blockquote. - -#### Blockquote with attribution - -> Don't communicate by sharing memory, share memory by communicating.
      -> — Rob Pike[^1] - -[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. - -## Tables - -Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. - -| Name | Age | -|:----:|:---:| -| Bob | 27 | -| Alice | 23 | - -#### Inline Markdown within tables - -| Italics | Bold | Code | -|:---------:|:--------:|:------:| -| *italics* | **bold** | `code` | - -## Code Blocks - -#### Code block without code highlighting - -``` - - - - - Example HTML5 Document - - -

      Test

      - - -``` - -#### Code block with HTML - -```html - - - - - Example HTML5 Document - - -

      Test

      - - -``` - -#### Code block with Go - -```go {hl_lines=[3]} -type Registry interface { - Register(*Service, ...RegisterOption) error - Deregister(*Service, ...DeregisterOption) error - List(string, ...ListOption) ([]*Service, error) -} -``` - -#### Code block with C艹 - -```c++ -#include - -class Animal { - string name; -public: - void eat(); -} - -void Animal::eat() { - std::cout << "eat something" << std::endl; -} -``` - -#### Code block with Java - -```java -class Animal { - void speak() { /* speak */ } -} - -class Dog extends Animal { - @override - void speak() { /* bark */ } -} - -class Cat extends Animal { - @override - void speak() { /* mew */ } -} -``` - -#### Code block with Python - -```python -class Dog(Animal): - def __init__(self): - super.__init__() - - def eat(): - pass -``` - -## List Types - -#### Ordered List - -1. First item -2. Second item -3. Third item -- [x] checked -- [ ] not checked - -#### Unordered List - -* List item -* Another item -* And another item - -#### Nested list - -* Fruit - * Apple - * Orange - * Banana -* Dairy - * Milk - * Cheese diff --git a/exampleSite/content/markdown-syntax.zh-cn.md b/exampleSite/content/markdown-syntax.zh-cn.md deleted file mode 100644 index e790649..0000000 --- a/exampleSite/content/markdown-syntax.zh-cn.md +++ /dev/null @@ -1,179 +0,0 @@ ---- -author: "Mivinci" -title: "Markdown 语法指北" -date: "2021-07-18T10:52:59+08:00" -description: "一篇 Markdown 示例文章,翻译自官方示例。" -categories: -tags: - - markdown ---- - -本文提供了一个可以在 Hugo 内容文件中使用的基本 Markdown 语法示例,还展示了基本 HTML 元素是否在 Hugo 主题中使用 CSS 进行修饰。 - - - -## 标题 - -下面的 HTML `

      `—`

      ` 元素代表了六个级别的章节标题。 `

      ` 是最高的部分级别,而 `

      ` 是最低的。 - -# 一级标题 - -## 二级标题 - -### 三级标题 - -#### 四级标题 - -##### 五级标题 - -###### 六级标题 - -## 段落 - -Xerum,我可以和他解释谁在痛苦中。 当我来到你身边,当我充满快乐时,我被快乐所折磨,或者他是天生的,或者是一个骗子,因为那个让我快乐痛苦的人是事情的专家,或者他撕裂和撕破自己的意志,仿佛他值得被遮盖,他是不是走到了心坎上,以同样的心去追随同样的事情? 为什么毛孔会竖起来,当它被放置在一个不知道老鼠意志或一切的地方时? 我会安静的。 就我而言,我的心以一种或另一种方式受到干扰,我把它们撕下来擦干,这样我要么杀了它们,要么让它们逃跑。 他憎恨真相,因为 veliamenim 的浪潮是起因和面子本身,而版本的痛苦又重演了。 - -是旅行吗? 因为每一件事都有一些你讨厌或讨厌的东西,所以你会吃东西,以免让你的智慧隐藏这样一个事实,即心脏和心脏或有趣的东西会从中出来。 - -## 块引用 - -blockquote 元素表示从另一个来源引用的内容,可选地带有必须在“footer”或“cite”元素内的引用,以及可选的内联更改,例如注释和缩写。 - -#### 不注明出处的块引用 - -> 然后,为了铸币安德普,要给予的知识相应地减少。 -> **注意**您可以在块引用中使用 *Markdown 语法*。 - -#### 带出处的块引用 - -> 不要通过共享内存来通信,通过通信来共享内存。
      -> — Rob Pike[^1] - -[^1]: 上述引述摘自 Rob Pike 在 2015 年 11 月 18 日 Gopherfest 期间的 [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c)。 - -## 表格 - -表格不是核心 Markdown 规范的一部分,但 Hugo 支持开箱即用地支持它们。 - -| 姓名 | 年龄 | -|:----:|:---:| -| 小明 | 27 | -| 大壮 | 23 | - -#### 表格内的内联 Markdown - -| 斜体 | 粗体 | 代码 | -|:---------:|:--------:|:------:| -| *斜体* | **粗体** | `code` | - -## 代码块 - -#### 不使用高亮的代码块 - -``` - - - - - Example HTML5 Document - - -

      Test

      - - -``` - -#### HTML 的代码块 - -```html - - - - - Example HTML5 Document - - -

      Test

      - - -``` - -#### Go 的代码块 - -```go {hl_lines=[3]} -type Registry interface { - Register(*Service, ...RegisterOption) error - Deregister(*Service, ...DeregisterOption) error - List(string, ...ListOption) ([]*Service, error) -} -``` - -#### C艹 的代码块 - -```c++ -#include - -class Animal { - string name; -public: - void eat(); -} - -void Animal::eat() { - std::cout << "eat something" << std::endl; -} -``` - -#### Jvav 的代码块 - -```java -class Animal { - void speak() { /* speak */ } -} - -class Dog extends Animal { - @override - void speak() { /* bark */ } -} - -class Cat extends Animal { - @override - void speak() { /* mew */ } -} -``` - -#### Python 的代码块 - -```python -class Dog(Animal): - def __init__(self): - super.__init__() - - def eat(): - pass -``` - -## 列表类型 - -#### 有序列表 - -1. 第一项 -2. 第二项 -3. 第三项 -- [x] 已勾选 -- [ ] 未勾选 - -#### 无序列表 - -* 第一项 -* 另一项 -* 另另一项 - -#### 嵌套列表 - -* 水果 - * 苹果 - * 橘子 - * 香蕉 -* 乳制品 - * 牛奶 - * 奶酪 diff --git a/exampleSite/content/math-typesetting.md b/exampleSite/content/math-typesetting.md deleted file mode 100644 index 67440b7..0000000 --- a/exampleSite/content/math-typesetting.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -author: Mivinci -title: Math Typesetting -date: 2020-07-18T10:52:59+08:00 -description: A brief guide to write mathematical notation. -math: true -tags: - - KaTex - - markdown ---- - -Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries like [KaTeX](https://katex.org) the one that Minima uses. Here's what you can do in the configuration file to enable it. - -``` -math: - enable: false - provider: katex -``` - -## Examples - -The following are some examples of mathematical notations with KaTeX that are pretty much like LaTeX's. - -### Block - -``` -\varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} -``` - -wiil be rendered as: - -$$ -\varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} -$$ - -### Inline - -``` -Pythagorean theorem can be written as $a^2+b^2=c^2$ where *a*, *b* and *c* are the length of legs of a triangle. -``` - -will be rendered as: - -Pythagorean theorem can be written as $a^2+b^2=c^2$ where *a*, *b* and *c* are the length of legs of a triangle. diff --git a/exampleSite/content/mermaid-diagrams.md b/exampleSite/content/mermaid-diagrams.md deleted file mode 100644 index 242a8e2..0000000 --- a/exampleSite/content/mermaid-diagrams.md +++ /dev/null @@ -1,279 +0,0 @@ ---- -author: Mermaid Team -title: Mermaid Diagrams -date: 2021-07-18T10:52:59+08:00 -description: A brief guide to write diagrams. -diagram: true -tags: - - markdown - - mermaid ---- - -## Examples - -The following are some examples of the diagrams, charts and graphs that can be made using Mermaid. Click here to jump into the [full syntax](http://mermaid-js.github.io/mermaid/). - - - -### Flowchart - -``` -flowchart LR - -A[Hard] -->|Text| B(Round) -B --> C{Decision} -C -->|One| D[Result 1] -C -->|Two| E[Result 2] -``` - -will be rendered as: - -```mermaid -flowchart LR - -A[Hard] -->|Text| B(Round) -B --> C{Decision} -C -->|One| D[Result 1] -C -->|Two| E[Result 2] -``` - -### Sequence diagram - -``` -sequenceDiagram -Alice->>John: Hello John, how are you? -loop Healthcheck - John->>John: Fight against hypochondria -end -Note right of John: Rational thoughts! -John-->>Alice: Great! -John->>Bob: How about you? -Bob-->>John: Jolly good! -``` - -will be rendered as: - -```mermaid -sequenceDiagram -Alice->>John: Hello John, how are you? -loop Healthcheck - John->>John: Fight against hypochondria -end -Note right of John: Rational thoughts! -John-->>Alice: Great! -John->>Bob: How about you? -Bob-->>John: Jolly good! -``` - -### Gantt chart - -``` -gantt - section Section - Completed :done, des1, 2014-01-06,2014-01-08 - Active :active, des2, 2014-01-07, 3d - Parallel 1 : des3, after des1, 1d - Parallel 2 : des4, after des1, 1d - Parallel 3 : des5, after des3, 1d - Parallel 4 : des6, after des4, 1d -``` - -will be rendered as: - -```mermaid -gantt - section Section - Completed :done, des1, 2014-01-06,2014-01-08 - Active :active, des2, 2014-01-07, 3d - Parallel 1 : des3, after des1, 1d - Parallel 2 : des4, after des1, 1d - Parallel 3 : des5, after des3, 1d - Parallel 4 : des6, after des4, 1d -``` - -### Class diagram - -``` -classDiagram -Class01 <|-- AveryLongClass : Cool -<> Class01 -Class09 --> C2 : Where am I? -Class09 --* C3 -Class09 --|> Class07 -Class07 : equals() -Class07 : Object[] elementData -Class01 : size() -Class01 : int chimp -Class01 : int gorilla -class Class10 { - <> - int id - size() -} -``` - -will be rendered as: - -```mermaid -classDiagram -Class01 <|-- AveryLongClass : Cool -<> Class01 -Class09 --> C2 : Where am I? -Class09 --* C3 -Class09 --|> Class07 -Class07 : equals() -Class07 : Object[] elementData -Class01 : size() -Class01 : int chimp -Class01 : int gorilla -class Class10 { - <> - int id - size() -} -``` - -### State diagram - -``` -stateDiagram-v2 -[*] --> Still -Still --> [*] -Still --> Moving -Moving --> Still -Moving --> Crash -Crash --> [*] -``` - -will be rendered as: - -```mermaid -stateDiagram-v2 -[*] --> Still -Still --> [*] -Still --> Moving -Moving --> Still -Moving --> Crash -Crash --> [*] -``` - -### Pie chart - -``` -pie -"Dogs" : 386 -"Cats" : 85.9 -"Rats" : 15 -``` - -will be rendered as: - -```mermaid -pie -"Dogs" : 386 -"Cats" : 85.9 -"Rats" : 15 -``` - - -### User Journey diagram - -``` - journey - title My working day - section Go to work - Make tea: 5: Me - Go upstairs: 3: Me - Do work: 1: Me, Cat - section Go home - Go downstairs: 5: Me - Sit down: 3: Me -``` - -will be rendered as: - -```mermaid - journey - title My working day - section Go to work - Make tea: 5: Me - Go upstairs: 3: Me - Do work: 1: Me, Cat - section Go home - Go downstairs: 5: Me - Sit down: 3: Me -``` - -### C4 diagram - -``` -C4Context -title System Context diagram for Internet Banking System - -Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.") -Person(customerB, "Banking Customer B") -Person_Ext(customerC, "Banking Customer C") -System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.") - -Person(customerD, "Banking Customer D", "A customer of the bank,
      with personal bank accounts.") - -Enterprise_Boundary(b1, "BankBoundary") { - - SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.") - - System_Boundary(b2, "BankBoundary2") { - System(SystemA, "Banking System A") - System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts.") - } - - System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.") - SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.") - - Boundary(b3, "BankBoundary3", "boundary") { - SystemQueue(SystemF, "Banking System F Queue", "A system of the bank, with personal bank accounts.") - SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.") - } -} - -BiRel(customerA, SystemAA, "Uses") -BiRel(SystemAA, SystemE, "Uses") -Rel(SystemAA, SystemC, "Sends e-mails", "SMTP") -Rel(SystemC, customerA, "Sends e-mails to") -``` - -will be rendered as: - -```mermaid -C4Context -title System Context diagram for Internet Banking System - -Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.") -Person(customerB, "Banking Customer B") -Person_Ext(customerC, "Banking Customer C") -System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.") - -Person(customerD, "Banking Customer D", "A customer of the bank,
      with personal bank accounts.") - -Enterprise_Boundary(b1, "BankBoundary") { - - SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.") - - System_Boundary(b2, "BankBoundary2") { - System(SystemA, "Banking System A") - System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts.") - } - - System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.") - SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.") - - Boundary(b3, "BankBoundary3", "boundary") { - SystemQueue(SystemF, "Banking System F Queue", "A system of the bank, with personal bank accounts.") - SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.") - } -} - -BiRel(customerA, SystemAA, "Uses") -BiRel(SystemAA, SystemE, "Uses") -Rel(SystemAA, SystemC, "Sends e-mails", "SMTP") -Rel(SystemC, customerA, "Sends e-mails to") -``` \ No newline at end of file diff --git a/exampleSite/content/search.md b/exampleSite/content/search.md deleted file mode 100644 index b6d35b5..0000000 --- a/exampleSite/content/search.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Search -layout: search ---- \ No newline at end of file diff --git a/exampleSite/content/search.zh-cn.md b/exampleSite/content/search.zh-cn.md deleted file mode 100644 index f23353f..0000000 --- a/exampleSite/content/search.zh-cn.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: 搜索 -layout: search ---- \ No newline at end of file diff --git a/static/favicon.ico b/favicon.ico similarity index 100% rename from static/favicon.ico rename to favicon.ico diff --git a/i18n/en.yaml b/i18n/en.yaml deleted file mode 100644 index dbd1ab3..0000000 --- a/i18n/en.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: Recent Posts -older: - other: Older Posts - -home: - other: Home -about: - other: About -categories: - other: Categories -tags: - other: Tags -series: - other: Series - -timeformat: - other: Jan 02, 2006 - -paginator: - prev: - other: Newer - next: - other: Older - -post: - at: - other: Post at \ No newline at end of file diff --git a/i18n/id.yaml b/i18n/id.yaml deleted file mode 100644 index 761583f..0000000 --- a/i18n/id.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: Postingan Terbaru -older: - other: Postingan Lama - -home: - other: Beranda -about: - other: Tentang -categories: - other: Kategori -tags: - other: Tags -series: - other: Series - -timeformat: - other: 2 Jan 2006 - -paginator: - prev: - other: Lebih Baru - next: - other: Lebih Lama - -post: - at: - other: Postingan pada diff --git a/i18n/ru.yaml b/i18n/ru.yaml deleted file mode 100644 index 84eb27a..0000000 --- a/i18n/ru.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: Свежие посты -older: - other: Старые посты - -home: - other: Home -about: - other: Обо мне -categories: - other: Категории -tags: - other: Тэги -series: - other: Серии - -timeformat: - other: Jan 02, 2006 - -paginator: - prev: - other: Новые - next: - other: Старые - -post: - at: - other: Обуликовано diff --git a/i18n/ua.yaml b/i18n/ua.yaml deleted file mode 100644 index 57e4189..0000000 --- a/i18n/ua.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: Нові дописи -older: - other: Старі дописи - -home: - other: Головна -about: - other: Про мене -categories: - other: Категорії -tags: - other: Теги -series: - other: Серії - -timeformat: - other: Jan 02, 2006 - -paginator: - prev: - other: Нові - next: - other: Старі - -post: - at: - other: Опубліковано diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml deleted file mode 100644 index f4a71d2..0000000 --- a/i18n/zh-cn.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: 近期文章 -older: - other: 历史文章 - -home: - other: 首页 -about: - other: 关于 -categories: - other: 分类 -tags: - other: 标签 -series: - other: 系列 - -timeformat: - other: 2006 年 01 月 02 日 - -paginator: - prev: - other: 上一页 - next: - other: 下一页 - -post: - at: - other: 发布于 \ No newline at end of file diff --git a/i18n/zh-hk.yaml b/i18n/zh-hk.yaml deleted file mode 100644 index 2a8493a..0000000 --- a/i18n/zh-hk.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: 近期文章 -older: - other: 歷史文章 - -home: - other: 首頁 -about: - other: 關於 -categories: - other: 分類 -tags: - other: 標籤 -series: - other: 系列 - -timeformat: - other: 2006 年 01 月 02 日 - -paginator: - prev: - other: 上一頁 - next: - other: 下一頁 - -post: - at: - other: 發佈於 \ No newline at end of file diff --git a/i18n/zh-tw.yaml b/i18n/zh-tw.yaml deleted file mode 100644 index 2a8493a..0000000 --- a/i18n/zh-tw.yaml +++ /dev/null @@ -1,28 +0,0 @@ -recent: - other: 近期文章 -older: - other: 歷史文章 - -home: - other: 首頁 -about: - other: 關於 -categories: - other: 分類 -tags: - other: 標籤 -series: - other: 系列 - -timeformat: - other: 2006 年 01 月 02 日 - -paginator: - prev: - other: 上一頁 - next: - other: 下一頁 - -post: - at: - other: 發佈於 \ No newline at end of file diff --git a/images/screenshot-dark.png b/images/screenshot-dark.png deleted file mode 100644 index a0d4803..0000000 Binary files a/images/screenshot-dark.png and /dev/null differ diff --git a/images/screenshot.png b/images/screenshot.png deleted file mode 100644 index de71357..0000000 Binary files a/images/screenshot.png and /dev/null differ diff --git a/images/tn.png b/images/tn.png deleted file mode 100644 index de71357..0000000 Binary files a/images/tn.png and /dev/null differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..4b58fac --- /dev/null +++ b/index.html @@ -0,0 +1,6 @@ +Hugo on Minima

      Hello :)

      Currently living on Earth 🌍

      This is Minima, a clean and minimal Hugo theme porting from +Hexo Minima. It has supports +for dark mode, multilingual mode, math formulas, flowcharts, syntax highlighting, +and of course taxonomies like categories, tags, and series.

      Recent Posts

      Sample article showcasing basic Markdown syntax.

      Mermaid Diagrams
      Jul 18, 2021

      A brief guide to write diagrams.

      An External Link
      Jul 17, 2021

      This is a link to an external resource.

      Math Typesetting
      Jul 18, 2020

      A brief guide to write mathematical notation.

      About
      Jul 10, 2019

      \ No newline at end of file diff --git a/index.xml b/index.xml new file mode 100644 index 0000000..4887e7e --- /dev/null +++ b/index.xml @@ -0,0 +1,8 @@ +Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/Recent content on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttps://mivinci.github.io/hugo-theme-minima/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/markdown-syntax/<p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.</p>Mermaid Diagramshttps://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/Examples The following are some examples of the diagrams, charts and graphs that can be made using Mermaid. Click here to jump into the full syntax. +Flowchart flowchart LR A[Hard] --&gt;|Text| B(Round) B --&gt; C{Decision} C --&gt;|One| D[Result 1] C --&gt;|Two| E[Result 2] will be rendered as: +flowchart LR A[Hard] --&gt;|Text| B(Round) B --&gt; C{Decision} C --&gt;|One| D[Result 1] C --&gt;|Two| E[Result 2] Sequence diagram sequenceDiagram Alice-&gt;&gt;John: Hello John, how are you?An External Linkhttps://mivinci.github.io/hugo-theme-minima/link/Sat, 17 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/link/Math Typesettinghttps://mivinci.github.io/hugo-theme-minima/math-typesetting/Sat, 18 Jul 2020 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/math-typesetting/Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries like KaTeX the one that Minima uses. Here&rsquo;s what you can do in the configuration file to enable it. +math: enable: false provider: katex Examples The following are some examples of mathematical notations with KaTeX that are pretty much like LaTeX&rsquo;s. +Block \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} wiil be rendered as: +$$ \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} $$Abouthttps://mivinci.github.io/hugo-theme-minima/about/Wed, 10 Jul 2019 11:24:06 +0800https://mivinci.github.io/hugo-theme-minima/about/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. \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index aff5634..0000000 --- a/layouts/404.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ define "main" }} -
      -

      Oops!

      -

      404 Not Found

      -
      -{{ end }} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index 8edd62d..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,13 +0,0 @@ - - -{{ partial "head.html" . }} - - - {{ partial "header.html" . }} - - {{ block "main" . }} {{ end }} - - {{ partial "footer.html" . }} - - - \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html deleted file mode 100644 index 317fe91..0000000 --- a/layouts/_default/list.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} -
      - {{ if isset .Data "Term" }} -

      {{ .Data.Singular | title }} - "{{ .Data.Term }}"

      - {{ else }} -

      {{ .Title }}

      - {{ end }} -
      - {{ range .Data.Pages.GroupByDate "2006" }} -

      - {{ .Key }} -

      - {{ range .Pages }} - {{ partial "item.html" . }} - {{ end }} - {{ end }} -
      -
      -{{ end }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html deleted file mode 100644 index 9217e8f..0000000 --- a/layouts/_default/search.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ define "main" }} -
      - {{- $title := .Site.Params.search.title | default .Title }} - {{- $placeholder := .Site.Params.search.placeholder | default .Title }} -

      {{ $title }}

      -

      Powered by fuse.js.

      - -
      -{{ end }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index 1bcdfcc..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,32 +0,0 @@ -{{ define "main" }} -
      -

      {{ .Title }}

      -
      -
      - {{ if .Site.Params.displayDate }} - {{ T "post.at" }} — {{ .Date | time.Format (T "timeformat") }} - {{ end }} - {{ if .Draft }} - - DRAFT - - {{ end }} -
      - {{ if .Params.tags }} -
      - {{ range $tag := .Params.tags }} - {{ $url := printf "tags/%s" $tag | relLangURL }} - #{{ . }} - {{ end }} -
      - {{ end }} -
      -
      -

      {{ .Description | markdownify | safeHTML }}

      -
      - {{ .Content }} -
      -
      - {{ partial "plugin.html" . }} -
      -{{ end }} \ No newline at end of file diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html deleted file mode 100644 index 86f0080..0000000 --- a/layouts/_default/terms.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ define "main" }} -
      -

      {{ .Title }}

      -
        - {{ $data := .Data }} - {{ range $key, $value := $data.Terms.ByCount }} -
      • - {{ $value.Name }} - {{ $value.Count }} -
      • - {{ end }} -
      - -
      -{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index bf01da8..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,25 +0,0 @@ -{{ define "main" }} -
      -

      {{ .Site.Params.greet }}

      -

      {{ .Site.Author.status }}

      -

      {{ .Site.Author.description | markdownify | safeHTML }}

      - {{ if eq .Paginator.PageNumber 1 }} -

      {{ T "recent" }}

      - {{ else }} -

      {{ T "older" }}

      - {{ end }} -
      - {{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }} - {{ range $paginator.Pages }} - {{ if ne .Page.Layout "search" }} - {{ partial "item.html" . }} - {{ end }} - {{ end }} - {{ partial "paginator.html" . }} -
      - {{ if .Site.Params.friends.feeds }} -

      {{ .Site.Params.friends.title }}

      -
      - {{ end }} -
      -{{ end }} \ No newline at end of file diff --git a/layouts/index.json b/layouts/index.json deleted file mode 100644 index 5847bae..0000000 --- a/layouts/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{{- $.Scratch.Add "index" slice -}} -{{- range site.RegularPages -}} -{{- if ne .Layout "search" -}} - {{- $.Scratch.Add "index" (dict "title" .Title "permalink" .Permalink "summary" .Summary "content" .Plain) -}} -{{- end -}} -{{- end -}} -{{- $.Scratch.Get "index" | jsonify -}} \ No newline at end of file diff --git a/layouts/index.xml b/layouts/index.xml deleted file mode 100644 index 86428e1..0000000 --- a/layouts/index.xml +++ /dev/null @@ -1,43 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "" | safeHTML }} - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{with .Site.Author.FollowClaim.feedId }} - - {{ .Site.FollowClaim.feedId }} - {{ .Site.FollowClaim.userId }} - {{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{- with .OutputFormats.Get "RSS" -}} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{- end -}} - {{ range $pages }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Summary | html }} - - {{ end }} - - \ No newline at end of file diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html deleted file mode 100644 index f89c001..0000000 --- a/layouts/partials/comment.html +++ /dev/null @@ -1,84 +0,0 @@ - -
      - - -{{ if eq .Site.Params.comment.provider "giscus" }} -{{ with .Site.Params.comment.giscus }} - -{{ end }} -{{ end }} - - -{{ if eq .Site.Params.comment.provider "utterances" }} -{{ with .Site.Params.comment.utterances }} - -{{ end }} -{{ end }} - - -{{ if eq .Site.Params.comment.provider "disqus" }} -{{ with .Site.Params.comment.disqus }} -
      - - -{{ end }} -{{ end }} - - -{{ if eq .Site.Params.comment.provider "artalk" }} -{{ with .Site.Params.comment.artalk }} - - - -{{ end }} -{{ end }} \ No newline at end of file diff --git a/layouts/partials/diagram.html b/layouts/partials/diagram.html deleted file mode 100644 index c3bc881..0000000 --- a/layouts/partials/diagram.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ if eq .Site.Params.diagram.provider "mermaid" }} - - -{{ end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index 6038407..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,25 +0,0 @@ - \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index f121e79..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - {{ if hugo.IsProduction }} - {{ template "_internal/opengraph.html" . }} - {{ template "_internal/twitter_cards.html" . }} - {{ template "_internal/google_analytics.html" . }} - {{ end }} - - - - {{ if .IsHome }} - {{ .Site.Title }} {{ if .Site.Params.subtitle }} - {{ .Site.Params.subtitle }} {{ end }} - {{ else }} - {{ .Site.Title }} - {{ .Title }} - {{ end }} - - - {{ $favicon := "favicon.ico" }} - - - {{ $options := (dict "targetPath" "minima.css" "outputStyle" "compressed" "enableSourceMap" true) }} - {{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "main.scss" . | resources.ToCSS $options | fingerprint }} - - - {{ $options = (dict "targetPath" "minima.js" "minify" true "params" site.Params) }} - {{ $script := resources.Get "js/main.js" | js.Build $options | fingerprint }} - - {{ if and .Site.Params.search.enable (eq .Layout "search") }} - {{ $options = (dict "minify" true "params" site.Params) }} - {{ $search := resources.Get "js/search.js" | js.Build $options}} - {{ $fusejs := resources.Get "js/min/fuse.basic.min.js" }} - {{ $script := (slice $fusejs $search) | resources.Concat "assets/js/search.js" | fingerprint }} - - {{ end }} - - {{ if .IsTranslated }} - {{ range .Translations }} - - {{ end }} -{{ end }} - -{{ if eq .Site.Params.analytics.provider "umami" }} -{{ with .Site.Params.analytics.umami }} - -{{ end }} -{{ end }} - - - - diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 6209f8f..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,23 +0,0 @@ -
      -
      - -
      -
      \ No newline at end of file diff --git a/layouts/partials/item.html b/layouts/partials/item.html deleted file mode 100644 index 4e32c32..0000000 --- a/layouts/partials/item.html +++ /dev/null @@ -1,17 +0,0 @@ -
      -
      - {{ if .Page.Params.link }} - {{ .Title }} - {{ else }} - {{ .Title }} - {{ end }} - {{ if .Site.Params.displayDate }} -
      {{ .Date | time.Format (T "timeformat") }}
      - {{ end }} -
      - {{ if .Site.Params.displayDescription }} -

      - {{ .Description | markdownify | safeHTML }} -

      - {{ end }} -
      \ No newline at end of file diff --git a/layouts/partials/math.html b/layouts/partials/math.html deleted file mode 100644 index 733ed06..0000000 --- a/layouts/partials/math.html +++ /dev/null @@ -1,29 +0,0 @@ -{{ if eq .Site.Params.math.provider "katex" }} - - - - - - - -{{ end }} \ No newline at end of file diff --git a/layouts/partials/paginator.html b/layouts/partials/paginator.html deleted file mode 100644 index 721f010..0000000 --- a/layouts/partials/paginator.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ $page := $.Paginator }} -{{ if gt $page.TotalPages 1 }} -
      - {{ if $page.HasPrev }} - ← {{ T "paginator.prev" }} - {{ end }} - - {{ if $page.HasNext }} - {{ T "paginator.next" }} → - {{ end }} -
      -{{ end }} diff --git a/layouts/partials/plugin.html b/layouts/partials/plugin.html deleted file mode 100644 index f8bee83..0000000 --- a/layouts/partials/plugin.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ if or .Params.math (and .Site.Params.math.enable (ne .Params.math false)) }} -{{ partial "math.html" . }} -{{ end }} - -{{ if or .Params.diagram (and .Site.Params.diagram.enable (ne .Params.diagram false)) }} -{{ partial "diagram.html" . }} -{{ end }} - -{{ if or .Params.comment (and .Site.Params.comment.enable (ne .Params.comment false)) }} -{{ partial "comment.html" . }} -{{ end }} \ No newline at end of file diff --git a/link/index.html b/link/index.html new file mode 100644 index 0000000..690f276 --- /dev/null +++ b/link/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - An External Link

      An External Link

      Post at — Jul 17, 2021

      This is a link to an external resource.

      \ No newline at end of file diff --git a/markdown-syntax/index.html b/markdown-syntax/index.html new file mode 100644 index 0000000..c01a968 --- /dev/null +++ b/markdown-syntax/index.html @@ -0,0 +1,105 @@ +Hugo on Minima - Markdown Syntax Guide

      Markdown Syntax Guide

      Post at — Jul 18, 2021

      Sample article showcasing basic Markdown syntax.

      This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

      Headings

      The following HTML <h1><h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the lowest.

      H1

      H2

      H3

      H4

      H5
      H6

      Paragraph

      Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.

      Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.

      Blockquotes

      The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.

      Blockquote without attribution

      Tiam, ad mint andaepu dandae nostion secatur sequo quae. +Note that you can use Markdown syntax within a blockquote.

      Blockquote with attribution

      Don’t communicate by sharing memory, share memory by communicating. +— Rob Pike1

      Tables

      Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

      NameAge
      Bob27
      Alice23

      Inline Markdown within tables

      ItalicsBoldCode
      italicsboldcode

      Code Blocks

      Code block without code highlighting

      <!doctype html>
      +<html lang="en">
      +  <head>
      +    <meta charset="utf-8">
      +    <title>Example HTML5 Document</title>
      +  </head>
      +  <body>
      +    <p>Test</p>
      +  </body>
      +</html>
      +

      Code block with HTML

       1
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      +
      <!doctype html>
      +<html lang="en">
      +<head>
      +  <meta charset="utf-8">
      +  <title>Example HTML5 Document</title>
      +</head>
      +<body>
      +  <p>Test</p>
      +</body>
      +</html>
      +

      Code block with Go

      1
      +2
      +3
      +4
      +5
      +
      type Registry interface {
      +    Register(*Service, ...RegisterOption) error
      +    Deregister(*Service, ...DeregisterOption) error
      +    List(string, ...ListOption) ([]*Service, error)
      +}
      +

      Code block with C艹

       1
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      +11
      +
      #include <iostream>
      +
      +class Animal {
      +    string name;
      +public:
      +    void eat();
      +}
      +
      +void Animal::eat() {
      +    std::cout << "eat something" << std::endl;
      +}
      +

      Code block with Java

       1
      + 2
      + 3
      + 4
      + 5
      + 6
      + 7
      + 8
      + 9
      +10
      +11
      +12
      +13
      +
      class Animal {
      +    void speak() { /* speak */ }
      +}
      +
      +class Dog extends Animal {
      +    @override
      +    void speak() { /* bark */ }
      +}
      +
      +class Cat extends Animal {
      +    @override
      +    void speak() { /* mew */ } 
      +}
      +

      Code block with Python

      1
      +2
      +3
      +4
      +5
      +6
      +
      class Dog(Animal):
      +    def __init__(self):
      +        super.__init__()
      +    
      +    def eat():
      +        pass
      +

      List Types

      Ordered List

      1. First item
      2. Second item
      3. Third item
      • checked
      • not checked

      Unordered List

      • List item
      • Another item
      • And another item

      Nested list

      • Fruit
        • Apple
        • Orange
        • Banana
      • Dairy
        • Milk
        • Cheese

      1. The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩︎

      \ No newline at end of file diff --git a/math-typesetting/index.html b/math-typesetting/index.html new file mode 100644 index 0000000..e426c29 --- /dev/null +++ b/math-typesetting/index.html @@ -0,0 +1,11 @@ +Hugo on Minima - Math Typesetting

      Math Typesetting

      Post at — Jul 18, 2020

      A brief guide to write mathematical notation.

      Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries like KaTeX the one that Minima uses. Here’s what you can do in the configuration file to enable it.

      math:
      +  enable: false
      +  provider: katex
      +

      Examples

      The following are some examples of mathematical notations with KaTeX that are pretty much like LaTeX’s.

      Block

      \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} 
      +

      wiil be rendered as:

      $$ +\varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} +$$

      Inline

      Pythagorean theorem can be written as $a^2+b^2=c^2$ where *a*, *b* and *c* are the length of legs of a triangle.
      +

      will be rendered as:

      Pythagorean theorem can be written as $a^2+b^2=c^2$ where a, b and c are the length of legs of a triangle.

      \ No newline at end of file diff --git a/mermaid-diagrams/index.html b/mermaid-diagrams/index.html new file mode 100644 index 0000000..d564752 --- /dev/null +++ b/mermaid-diagrams/index.html @@ -0,0 +1,186 @@ +Hugo on Minima - Mermaid Diagrams

      Mermaid Diagrams

      Post at — Jul 18, 2021

      A brief guide to write diagrams.

      Examples

      The following are some examples of the diagrams, charts and graphs that can be made using Mermaid. Click here to jump into the full syntax.

      Flowchart

      flowchart LR
      +
      +A[Hard] -->|Text| B(Round)
      +B --> C{Decision}
      +C -->|One| D[Result 1]
      +C -->|Two| E[Result 2]
      +

      will be rendered as:

      flowchart LR
      +
      +A[Hard] -->|Text| B(Round)
      +B --> C{Decision}
      +C -->|One| D[Result 1]
      +C -->|Two| E[Result 2]
      +

      Sequence diagram

      sequenceDiagram
      +Alice->>John: Hello John, how are you?
      +loop Healthcheck
      +    John->>John: Fight against hypochondria
      +end
      +Note right of John: Rational thoughts!
      +John-->>Alice: Great!
      +John->>Bob: How about you?
      +Bob-->>John: Jolly good!
      +

      will be rendered as:

      sequenceDiagram
      +Alice->>John: Hello John, how are you?
      +loop Healthcheck
      +    John->>John: Fight against hypochondria
      +end
      +Note right of John: Rational thoughts!
      +John-->>Alice: Great!
      +John->>Bob: How about you?
      +Bob-->>John: Jolly good!
      +

      Gantt chart

      gantt
      +    section Section
      +    Completed :done,    des1, 2014-01-06,2014-01-08
      +    Active        :active,  des2, 2014-01-07, 3d
      +    Parallel 1   :         des3, after des1, 1d
      +    Parallel 2   :         des4, after des1, 1d
      +    Parallel 3   :         des5, after des3, 1d
      +    Parallel 4   :         des6, after des4, 1d
      +

      will be rendered as:

      gantt
      +    section Section
      +    Completed :done,    des1, 2014-01-06,2014-01-08
      +    Active        :active,  des2, 2014-01-07, 3d
      +    Parallel 1   :         des3, after des1, 1d
      +    Parallel 2   :         des4, after des1, 1d
      +    Parallel 3   :         des5, after des3, 1d
      +    Parallel 4   :         des6, after des4, 1d
      +

      Class diagram

      classDiagram
      +Class01 <|-- AveryLongClass : Cool
      +<<Interface>> Class01
      +Class09 --> C2 : Where am I?
      +Class09 --* C3
      +Class09 --|> Class07
      +Class07 : equals()
      +Class07 : Object[] elementData
      +Class01 : size()
      +Class01 : int chimp
      +Class01 : int gorilla
      +class Class10 {
      +  <<service>>
      +  int id
      +  size()
      +}
      +

      will be rendered as:

      classDiagram
      +Class01 <|-- AveryLongClass : Cool
      +<<Interface>> Class01
      +Class09 --> C2 : Where am I?
      +Class09 --* C3
      +Class09 --|> Class07
      +Class07 : equals()
      +Class07 : Object[] elementData
      +Class01 : size()
      +Class01 : int chimp
      +Class01 : int gorilla
      +class Class10 {
      +  <<service>>
      +  int id
      +  size()
      +}
      +

      State diagram

      stateDiagram-v2
      +[*] --> Still
      +Still --> [*]
      +Still --> Moving
      +Moving --> Still
      +Moving --> Crash
      +Crash --> [*]
      +

      will be rendered as:

      stateDiagram-v2
      +[*] --> Still
      +Still --> [*]
      +Still --> Moving
      +Moving --> Still
      +Moving --> Crash
      +Crash --> [*]
      +

      Pie chart

      pie
      +"Dogs" : 386
      +"Cats" : 85.9
      +"Rats" : 15
      +

      will be rendered as:

      pie
      +"Dogs" : 386
      +"Cats" : 85.9
      +"Rats" : 15
      +

      User Journey diagram

        journey
      +    title My working day
      +    section Go to work
      +      Make tea: 5: Me
      +      Go upstairs: 3: Me
      +      Do work: 1: Me, Cat
      +    section Go home
      +      Go downstairs: 5: Me
      +      Sit down: 3: Me
      +

      will be rendered as:

        journey
      +    title My working day
      +    section Go to work
      +      Make tea: 5: Me
      +      Go upstairs: 3: Me
      +      Do work: 1: Me, Cat
      +    section Go home
      +      Go downstairs: 5: Me
      +      Sit down: 3: Me
      +

      C4 diagram

      C4Context
      +title System Context diagram for Internet Banking System
      +
      +Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
      +Person(customerB, "Banking Customer B")
      +Person_Ext(customerC, "Banking Customer C")
      +System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.")
      +
      +Person(customerD, "Banking Customer D", "A customer of the bank, <br/> with personal bank accounts.")
      +
      +Enterprise_Boundary(b1, "BankBoundary") {
      +
      +  SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.")
      +
      +  System_Boundary(b2, "BankBoundary2") {
      +    System(SystemA, "Banking System A")
      +    System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts.")
      +  }
      +
      +  System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.")
      +  SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.")
      +
      +  Boundary(b3, "BankBoundary3", "boundary") {
      +    SystemQueue(SystemF, "Banking System F Queue", "A system of the bank, with personal bank accounts.")
      +    SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.")
      +  }
      +}
      +
      +BiRel(customerA, SystemAA, "Uses")
      +BiRel(SystemAA, SystemE, "Uses")
      +Rel(SystemAA, SystemC, "Sends e-mails", "SMTP")
      +Rel(SystemC, customerA, "Sends e-mails to")
      +

      will be rendered as:

      C4Context
      +title System Context diagram for Internet Banking System
      +
      +Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
      +Person(customerB, "Banking Customer B")
      +Person_Ext(customerC, "Banking Customer C")
      +System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.")
      +
      +Person(customerD, "Banking Customer D", "A customer of the bank, <br/> with personal bank accounts.")
      +
      +Enterprise_Boundary(b1, "BankBoundary") {
      +
      +  SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.")
      +
      +  System_Boundary(b2, "BankBoundary2") {
      +    System(SystemA, "Banking System A")
      +    System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts.")
      +  }
      +
      +  System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.")
      +  SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.")
      +
      +  Boundary(b3, "BankBoundary3", "boundary") {
      +    SystemQueue(SystemF, "Banking System F Queue", "A system of the bank, with personal bank accounts.")
      +    SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.")
      +  }
      +}
      +
      +BiRel(customerA, SystemAA, "Uses")
      +BiRel(SystemAA, SystemE, "Uses")
      +Rel(SystemAA, SystemC, "Sends e-mails", "SMTP")
      +Rel(SystemC, customerA, "Sends e-mails to")
      +
      \ No newline at end of file diff --git a/minima.css b/minima.css new file mode 100644 index 0000000..3238979 --- /dev/null +++ b/minima.css @@ -0,0 +1,5 @@ +html{--default-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;line-height:1.5;font-family:var(--font, --default-font);font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px;border-color:var(--grid, inherit)}p,pre,figure,dl,dd,blockquote,h1,h2,h3,h4,h5,h6{margin:0;font-size:inherit;font-weight:inherit}.tag,p code{font-size:.8em;padding:0.1em 0.3em;border-radius:1px;background-color:#9999993b}ol,ul,menu{list-style:none;margin:0;padding:0}a{color:inherit;text-decoration:inherit}a:hover{color:var(--prime, inherit)}kbd,samp,pre,code{--default-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-family:var(--font-mono, --default-font-mono)}pre{overflow-x:auto}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,select{text-transform:none}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-thumb{background:rgba(128,128,128,0.7)}::-webkit-scrollbar-thumb:window-inactive{background:rgba(128,128,128,0.2)}::-webkit-scrollbar-thumb:active{background-color:gray}:root{--code-back: #f6f8fa;--code-text: #24292f;--code-line-number: #999;--code-keyword: #cf222e;--code-attribute: #0550ae;--code-literal-string: #0a3069;--code-literal-number: #b5cea8;--code-comment: #6e7781;--code-builtin-type: #cf222e;--code-function: #0550ae;--code-meta: #cf222e;--code-highlighted-line: #e9e9e9}.light{--prime: #3170a7;--grid: #e1e1e1;--back: #fff;--text: #333}.dark{--prime: #3170a7;--back: #181818;--text: silver;--grid: #555;--code-back: #1d1d1d;--code-text: #d4d4d4cc;--code-line-number: #999999ca;--code-keyword: #569cd6cb;--code-attribute: #9cdcfecb;--code-literal-string: #ce9178;--code-literal-number: #b5cea8;--code-comment: #517043d5;--code-builtin-type: #4ec9b0cb;--code-function: #dcdcaaca;--code-meta: #c586c0cb;--code-highlighted-line: #9494951b}.sand{--prime: #3170a7;--back: #e6dece;--text: #434343;--code-back: #dbd3c1be;--code-text: #24292f;--code-highlighted-line: #cec3ac;--back-image: url('texture.png')}.rock{--prime: #3170a7;--back: #ccc;--text: #434343;--code-back: #c1c1c1be;--code-text: #24292f;--code-highlighted-line: #afaeae;--back-image: url('texture.png')}.flex{display:flex}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.justify-between{justify-content:space-between}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-baseline{align-items:baseline}.text-center{text-align:center}.text-left{text-align:left}@media (min-width: 640px){.sm\:flex{display:flex}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:flex-col-reverse{flex-direction:column-reverse}.sm\:justify-between{justify-content:space-between}.sm\:items-center{align-items:center}.sm\:items-start{align-items:flex-start}.sm\:items-end{align-items:flex-end}.sm\:items-baseline{align-items:baseline}.sm\:text-center{text-align:center}.sm\:text-left{text-align:left}}.container{max-width:var(--max-w)}.hidden{display:none}.overflow-x-auto{overflow-x:auto}.overflow-y-hidden{overflow-y:hidden}.pt-0{padding-top:0rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-7{padding-top:1.75rem}.pt-8{padding-top:2rem}.pr-0{padding-right:0rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pr-8{padding-right:2rem}.pb-0{padding-bottom:0rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-8{padding-bottom:2rem}.pl-0{padding-left:0rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pl-7{padding-left:1.75rem}.pl-8{padding-left:2rem}.mt-0{margin-top:0rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.mr-0{margin-right:0rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-6{margin-right:1.5rem}.mr-7{margin-right:1.75rem}.mr-8{margin-right:2rem}.mb-0{margin-bottom:0rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-7{margin-left:1.75rem}.ml-8{margin-left:2rem}.mx-auto{margin-left:auto;margin-right:auto}.font-thin{font-weight:100}.font-extralight{font-weight:200}.font-light{font-weight:300}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-4xl{font-size:2.25rem}.text-5xl{font-size:3rem}.text-6xl{font-size:3.75rem}.whitespace-nowrap{white-space:nowrap}.list-disc{list-style-type:disc;padding-inline-start:22px}.cursor-pointer{cursor:pointer}.md h1{font-size:2.25rem;font-weight:800;margin-top:1rem;margin-bottom:.75rem}.md h2{font-size:2rem;font-weight:700;margin-top:1rem;margin-bottom:.75rem}.md h3{font-size:1.75rem;font-weight:600;margin-top:1rem;margin-bottom:.75rem}.md h4{font-size:1.5rem;font-weight:600;margin-top:1rem;margin-bottom:.75rem}.md h5{font-size:1.25rem;font-weight:500;margin-top:1rem;margin-bottom:.75rem}.md h6{font-size:1rem;font-weight:400;margin-top:1rem;margin-bottom:.75rem}.md p{margin:.75rem 0}.md pre{font-size:13px;line-height:1.3}.md blockquote{background-color:#94949514;padding:1px .85em;border-left:4px solid var(--prime);font-style:italic}.md table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;width:100%;margin:1em 0;overflow:auto}.md table thead{border-top:2px solid var(--text);border-bottom:1px solid var(--text)}.md table tbody{border-bottom:2px solid var(--text)}.md table th,.md table td{padding:.25rem 1rem}.md img{max-width:100%}.md .katex{overflow:auto hidden}.md ul{list-style:disc;padding-inline-start:30px}.md ol{list-style:decimal;padding-inline-start:30px}.md ul input[type="checkbox"]{margin:0;margin-right:5px}.md ul:has(input){list-style:none;padding-inline-start:8px}.md li{margin-bottom:.5rem;line-height:1.5}.md ol,.md ul,.md img,.md blockquote,.md .highlight{margin:.75rem 0}.md blockquote p{margin:.45rem 0;line-height:1.5;font-size:.95rem}.md hr{margin:1.5rem 0}.md .footnotes{word-break:break-all;font-size:.9rem}.md p sup{margin-left:4px}.chroma{margin:.5em 0;background-image:var(--back-image);background-color:var(--code-back);border-radius:2px}.chroma code{color:var(--code-text)}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable tbody{border:0}.chroma .lntable td:nth-child(2){width:100%}.chroma .lnt,.chroma .line{display:block;line-height:1.3}.chroma .lnt{color:var(--code-line-number);padding-left:.9em;padding-right:1em;text-align:right}.chroma .hl .lnt{display:inline}.chroma .kc,.chroma .kd,.chroma .kn,.chroma .kp,.chroma .kr,.chroma .k,.chroma .si{color:var(--code-keyword)}.chroma .na{color:var(--code-attribute)}.chroma .nb,.chroma .bp,.chroma .no,.chroma .nd,.chroma .ni,.chroma .ne,.chroma .fm,.chroma .nl,.chroma .nn{color:var(--code-keyword)}.chroma .py,.chroma .nt,.chroma .nv,.chroma .vc,.chroma .vg,.chroma .vi,.chroma .vm{color:var(--code-keyword)}.chroma .s,.chroma .sa,.chroma .sb,.chroma .sc,.chroma .dl,.chroma .sd,.chroma .s2,.chroma .se,.chroma .sh,.chroma .sx,.chroma .sr,.chroma .s1,.chroma .ss,.chroma .cpf{color:var(--code-literal-string)}.chroma .m,.chroma .mb,.chroma .mf,.chroma .mh,.chroma .mi,.chroma .il,.chroma .mo{color:var(--code-literal-number)}.chroma .c,.chroma .ch,.chroma .cm,.chroma .c1,.chroma .cs{color:var(--code-comment)}.chroma .nb,.chroma .kt{color:var(--code-builtin-type)}.chroma .fm,.chroma .nf{color:var(--code-function)}.chroma .cp{color:var(--code-meta)}.chroma .hl{display:block;background-color:var(--code-highlighted-line)}:root{--max-w: 640px;--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}html{font-size:16px;-webkit-text-size-adjust:100%;-ms-overflow-style:-ms-autohiding-scrollbar;box-sizing:border-box;border-collapse:collapse}body{margin:0 16px;font-family:var(--font);font-weight:400;line-height:1.6;background-image:var(--back-image);background-color:var(--back);color:var(--text);transition-property:background-color, border-color, color;transition-duration:0.5s}main{animation:showup 0.7s}main p a{color:var(--prime)}main p a:hover{text-decoration:underline}@keyframes showup{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@media (min-width: 640px){body{margin-top:calc(1rem + 2vh)}} + +/*# sourceMappingURL=minima.css.map */ \ No newline at end of file diff --git a/minima.css.map b/minima.css.map new file mode 100644 index 0000000..55ecf3a --- /dev/null +++ b/minima.css.map @@ -0,0 +1,23 @@ +{ + "version": 3, + "file": "minima.css", + "sourceRoot": "/home/runner/work/hugo-theme-minima/hugo-theme-minima/exampleSite", + "sources": [ + "/home/runner/work/hugo-theme-minima/hugo-theme-minima/assets/css/main.scss", + "assets/css/pre.scss", + "assets/css/theme.scss", + "assets/css/atom.scss", + "assets/css/md.scss", + "assets/css/syntax.scss" + ], + "sourcesContent": [ + "@import \"./pre.scss\";\n@import \"./theme.scss\";\n@import \"./atom.scss\";\n@import \"./md.scss\";\n@import \"./syntax.scss\";\n\n\n:root {\n --max-w: 640px;\n --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,\n Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\nhtml {\n font-size: 16px;\n -webkit-text-size-adjust: 100%;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n box-sizing: border-box;\n border-collapse: collapse;\n}\n\nbody {\n margin: 0 16px;\n font-family: var(--font);\n font-weight: 400;\n line-height: 1.6;\n background-image: var(--back-image);\n background-color: var(--back);\n color: var(--text);\n transition-property: background-color, border-color, color;\n transition-duration: 0.5s;\n}\n\nmain {\n animation: showup 0.7s;\n}\n\nmain p a {\n color: var(--prime);\n}\n\nmain p a:hover {\n text-decoration: underline;\n}\n\n@keyframes showup {\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n\n to {\n opacity: 1;\n transform: none;\n }\n}\n\n@media (min-width: 640px) {\n body {\n margin-top: calc(1rem + 2vh);\n }\n}\n", + "/* This file is taken from https://github.com/tailwindlabs/tailwindcss/blob/master/src/css/preflight.css */\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n*/\nhtml {\n --default-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,\n Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n line-height: 1.5;\n font-family: var(--font, --default-font);\n font-feature-settings: normal;\n}\n\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0;\n line-height: inherit;\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n border-color: var(--grid, inherit);\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\np,\npre,\nfigure,\ndl,\ndd,\nblockquote,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n font-size: inherit;\n font-weight: inherit;\n}\n\n.tag,\np code {\n font-size: .8em;\n padding: 0.1em 0.3em;\n border-radius: 1px;\n background-color: #9999993b;\n}\n\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n\na:hover {\n color: var(--prime, inherit);\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\n\nkbd,\nsamp,\npre,\ncode {\n --default-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n font-family: var(--font-mono, --default-font-mono);\n}\n\n\npre {\n overflow-x: auto;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n\n::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n\n::-webkit-scrollbar-thumb {\n background: rgba(128, 128, 128, 0.7);\n}\n::-webkit-scrollbar-thumb:window-inactive {\n background: rgba(128, 128, 128, 0.2);\n}\n\n::-webkit-scrollbar-thumb:active {\n background-color: rgb(128, 128, 128);\n}\n", + ":root {\n // code highlighting\n --code-back: #f6f8fa;\n --code-text: #24292f;\n --code-line-number: #999;\n --code-keyword: #cf222e;\n --code-attribute: #0550ae;\n --code-literal-string: #0a3069;\n --code-literal-number: #b5cea8;\n --code-comment: #6e7781;\n --code-builtin-type: #cf222e;\n --code-function: #0550ae;\n --code-meta: #cf222e;\n --code-highlighted-line: #e9e9e9;\n}\n\n.light {\n --prime: #3170a7;\n --grid: #e1e1e1;\n --back: #fff;\n --text: #333;\n}\n\n.dark {\n --prime: #3170a7;\n --back: #181818;\n --text: silver;\n --grid: #555;\n\n // code highlighting\n --code-back: #1d1d1d;\n --code-text: #d4d4d4cc;\n --code-line-number: #999999ca;\n --code-keyword: #569cd6cb;\n --code-attribute: #9cdcfecb;\n --code-literal-string: #ce9178;\n --code-literal-number: #b5cea8;\n --code-comment: #517043d5;\n --code-builtin-type: #4ec9b0cb;\n --code-function: #dcdcaaca;\n --code-meta: #c586c0cb;\n --code-highlighted-line: #9494951b;\n}\n\n.sand {\n --prime: #3170a7;\n --back: #e6dece;\n --text: #434343;\n\n --code-back: #dbd3c1be;\n --code-text: #24292f;\n --code-highlighted-line: #cec3ac;\n\n --back-image: url('texture.png');\n}\n\n.rock {\n --prime: #3170a7;\n --back: #ccc;\n --text: #434343;\n\n --code-back: #c1c1c1be;\n --code-text: #24292f;\n --code-highlighted-line: #afaeae;\n\n --back-image: url('texture.png');\n}", + "@mixin breakpoint($k, $v) {\n @if $k == \"\" {\n @content;\n }\n @else {\n @media (min-width: $v) {\n @content;\n }\n }\n}\n\n/* classes that breakpoints are necessary for */\n$screens: (\"\", 0), (sm\\:, 640px);\n@each $k, $v in $screens {\n @include breakpoint($k, $v) {\n .#{$k}flex { display: flex; }\n \n .#{$k}flex-row { flex-direction: row; }\n \n .#{$k}flex-col { flex-direction: column; }\n\n .#{$k}flex-col-reverse { flex-direction: column-reverse; }\n \n .#{$k}justify-between { justify-content: space-between; }\n \n .#{$k}items-center { align-items: center; }\n \n .#{$k}items-start { align-items: flex-start; }\n \n .#{$k}items-end { align-items: flex-end; }\n \n .#{$k}items-baseline { align-items: baseline; }\n\n .#{$k}text-center { text-align: center; }\n\n .#{$k}text-left { text-align: left; }\n }\n}\n\n/* layout */\n.container {\n max-width: var(--max-w);\n}\n\n.hidden {\n display: none;\n}\n\n.overflow-x-auto {\n overflow-x: auto;\n}\n\n.overflow-y-hidden {\n overflow-y: hidden;\n}\n\n/* spacing */\n$u: 0.25;\n@each $i, $class in (p, padding), (m, margin) {\n @each $j, $size in (t, top), (r, right), (b, bottom), (l, left) {\n @each $k in 0,1,2,3,4,5,6,7,8 {\n .#{$i}#{$j}-#{$k} {\n #{$class}-#{$size}: #{$u * $k}rem;\n }\n }\n }\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n/* typography */\n$weights: (thin, 100), (extralight, 200), (light, 300), (normal, 400), \n (medium, 500), (semibold, 600), (bold, 700), (extrabold, 800);\n@each $k, $v in $weights {\n .font-#{$k} {\n font-weight: #{$v};\n }\n}\n\n$texts: (xs, 0.75), (sm, 0.875), (base, 1), (lg, 1.125), (xl, 1.25),\n (2xl, 1.5), (3xl, 1.875), (4xl, 2.25), (5xl, 3), (6xl, 3.75);\n@each $k, $s in $texts {\n .text-#{$k} {\n font-size: #{$s}rem;\n }\n}\n\n.whitespace-nowrap {\n white-space: nowrap;\n}\n\n.list-disc {\n list-style-type: disc;\n padding-inline-start: 22px;\n}\n\n/* interactivity */\n.cursor-pointer {\n cursor: pointer;\n}", + "$heading: (h1, 2.25, 800), (h2, 2, 700), (h3, 1.75, 600), (h4, 1.5, 600),\n (h5, 1.25, 500), (h6, 1, 400);\n@each $tag, $size, $weight in $heading {\n .md #{$tag} {\n font-size: #{$size}rem;\n font-weight: $weight;\n margin-top: 1rem;\n margin-bottom: .75rem;\n }\n}\n\n.md p {\n margin: .75rem 0;\n}\n\n.md pre {\n font-size: 13px;\n line-height: 1.3;\n}\n\n.md blockquote {\n background-color: #94949514;\n padding: 1px .85em;\n border-left: 4px solid var(--prime);\n font-style: italic;\n}\n\n.md table {\n border-collapse: collapse;\n border-spacing: 0;\n display: block;\n max-width: 100%;\n width: 100%;\n margin: 1em 0;\n overflow: auto;\n}\n\n.md table thead {\n border-top: 2px solid var(--text);\n border-bottom: 1px solid var(--text);\n}\n\n.md table tbody {\n border-bottom: 2px solid var(--text);\n}\n\n.md table th,\n.md table td {\n padding: .25rem 1rem;\n}\n\n.md img {\n max-width: 100%;\n}\n\n.md .katex {\n overflow: auto hidden;\n}\n\n.md ul {\n list-style: disc;\n padding-inline-start: 30px;\n}\n\n.md ol {\n list-style: decimal;\n padding-inline-start: 30px;\n}\n\n.md ul input[type=\"checkbox\"] {\n margin: 0;\n margin-right: 5px;\n}\n\n.md ul:has(input) {\n list-style: none;\n padding-inline-start: 8px;\n}\n\n.md li {\n margin-bottom: .5rem;\n line-height: 1.5;\n}\n\n.md ol,\n.md ul,\n.md img,\n.md blockquote,\n.md .highlight {\n margin: .75rem 0;\n}\n\n.md blockquote p {\n margin: .45rem 0;\n line-height: 1.5;\n font-size: .95rem;\n}\n\n.md hr {\n margin: 1.5rem 0;\n}\n\n.md .footnotes {\n word-break: break-all;\n font-size: .9rem;\n}\n\n.md p sup {\n margin-left: 4px;\n}\n", + ".chroma {\n margin: .5em 0;\n background-image: var(--back-image);\n background-color: var(--code-back);\n border-radius: 2px;\n}\n\n.chroma code {\n color: var(--code-text);\n}\n\n/* LineTableTD */\n.chroma .lntd {\n vertical-align: top;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n.chroma .lntable tbody {\n border: 0;\n}\n\n.chroma .lntable td:nth-child(2) {\n width: 100%;\n}\n\n.chroma .lnt,\n.chroma .line {\n display: block;\n line-height: 1.3;\n}\n\n/* LineNumbersTable */\n.chroma .lnt {\n color: var(--code-line-number);\n padding-left: .9em;\n padding-right: 1em;\n text-align: right;\n}\n\n.chroma .hl .lnt {\n display: inline;\n}\n\n/* Keyword */\n.chroma .kc,\n.chroma .kd,\n.chroma .kn,\n.chroma .kp,\n.chroma .kr,\n// .chroma .kt,\n.chroma .k,\n.chroma .si {\n color: var(--code-keyword);\n}\n\n.chroma .na {\n color: var(--code-attribute);\n}\n\n// .chroma .n,\n.chroma .nb,\n.chroma .bp,\n// .chroma .nc,\n.chroma .no,\n.chroma .nd,\n.chroma .ni,\n.chroma .ne,\n// .chroma .nf,\n.chroma .fm,\n.chroma .nl,\n.chroma .nn {\n color: var(--code-keyword);\n}\n\n/* NameProperty */\n.chroma .py,\n.chroma .nt,\n.chroma .nv,\n.chroma .vc,\n.chroma .vg,\n.chroma .vi,\n.chroma .vm {\n color: var(--code-keyword);\n}\n\n/* LiteralString */\n.chroma .s,\n.chroma .sa,\n.chroma .sb,\n.chroma .sc,\n.chroma .dl,\n.chroma .sd,\n.chroma .s2,\n.chroma .se,\n.chroma .sh,\n.chroma .sx,\n.chroma .sr,\n.chroma .s1,\n.chroma .ss,\n.chroma .cpf {\n color: var(--code-literal-string);\n}\n\n/* LiteralNumber */\n.chroma .m,\n.chroma .mb,\n.chroma .mf,\n.chroma .mh,\n.chroma .mi,\n.chroma .il,\n.chroma .mo {\n color: var(--code-literal-number);\n}\n\n/* Comment */\n.chroma .c,\n.chroma .ch,\n.chroma .cm,\n.chroma .c1,\n.chroma .cs {\n color: var(--code-comment);\n}\n\n.chroma .nb,\n.chroma .kt {\n color: var(--code-builtin-type);\n}\n\n.chroma .fm,\n.chroma .nf {\n color: var(--code-function);\n}\n\n\n.chroma .cp {\n color: var(--code-meta);\n}\n\n.chroma .hl {\n display: block;\n background-color: var(--code-highlighted-line);\n}" + ], + "names": [], + "mappings": "ACSA,AAAA,IAAI,AAAC,CACH,cAAc,CAAA;wDAAC,CAEf,WAAW,CAAE,GAAG,CAChB,WAAW,CAAE,2BAA2B,CACxC,qBAAqB,CAAE,MAAM,CAC9B,AAOD,AAAA,IAAI,AAAC,CACH,MAAM,CAAE,CAAC,CACT,WAAW,CAAE,OAAO,CACrB,AAOD,AAAA,EAAE,AAAC,CACD,MAAM,CAAE,CAAC,CACT,KAAK,CAAE,OAAO,CACd,gBAAgB,CAAE,GAAG,CACrB,YAAY,CAAE,oBAAoB,CACnC,AAKD,AAAA,CAAC,CACD,GAAG,CACH,MAAM,CACN,EAAE,CACF,EAAE,CACF,UAAU,CACV,EAAE,CACF,EAAE,CACF,EAAE,CACF,EAAE,CACF,EAAE,CACF,EAAE,AAAC,CACD,MAAM,CAAE,CAAC,CACT,SAAS,CAAE,OAAO,CAClB,WAAW,CAAE,OAAO,CACrB,AAED,AAAA,IAAI,CACJ,CAAC,CAAC,IAAI,AAAC,CACL,SAAS,CAAE,IAAI,CACf,OAAO,CAAE,WAAW,CACpB,aAAa,CAAE,GAAG,CAClB,gBAAgB,CAAE,SAAS,CAC5B,AAGD,AAAA,EAAE,CACF,EAAE,CACF,IAAI,AAAC,CACH,UAAU,CAAE,IAAI,CAChB,MAAM,CAAE,CAAC,CACT,OAAO,CAAE,CAAC,CACX,AAKD,AAAA,CAAC,AAAC,CACA,KAAK,CAAE,OAAO,CACd,eAAe,CAAE,OAAO,CACzB,AAED,AAAA,CAAC,CAAC,KAAK,AAAC,CACN,KAAK,CAAE,qBAAqB,CAC7B,AAQD,AA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AAC,CACH,MAAM,CAAE,MAAM,CACd,WAAW,CAAE,WAAW,CACxB,WAAW,CAAE,GAAG,CAChB,WAAW,CAAE,GAAG,CAChB,gBAAgB,CAAE,iBAAiB,CACnC,gBAAgB,CAAE,WAAW,CAC7B,KAAK,CAAE,WAAW,CAClB,mBAAmB,CAAE,qCAAqC,CAC1D,mBAAmB,CAAE,IAAI,CAC1B,AAED,AAAA,IAAI,AAAC,CACH,SAAS,CAAE,WAAW,CACvB,AAED,AAAA,IAAI,CAAC,CAAC,CAAC,CAAC,AAAC,CACP,KAAK,CAAE,YAAY,CACpB,AAED,AAAA,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,AAAC,CACb,eAAe,CAAE,SAAS,CAC3B,AAED,UAAU,CAAV,MAAU,CACR,IAAI,CACF,OAAO,CAAE,CAAC,CACV,SAAS,CAAE,gBAAgB,CAG7B,EAAE,CACA,OAAO,CAAE,CAAC,CACV,SAAS,CAAE,IAAI,EAInB,MAAM,mBACJ,CAAA,AAAA,IAAI,AAAC,CACH,UAAU,CAAE,gBAAgB,CAC7B,CAAA" +} \ No newline at end of file diff --git a/minima.js b/minima.js new file mode 100644 index 0000000..1639148 --- /dev/null +++ b/minima.js @@ -0,0 +1 @@ +(()=>{var d="giscus",a="sand",r="🌝",m="🌚",c=a==="system"?"light":a,f="dark",s,n,i;function l(e){s||(s=document.getElementById(e)),s.innerHTML=localStorage.theme===c?r:m,s.addEventListener("click",g)}function g(){let e=localStorage.getItem("theme"),t=e===c?f:c;switch(_(e,t),d){case"utterances":p(`github-${t}`);break;case"giscus":w(t);break;default:}}function _(e,t){let{classList:o}=document.documentElement,h=t===c?r:m;o.remove(e),o.add(t),localStorage.setItem("theme",t),s.innerHTML=h}function p(e){e!=="dark"&&(e="light"),n=n||document.querySelector("iframe.utterances-frame"),!!n&&n.contentWindow.postMessage({type:"set-theme",theme:e},"https://utteranc.es")}function w(e){e!=="dark"&&(e="light_protanopia"),i=i||document.querySelector("iframe.giscus-frame"),!!i&&i.contentWindow.postMessage({giscus:{setConfig:{theme:e}}},"https://giscus.app")}function u(){"true"==="false"&&(document.documentElement.style="user-select:none")}l("theme-switch");u();})(); diff --git a/page/1/index.html b/page/1/index.html new file mode 100644 index 0000000..618bc8a --- /dev/null +++ b/page/1/index.html @@ -0,0 +1 @@ +https://mivinci.github.io/hugo-theme-minima/ \ No newline at end of file diff --git a/series/index.html b/series/index.html new file mode 100644 index 0000000..e0ee290 --- /dev/null +++ b/series/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - Series

      Series

        \ No newline at end of file diff --git a/series/index.xml b/series/index.xml new file mode 100644 index 0000000..8333b09 --- /dev/null +++ b/series/index.xml @@ -0,0 +1 @@ +Series on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/series/Recent content in Series on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 X \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..8d845d1 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1 @@ +https://mivinci.github.io/hugo-theme-minima/en/sitemap.xml2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/zh-cn/sitemap.xml2021-07-18T10:52:59+08:00 \ No newline at end of file diff --git a/tags/index.html b/tags/index.html new file mode 100644 index 0000000..1b6f813 --- /dev/null +++ b/tags/index.html @@ -0,0 +1,6 @@ +Hugo on Minima - Tags

        Tags

        \ No newline at end of file diff --git a/tags/index.xml b/tags/index.xml new file mode 100644 index 0000000..8deee5d --- /dev/null +++ b/tags/index.xml @@ -0,0 +1 @@ +Tags on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/tags/Recent content in Tags on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800markdownhttps://mivinci.github.io/hugo-theme-minima/tags/markdown/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/tags/markdown/mermaidhttps://mivinci.github.io/hugo-theme-minima/tags/mermaid/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/tags/mermaid/KaTexhttps://mivinci.github.io/hugo-theme-minima/tags/katex/Sat, 18 Jul 2020 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/tags/katex/ \ No newline at end of file diff --git a/tags/katex/index.html b/tags/katex/index.html new file mode 100644 index 0000000..ce1c797 --- /dev/null +++ b/tags/katex/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - KaTex

        Tag - "KaTex"

        2020

        Math Typesetting
        Jul 18, 2020

        A brief guide to write mathematical notation.

        \ No newline at end of file diff --git a/tags/katex/index.xml b/tags/katex/index.xml new file mode 100644 index 0000000..2950595 --- /dev/null +++ b/tags/katex/index.xml @@ -0,0 +1,4 @@ +KaTex on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/tags/katex/Recent content in KaTex on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSat, 18 Jul 2020 10:52:59 +0800Math Typesettinghttps://mivinci.github.io/hugo-theme-minima/math-typesetting/Sat, 18 Jul 2020 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/math-typesetting/Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries like KaTeX the one that Minima uses. Here&rsquo;s what you can do in the configuration file to enable it. +math: enable: false provider: katex Examples The following are some examples of mathematical notations with KaTeX that are pretty much like LaTeX&rsquo;s. +Block \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} wiil be rendered as: +$$ \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} $$ \ No newline at end of file diff --git a/tags/markdown/index.html b/tags/markdown/index.html new file mode 100644 index 0000000..22c069b --- /dev/null +++ b/tags/markdown/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - markdown

        Tag - "markdown"

        2021

        Mermaid Diagrams
        Jul 18, 2021

        A brief guide to write diagrams.

        Sample article showcasing basic Markdown syntax.

        2020

        Math Typesetting
        Jul 18, 2020

        A brief guide to write mathematical notation.

        \ No newline at end of file diff --git a/tags/markdown/index.xml b/tags/markdown/index.xml new file mode 100644 index 0000000..5f4e1b1 --- /dev/null +++ b/tags/markdown/index.xml @@ -0,0 +1,6 @@ +markdown on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/tags/markdown/Recent content in markdown on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttps://mivinci.github.io/hugo-theme-minima/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/markdown-syntax/<p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.</p>Mermaid Diagramshttps://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/Examples The following are some examples of the diagrams, charts and graphs that can be made using Mermaid. Click here to jump into the full syntax. +Flowchart flowchart LR A[Hard] --&gt;|Text| B(Round) B --&gt; C{Decision} C --&gt;|One| D[Result 1] C --&gt;|Two| E[Result 2] will be rendered as: +flowchart LR A[Hard] --&gt;|Text| B(Round) B --&gt; C{Decision} C --&gt;|One| D[Result 1] C --&gt;|Two| E[Result 2] Sequence diagram sequenceDiagram Alice-&gt;&gt;John: Hello John, how are you?Math Typesettinghttps://mivinci.github.io/hugo-theme-minima/math-typesetting/Sat, 18 Jul 2020 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/math-typesetting/Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries like KaTeX the one that Minima uses. Here&rsquo;s what you can do in the configuration file to enable it. +math: enable: false provider: katex Examples The following are some examples of mathematical notations with KaTeX that are pretty much like LaTeX&rsquo;s. +Block \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} wiil be rendered as: +$$ \varphi = 1+\frac{1}{1+\frac{1}{1+\frac{1} {1+\cdots}}} $$ \ No newline at end of file diff --git a/tags/mermaid/index.html b/tags/mermaid/index.html new file mode 100644 index 0000000..19b9346 --- /dev/null +++ b/tags/mermaid/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - mermaid

        Tag - "mermaid"

        2021

        Mermaid Diagrams
        Jul 18, 2021

        A brief guide to write diagrams.

        \ No newline at end of file diff --git a/tags/mermaid/index.xml b/tags/mermaid/index.xml new file mode 100644 index 0000000..f3b5be3 --- /dev/null +++ b/tags/mermaid/index.xml @@ -0,0 +1,3 @@ +mermaid on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/tags/mermaid/Recent content in mermaid on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800Mermaid Diagramshttps://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/mermaid-diagrams/Examples The following are some examples of the diagrams, charts and graphs that can be made using Mermaid. Click here to jump into the full syntax. +Flowchart flowchart LR A[Hard] --&gt;|Text| B(Round) B --&gt; C{Decision} C --&gt;|One| D[Result 1] C --&gt;|Two| E[Result 2] will be rendered as: +flowchart LR A[Hard] --&gt;|Text| B(Round) B --&gt; C{Decision} C --&gt;|One| D[Result 1] C --&gt;|Two| E[Result 2] Sequence diagram sequenceDiagram Alice-&gt;&gt;John: Hello John, how are you? \ No newline at end of file diff --git a/static/texture.png b/texture.png similarity index 100% rename from static/texture.png rename to texture.png diff --git a/theme.toml b/theme.toml deleted file mode 100644 index aaf0ecd..0000000 --- a/theme.toml +++ /dev/null @@ -1,39 +0,0 @@ -# theme.toml template for a Hugo theme -# See https://github.com/gohugoio/hugoThemes#themetoml for an example - -name = "Minima" -license = "MIT" -licenselink = "https://github.com/mivinci/minima/blob/master/LICENSE" -description = "A clean and minimal Hugo theme" -homepage = "https://github.com/mivinci/hugo-theme-minima" -tags = [ - "minimal", - "clean", - "blog", - "responsive", - "personal", - "simple", - "minimalist", - "portfolio", - "dark", -] -features = [ - "Dark mode", - "Multilingual mode", - "KaTeX", - "Mermaid", - "Code highlighting", - "External link", - "RSS", -] -min_version = "0.85.0" - -[author] -name = "Mivinci" -homepage = "https://mivinci.github.io/hugo-theme-minima" - -# If porting an existing theme -[original] -name = "Minima" -homepage = "https://adisaktijrs.github.io/minima" -repo = "https://github.com/adisaktijrs/hexo-theme-minima" diff --git a/zh-cn/404.html b/zh-cn/404.html new file mode 100644 index 0000000..6c7184b --- /dev/null +++ b/zh-cn/404.html @@ -0,0 +1,3 @@ +Hugo on Minima - 404 Page not found

        Oops!

        404 Not Found

        \ No newline at end of file diff --git a/zh-cn/categories/index.html b/zh-cn/categories/index.html new file mode 100644 index 0000000..f5af489 --- /dev/null +++ b/zh-cn/categories/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - Categories

        Categories

          \ No newline at end of file diff --git a/zh-cn/categories/index.xml b/zh-cn/categories/index.xml new file mode 100644 index 0000000..230dcc5 --- /dev/null +++ b/zh-cn/categories/index.xml @@ -0,0 +1 @@ +Categories on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/zh-cn/categories/Recent content in Categories on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 X \ No newline at end of file diff --git a/zh-cn/index.html b/zh-cn/index.html new file mode 100644 index 0000000..f49a5bc --- /dev/null +++ b/zh-cn/index.html @@ -0,0 +1,4 @@ +Hugo on Minima

          你好 :)

          目前住在地球 🌍

          这是 Minima, 一个简洁的 Hugo 主题,移植自 Hexo Minima。 +支持深色模式、多语言、数学公式、流程图、代码语法高亮,当然还有分类、标签、系列等等。

          近期文章

          Markdown 语法指北
          2021 年 07 月 18 日

          一篇 Markdown 示例文章,翻译自官方示例。

          \ No newline at end of file diff --git a/zh-cn/index.xml b/zh-cn/index.xml new file mode 100644 index 0000000..93710c6 --- /dev/null +++ b/zh-cn/index.xml @@ -0,0 +1 @@ +Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/zh-cn/Recent content on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800Markdown 语法指北https://mivinci.github.io/hugo-theme-minima/zh-cn/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/zh-cn/markdown-syntax/<p>本文提供了一个可以在 Hugo 内容文件中使用的基本 Markdown 语法示例,还展示了基本 HTML 元素是否在 Hugo 主题中使用 CSS 进行修饰。</p> \ No newline at end of file diff --git a/zh-cn/markdown-syntax/index.html b/zh-cn/markdown-syntax/index.html new file mode 100644 index 0000000..577c674 --- /dev/null +++ b/zh-cn/markdown-syntax/index.html @@ -0,0 +1,105 @@ +Hugo on Minima - Markdown 语法指北

          Markdown 语法指北

          发布于 — 2021 年 07 月 18 日

          一篇 Markdown 示例文章,翻译自官方示例。

          本文提供了一个可以在 Hugo 内容文件中使用的基本 Markdown 语法示例,还展示了基本 HTML 元素是否在 Hugo 主题中使用 CSS 进行修饰。

          标题

          下面的 HTML <h1><h6> 元素代表了六个级别的章节标题。 <h1> 是最高的部分级别,而 <h6> 是最低的。

          一级标题

          二级标题

          三级标题

          四级标题

          五级标题
          六级标题

          段落

          Xerum,我可以和他解释谁在痛苦中。 当我来到你身边,当我充满快乐时,我被快乐所折磨,或者他是天生的,或者是一个骗子,因为那个让我快乐痛苦的人是事情的专家,或者他撕裂和撕破自己的意志,仿佛他值得被遮盖,他是不是走到了心坎上,以同样的心去追随同样的事情? 为什么毛孔会竖起来,当它被放置在一个不知道老鼠意志或一切的地方时? 我会安静的。 就我而言,我的心以一种或另一种方式受到干扰,我把它们撕下来擦干,这样我要么杀了它们,要么让它们逃跑。 他憎恨真相,因为 veliamenim 的浪潮是起因和面子本身,而版本的痛苦又重演了。

          是旅行吗? 因为每一件事都有一些你讨厌或讨厌的东西,所以你会吃东西,以免让你的智慧隐藏这样一个事实,即心脏和心脏或有趣的东西会从中出来。

          块引用

          blockquote 元素表示从另一个来源引用的内容,可选地带有必须在“footer”或“cite”元素内的引用,以及可选的内联更改,例如注释和缩写。

          不注明出处的块引用

          然后,为了铸币安德普,要给予的知识相应地减少。 +注意您可以在块引用中使用 Markdown 语法

          带出处的块引用

          不要通过共享内存来通信,通过通信来共享内存。 +— Rob Pike1

          表格

          表格不是核心 Markdown 规范的一部分,但 Hugo 支持开箱即用地支持它们。

          姓名年龄
          小明27
          大壮23

          表格内的内联 Markdown

          斜体粗体代码
          斜体粗体code

          代码块

          不使用高亮的代码块

          <!doctype html>
          +<html lang="en">
          +  <head>
          +    <meta charset="utf-8">
          +    <title>Example HTML5 Document</title>
          +  </head>
          +  <body>
          +    <p>Test</p>
          +  </body>
          +</html>
          +

          HTML 的代码块

           1
          + 2
          + 3
          + 4
          + 5
          + 6
          + 7
          + 8
          + 9
          +10
          +
          <!doctype html>
          +<html lang="en">
          +<head>
          +  <meta charset="utf-8">
          +  <title>Example HTML5 Document</title>
          +</head>
          +<body>
          +  <p>Test</p>
          +</body>
          +</html>
          +

          Go 的代码块

          1
          +2
          +3
          +4
          +5
          +
          type Registry interface {
          +    Register(*Service, ...RegisterOption) error
          +    Deregister(*Service, ...DeregisterOption) error
          +    List(string, ...ListOption) ([]*Service, error)
          +}
          +

          C艹 的代码块

           1
          + 2
          + 3
          + 4
          + 5
          + 6
          + 7
          + 8
          + 9
          +10
          +11
          +
          #include <iostream>
          +
          +class Animal {
          +    string name;
          +public:
          +    void eat();
          +}
          +
          +void Animal::eat() {
          +    std::cout << "eat something" << std::endl;
          +}
          +

          Jvav 的代码块

           1
          + 2
          + 3
          + 4
          + 5
          + 6
          + 7
          + 8
          + 9
          +10
          +11
          +12
          +13
          +
          class Animal {
          +    void speak() { /* speak */ }
          +}
          +
          +class Dog extends Animal {
          +    @override
          +    void speak() { /* bark */ }
          +}
          +
          +class Cat extends Animal {
          +    @override
          +    void speak() { /* mew */ } 
          +}
          +

          Python 的代码块

          1
          +2
          +3
          +4
          +5
          +6
          +
          class Dog(Animal):
          +    def __init__(self):
          +        super.__init__()
          +    
          +    def eat():
          +        pass
          +

          列表类型

          有序列表

          1. 第一项
          2. 第二项
          3. 第三项
          • 已勾选
          • 未勾选

          无序列表

          • 第一项
          • 另一项
          • 另另一项

          嵌套列表

          • 水果
            • 苹果
            • 橘子
            • 香蕉
          • 乳制品
            • 牛奶
            • 奶酪

          1. 上述引述摘自 Rob Pike 在 2015 年 11 月 18 日 Gopherfest 期间的 talk。 ↩︎

          \ No newline at end of file diff --git a/zh-cn/page/1/index.html b/zh-cn/page/1/index.html new file mode 100644 index 0000000..ef7441c --- /dev/null +++ b/zh-cn/page/1/index.html @@ -0,0 +1 @@ +https://mivinci.github.io/hugo-theme-minima/zh-cn/ \ No newline at end of file diff --git a/zh-cn/series/index.html b/zh-cn/series/index.html new file mode 100644 index 0000000..3b7caf1 --- /dev/null +++ b/zh-cn/series/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - Series

          Series

            \ No newline at end of file diff --git a/zh-cn/series/index.xml b/zh-cn/series/index.xml new file mode 100644 index 0000000..4266f12 --- /dev/null +++ b/zh-cn/series/index.xml @@ -0,0 +1 @@ +Series on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/zh-cn/series/Recent content in Series on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 X \ No newline at end of file diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml new file mode 100644 index 0000000..c68fc2e --- /dev/null +++ b/zh-cn/sitemap.xml @@ -0,0 +1 @@ +https://mivinci.github.io/hugo-theme-minima/zh-cn/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/zh-cn/tags/markdown/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/zh-cn/markdown-syntax/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/zh-cn/tags/2021-07-18T10:52:59+08:00https://mivinci.github.io/hugo-theme-minima/zh-cn/categories/https://mivinci.github.io/hugo-theme-minima/zh-cn/series/ \ No newline at end of file diff --git a/zh-cn/tags/index.html b/zh-cn/tags/index.html new file mode 100644 index 0000000..828a6b4 --- /dev/null +++ b/zh-cn/tags/index.html @@ -0,0 +1,4 @@ +Hugo on Minima - Tags

            Tags

            \ No newline at end of file diff --git a/zh-cn/tags/index.xml b/zh-cn/tags/index.xml new file mode 100644 index 0000000..edeef93 --- /dev/null +++ b/zh-cn/tags/index.xml @@ -0,0 +1 @@ +Tags on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/zh-cn/tags/Recent content in Tags on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800markdownhttps://mivinci.github.io/hugo-theme-minima/zh-cn/tags/markdown/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/zh-cn/tags/markdown/ \ No newline at end of file diff --git a/zh-cn/tags/markdown/index.html b/zh-cn/tags/markdown/index.html new file mode 100644 index 0000000..3325905 --- /dev/null +++ b/zh-cn/tags/markdown/index.html @@ -0,0 +1,3 @@ +Hugo on Minima - markdown

            Tag - "markdown"

            2021

            Markdown 语法指北
            2021 年 07 月 18 日

            一篇 Markdown 示例文章,翻译自官方示例。

            \ No newline at end of file diff --git a/zh-cn/tags/markdown/index.xml b/zh-cn/tags/markdown/index.xml new file mode 100644 index 0000000..0e8aa17 --- /dev/null +++ b/zh-cn/tags/markdown/index.xml @@ -0,0 +1 @@ +markdown on Hugo on Minimahttps://mivinci.github.io/hugo-theme-minima/zh-cn/tags/markdown/Recent content in markdown on Hugo on MinimaHugo -- gohugo.ioen-us© 2020-2023 XSun, 18 Jul 2021 10:52:59 +0800Markdown 语法指北https://mivinci.github.io/hugo-theme-minima/zh-cn/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800https://mivinci.github.io/hugo-theme-minima/zh-cn/markdown-syntax/<p>本文提供了一个可以在 Hugo 内容文件中使用的基本 Markdown 语法示例,还展示了基本 HTML 元素是否在 Hugo 主题中使用 CSS 进行修饰。</p> \ No newline at end of file