From 8d9b310a855cefcd4c9ac4e76e360c5347c6ceea Mon Sep 17 00:00:00 2001 From: mivinci <1366723936@qq.com> Date: Mon, 19 Jul 2021 14:37:53 +0800 Subject: [PATCH] remove public dir --- .gitignore | 3 +- exampleSite/public/about/index.html | 7 - exampleSite/public/categories/index.html | 9 - exampleSite/public/categories/index.xml | 1 - .../public/categories/syntax/index.html | 6 - .../public/categories/syntax/index.xml | 1 - .../public/categories/themes/index.html | 6 - .../public/categories/themes/index.xml | 1 - exampleSite/public/css/main.css | 227 ------------------ exampleSite/public/css/md.css | 26 -- exampleSite/public/css/syntax.css | 122 ---------- exampleSite/public/emoji-support/index.html | 12 - exampleSite/public/favicon.ico | Bin 832 -> 0 bytes exampleSite/public/index.html | 6 - exampleSite/public/index.xml | 1 - exampleSite/public/js/main.js | 18 -- exampleSite/public/markdown-syntax/index.html | 57 ----- .../public/math-typesetting/index.html | 15 -- .../public/migrate-from-jekyl/index.html | 1 - exampleSite/public/page/1/index.html | 1 - .../public/placeholder-text/index.html | 6 - exampleSite/public/series/index.html | 7 - exampleSite/public/series/index.xml | 1 - .../public/series/themes-guide/index.html | 6 - .../public/series/themes-guide/index.xml | 1 - exampleSite/public/sitemap.xml | 1 - exampleSite/public/tags/css/index.html | 6 - exampleSite/public/tags/css/index.xml | 1 - exampleSite/public/tags/html/index.html | 6 - exampleSite/public/tags/html/index.xml | 1 - exampleSite/public/tags/index.html | 13 - exampleSite/public/tags/index.xml | 1 - exampleSite/public/tags/markdown/index.html | 6 - exampleSite/public/tags/markdown/index.xml | 1 - exampleSite/public/tags/text/index.html | 6 - exampleSite/public/tags/text/index.xml | 1 - 36 files changed, 2 insertions(+), 582 deletions(-) delete mode 100644 exampleSite/public/about/index.html delete mode 100644 exampleSite/public/categories/index.html delete mode 100644 exampleSite/public/categories/index.xml delete mode 100644 exampleSite/public/categories/syntax/index.html delete mode 100644 exampleSite/public/categories/syntax/index.xml delete mode 100644 exampleSite/public/categories/themes/index.html delete mode 100644 exampleSite/public/categories/themes/index.xml delete mode 100644 exampleSite/public/css/main.css delete mode 100644 exampleSite/public/css/md.css delete mode 100644 exampleSite/public/css/syntax.css delete mode 100644 exampleSite/public/emoji-support/index.html delete mode 100644 exampleSite/public/favicon.ico delete mode 100644 exampleSite/public/index.html delete mode 100644 exampleSite/public/index.xml delete mode 100644 exampleSite/public/js/main.js delete mode 100644 exampleSite/public/markdown-syntax/index.html delete mode 100644 exampleSite/public/math-typesetting/index.html delete mode 100644 exampleSite/public/migrate-from-jekyl/index.html delete mode 100644 exampleSite/public/page/1/index.html delete mode 100644 exampleSite/public/placeholder-text/index.html delete mode 100644 exampleSite/public/series/index.html delete mode 100644 exampleSite/public/series/index.xml delete mode 100644 exampleSite/public/series/themes-guide/index.html delete mode 100644 exampleSite/public/series/themes-guide/index.xml delete mode 100644 exampleSite/public/sitemap.xml delete mode 100644 exampleSite/public/tags/css/index.html delete mode 100644 exampleSite/public/tags/css/index.xml delete mode 100644 exampleSite/public/tags/html/index.html delete mode 100644 exampleSite/public/tags/html/index.xml delete mode 100644 exampleSite/public/tags/index.html delete mode 100644 exampleSite/public/tags/index.xml delete mode 100644 exampleSite/public/tags/markdown/index.html delete mode 100644 exampleSite/public/tags/markdown/index.xml delete mode 100644 exampleSite/public/tags/text/index.html delete mode 100644 exampleSite/public/tags/text/index.xml diff --git a/.gitignore b/.gitignore index 496ee2c..faa6c31 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +public \ No newline at end of file diff --git a/exampleSite/public/about/index.html b/exampleSite/public/about/index.html deleted file mode 100644 index 80abe57..0000000 --- a/exampleSite/public/about/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Hi Folks - About

Hi Folks


About

Posted at — Jul 18, 2021 -DRAFT

\ No newline at end of file diff --git a/exampleSite/public/categories/index.html b/exampleSite/public/categories/index.html deleted file mode 100644 index 325dec2..0000000 --- a/exampleSite/public/categories/index.html +++ /dev/null @@ -1,9 +0,0 @@ -Hi Folks - Categories

Hi Folks


Categories

\ No newline at end of file diff --git a/exampleSite/public/categories/index.xml b/exampleSite/public/categories/index.xml deleted file mode 100644 index 68daa1d..0000000 --- a/exampleSite/public/categories/index.xml +++ /dev/null @@ -1 +0,0 @@ -Categories on Hi Folkshttp://h.xjj.pub/categories/Recent content in Categories on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800syntaxhttp://h.xjj.pub/categories/syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/categories/syntax/themeshttp://h.xjj.pub/categories/themes/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/categories/themes/ \ No newline at end of file diff --git a/exampleSite/public/categories/syntax/index.html b/exampleSite/public/categories/syntax/index.html deleted file mode 100644 index e8ba7fc..0000000 --- a/exampleSite/public/categories/syntax/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - syntax

Hi Folks


Category - "syntax"

\ No newline at end of file diff --git a/exampleSite/public/categories/syntax/index.xml b/exampleSite/public/categories/syntax/index.xml deleted file mode 100644 index c8a4ff6..0000000 --- a/exampleSite/public/categories/syntax/index.xml +++ /dev/null @@ -1 +0,0 @@ -syntax on Hi Folkshttp://h.xjj.pub/categories/syntax/Recent content in syntax on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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> \ No newline at end of file diff --git a/exampleSite/public/categories/themes/index.html b/exampleSite/public/categories/themes/index.html deleted file mode 100644 index a7a67d1..0000000 --- a/exampleSite/public/categories/themes/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - themes

Hi Folks


Category - "themes"

\ No newline at end of file diff --git a/exampleSite/public/categories/themes/index.xml b/exampleSite/public/categories/themes/index.xml deleted file mode 100644 index 9f997fb..0000000 --- a/exampleSite/public/categories/themes/index.xml +++ /dev/null @@ -1 +0,0 @@ -themes on Hi Folkshttp://h.xjj.pub/categories/themes/Recent content in themes on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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> \ No newline at end of file diff --git a/exampleSite/public/css/main.css b/exampleSite/public/css/main.css deleted file mode 100644 index 9e19bd6..0000000 --- a/exampleSite/public/css/main.css +++ /dev/null @@ -1,227 +0,0 @@ -:root { - --pm: #0fa0ce; - --bd: #e1e1e1; - --bg: #fff; - --ft: #222; - --tag: #333; - - --w-mobile: 640px; -} - -html.dark { - --bg: #262d33; - --ft: #eee; - --bd: #555; - --tag: #999; -} - -body { - font-family: Helvetica, sans-serif; - max-width: var(--w-mobile); - margin: 50px auto 0; - font-size: 16px; - font-weight: 400; - color: var(--ft); - background-color: var(--bg); - transition-property: background-color, border-color, color; - transition-duration: .5s; -} - -h1,h2,h3,h4,h5 { - font-family: 'Noto Serif SC', 'Times New Roman', sans-serif; - font-weight: 700; - line-height: 1.5; -} - -p { - margin-top: 0; - line-height: 1.5; - text-align: left; -} - -hr { - margin: 30px 0; - border-width: 0; - border-top: 1px solid var(--bd); -} - -a { - text-decoration: none; -} - -a:not(.icon) { - color: inherit; - text-decoration: underline; - text-decoration-color: var(--pm); - background-image: linear-gradient( to bottom, rgba(0, 0, 0, 0) 50%, var(--pm) 50% ); - background-size: 100% 200%; - transition: background-position .2s ease-in-out; -} - -a:not(.icon):hover, -a:not(.icon):focus { - background-position: 0 100%; - color: #fff; -} - -.icon:hover { - transform: translateY(-5px); - transition: transform .3s ease-in-out; -} - -main { - animation: showup 0.7s; -} - -.row { - display: flex; - align-items: center; -} - -.col { - display: flex; - flex-direction: column; -} - -.jc-bt { - justify-content: space-between; -} - -.as-s { - align-self: start; -} - -.ai-c { - align-items: center; -} - -.gap-0_5 { - gap: .8rem; -} - -.gap-1 { - gap: 1rem; - row-gap: 1rem; -} - -.gap-2 { - gap: 2rem; - row-gap: 2rem; -} - -.gap-3 { - gap: 3rem; - row-gap: 3rem; -} - -.lg-1 { - font-size: 1.2em; -} - -.sm-1 { - font-size: .8em; -} - -.mtb-1 { - margin: 1em 0; -} - -.mtb-2 { - margin: 2em 0; -} - -.mb-1 { - margin-bottom: 1em; -} - -.mb-0 { - margin-bottom: 0; -} - -.mt-2 { - margin-top: 2em; -} - -.ml-1 { - margin-left: 1em; -} - -.btn { - cursor: pointer; -} - -.hidden { - display: none; -} - -.tag { - font-size: .7em; - font-weight: bold; - line-height: 1; - color: #fff; - background-color: var(--pm); - border-radius: 20px; - padding: 2px 8px; -} - -@keyframes showup { - from { - opacity: 0; - transform: translateY(20px); - } - - to { - opacity: 1; - transform: none; - } -} - -@media (max-width: 640px) { - body { - margin: 1em 2em; - } - - .row-mob { - flex-direction: column; - align-items: flex-start; - gap: 0; - row-gap: 0; - } - - .al-c-mob { - align-items: center; - } - - .col-rev-mob { - flex-direction: column-reverse; - } - - .sm-2-mob { - font-size: .8em; - } - - .mb-0_5-mob { - margin-bottom: .5em; - } - - .mb-1_5-mob { - margin-bottom: 1.5em; - } -} - -/* Scroll bar */ -::-webkit-scrollbar { - width: 8px; - height: 8px; -} - -::-webkit-scrollbar-thumb { - background: rgb(128 128 128 / 70%); -} -::-webkit-scrollbar-thumb:window-inactive { - background: rgb(128 128 128 / 20%); -} - -::-webkit-scrollbar-thumb:active { - background-color: rgb(128 128 128 / 100%); -} \ No newline at end of file diff --git a/exampleSite/public/css/md.css b/exampleSite/public/css/md.css deleted file mode 100644 index b4a5ff6..0000000 --- a/exampleSite/public/css/md.css +++ /dev/null @@ -1,26 +0,0 @@ -.md blockquote { - font-family: 'Inter'; - background-color: rgba(148, 148, 149, 0.08) ; - margin: 1.5em 0px; - padding: 1.1em 20px 1px 20px; - border-left: 8px solid var(--pm); - font-style: italic; -} - -.md table { - border-collapse: collapse; - border-spacing: 0; - display: block; - max-width: 100%; - width: 100%; - overflow: auto; -} - -.md table th { - background-color: var(--bg); -} - -table th, table td { - padding: 10px 20px; - border: 1px solid var(--bd); -} \ No newline at end of file diff --git a/exampleSite/public/css/syntax.css b/exampleSite/public/css/syntax.css deleted file mode 100644 index 21f760c..0000000 --- a/exampleSite/public/css/syntax.css +++ /dev/null @@ -1,122 +0,0 @@ -pre[class*="language-"], -code[class*="language-"] { - color: #d4d4d4; - font-size: 13px; - text-shadow: none; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - line-height: 1.5; - color: #d4d4d4; -} - -.chroma { - background-color: #292929; - margin: .5em 0; -} - -/* LineTableTD */ -.chroma .lntd { - vertical-align: top; - padding: 0; - margin: 0; - border: 0; -} - -.chroma .lntable { - border-spacing: 0; - padding: 0; - margin: 0; - border: 0; - width: auto; - overflow: auto; - display: block; -} - -/* LineNumbersTable */ -.chroma .lnt { - color: #999; - display: block; - padding-left: .5em; - padding-right: 1em; - text-align: right; - line-height: 1.5; - font-size: 13px; -} - -/* Keyword */ -.chroma .kc, -.chroma .kd, -.chroma .kn, -.chroma .kp, -.chroma .kr, -.chroma .kt, -.chroma .k, -.chroma .si { - color: #569cd6; -} - -.chroma .na { - color: #9cdcfe; -} - -.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: #3f4c50; -} - -/* NameProperty */ -.chroma .py, -.chroma .nt, -.chroma .nv, -.chroma .vc, -.chroma .vg, -.chroma .vi, -.chroma .vm { - color: #569cd6; -} - -/* 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 { - color: #ce9178; -} -/* LiteralNumber */ -.chroma .m, -.chroma .mb, -.chroma .mf, -.chroma .mh, -.chroma .mi, -.chroma .il, -.chroma .mo { - color: #b5cea8; -} - -/* Comment */ -.chroma .c, -.chroma .ch, -.chroma .cm, -.chroma .c1, -.chroma .cs { - color: #517043; -} - diff --git a/exampleSite/public/emoji-support/index.html b/exampleSite/public/emoji-support/index.html deleted file mode 100644 index 119b523..0000000 --- a/exampleSite/public/emoji-support/index.html +++ /dev/null @@ -1,12 +0,0 @@ -Hi Folks - Emoji Support

Hi Folks


Emoji Support

Posted at — Jul 18, 2021

Guide to emoji usage in Hugo

Emoji can be enabled in a Hugo project in a number of ways.

The emojify function can be called directly in templates or Inline Shortcodes.

To enable emoji globally, set enableEmoji to true in your site’s configuration and then you can type emoji shorthand codes directly in content files; e.g.

The Emoji cheat sheet is a useful reference for emoji shorthand codes.


N.B. The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.

1
-2
-3
-
.emoji {
-  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
-}
\ No newline at end of file diff --git a/exampleSite/public/favicon.ico b/exampleSite/public/favicon.ico deleted file mode 100644 index 522921f27be0cda32483db2d0122361627fead41..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 832 zcmV-G1Hb$L0096201yxW0000W04f6j02TlM0EtjeM-2)Z3IG5A4M|8uQUCw|5C8xG z5C{eU001BJ|6u?C0`W;iK~#90b(33YTvZf?zrD|GE_E`YlT2pX2|CuMQ5vaO(~43| zMX3}Yyp*aSB3?iQ-%1r!1TXmFi;@Zo!4RvUrBV?Uq$#2GO|(j4Oq&GBZ6-}7P9`%a zGw1BReMoHv)b+Mt@vjBz`-Gl6YG^8@4N?eX+y+|$210|bhG=83q-Y+;Zf>+P*a-(! zSBzdPF;nmX$fcunb+=$gY}9Iiv^GP;KNl!%u#+w$!wa1Leu0j*2%Xs|LcnanXTIoj zxGziJy%|)wfxLQ&eQk5A%iyO|j89Z}=lCr|w#6{M0j&`RYD;zA|73z%ahC4SQHlNEk}?K5&ZPmLB5Zp{E)6d<;SmLLf!VW^BAn zE_WTCRf8?}(|_V)x^`qSvAZdk*7#+t%yTdG^XxNEuxt07C?lDgsvx5lHjZF!ah+_+ z1;^!%?qzC)0lxlhm87#wOKvMUr%sRmDg%`> z7i|o#@R(Th+5V;GN~zAyo>mA9Qr8sST`d%gKBdAssScM+%;Bb7D?PjOq~jKyTO(v+ zQS!YGox9>pPOi~&a}rYvk;WMCBoE$~;e-CmJn}*ti+RDrue`skRLL0L|qE-g0)n#yKia%#-+_f*w;`B~#NbM(?OmXIm6SVJ{XJ)y< zw)O~5J$WN)rGd0W6UtX<967td59b$gqXCV;(5P#?xQ7TW?&(c&;9v&z*CxuM*+#84 zs0`N?mnSM*S!o~yv?U$#I}$iC>;Gl?m(DS3LuUghjjpNx)cJ27$5j;?;klOp0000< KMNUMnLSTZY=6L!5 diff --git a/exampleSite/public/index.html b/exampleSite/public/index.html deleted file mode 100644 index e0ee0b2..0000000 --- a/exampleSite/public/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks

Hi Folks


I am XJJ

A student and web developer from Earth 🌍

This is Minima, a clean and minimal Hugo theme porting from Minima on Hexo. It not only inherits everything from Hexo Minima like dark/light mode but intgrated KaTeX and some taxonomies like categories, series and tags. I created this from scratch using pure CSS and Vanilla JS without using unnecessary development packs! 😁

Recent Posts

Jul 18, 2021
About
Jul 18, 2021
Emoji Support
Jul 18, 2021
Math Typesetting
Jul 18, 2021
Placeholder Text
\ No newline at end of file diff --git a/exampleSite/public/index.xml b/exampleSite/public/index.xml deleted file mode 100644 index eb293a2..0000000 --- a/exampleSite/public/index.xml +++ /dev/null @@ -1 +0,0 @@ -Hi Folkshttp://h.xjj.pub/Recent content on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Abouthttp://h.xjj.pub/about/Sun, 18 Jul 2021 11:24:06 +0800http://h.xjj.pub/about/Emoji Supporthttp://h.xjj.pub/emoji-support/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/emoji-support/<p>Emoji can be enabled in a Hugo project in a number of ways.</p>Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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>Math Typesettinghttp://h.xjj.pub/math-typesetting/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/math-typesetting/<p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>Placeholder Texthttp://h.xjj.pub/placeholder-text/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p> \ No newline at end of file diff --git a/exampleSite/public/js/main.js b/exampleSite/public/js/main.js deleted file mode 100644 index 70636cf..0000000 --- a/exampleSite/public/js/main.js +++ /dev/null @@ -1,18 +0,0 @@ -window.addEventListener('DOMContentLoaded', function () { - const light = '🌝', dark = '🌚'; - const LIGHT = 'light', DARK = 'dark'; - const themeSwitcher = document.getElementById('theme-switcher'); - - themeSwitcher.innerHTML = localStorage.theme === LIGHT ? light : dark; - - themeSwitcher.addEventListener('click', function () { - const currentTheme = localStorage.theme, - newTheme = currentTheme === LIGHT ? DARK : LIGHT, - { classList } = document.querySelector('html'), - text = newTheme === LIGHT ? light : dark; - classList.remove(currentTheme); - classList.add(newTheme); - localStorage.theme = newTheme; - themeSwitcher.innerHTML = text; - }) -}); \ No newline at end of file diff --git a/exampleSite/public/markdown-syntax/index.html b/exampleSite/public/markdown-syntax/index.html deleted file mode 100644 index 96eb279..0000000 --- a/exampleSite/public/markdown-syntax/index.html +++ /dev/null @@ -1,57 +0,0 @@ -Hi Folks - Markdown Syntax Guide

Hi Folks


Markdown Syntax Guide

Posted at — Jul 18, 2021

Sample article showcasing basic Markdown syntax and formatting for HTML elements.

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 with backticks

 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 indented with four spaces

<!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 Hugo’s internal highlight shortcode

 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>

List Types

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • List item
  • Another item
  • And another item

Nested list

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

Other Elements — abbr, sub, sup, kbd, mark

GIF is a bitmap image format.

H2O

Xn + Yn = Zn

Press CTRL+ALT+Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.


  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/exampleSite/public/math-typesetting/index.html b/exampleSite/public/math-typesetting/index.html deleted file mode 100644 index 4b35d76..0000000 --- a/exampleSite/public/math-typesetting/index.html +++ /dev/null @@ -1,15 +0,0 @@ -Hi Folks - Math Typesetting

Hi Folks


Math Typesetting

Posted at — Jul 18, 2021

A brief guide to setup KaTeX

Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

In this example we will be using KaTeX

  • Create a partial under /layouts/partials/math.html
  • Within this partial reference the Auto-render Extension or host these scripts locally.
  • Include the partial in your templates like so:
1
-2
-3
-
{{ if or .Params.math .Site.Params.math }}
-{{ partial "math.html" . }}
-{{ end }}
-
  • To enable KaTex globally set the parameter math to true in a project’s configuration
  • To enable KaTex on a per page basis include the parameter math: true in content files

Note: Use the online reference of Supported TeX Functions

Examples

Block math: -$$ -\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$

\ No newline at end of file diff --git a/exampleSite/public/migrate-from-jekyl/index.html b/exampleSite/public/migrate-from-jekyl/index.html deleted file mode 100644 index 7947854..0000000 --- a/exampleSite/public/migrate-from-jekyl/index.html +++ /dev/null @@ -1 +0,0 @@ -http://h.xjj.pub/markdown-syntax/ \ No newline at end of file diff --git a/exampleSite/public/page/1/index.html b/exampleSite/public/page/1/index.html deleted file mode 100644 index 1d8bdb1..0000000 --- a/exampleSite/public/page/1/index.html +++ /dev/null @@ -1 +0,0 @@ -http://h.xjj.pub/ \ No newline at end of file diff --git a/exampleSite/public/placeholder-text/index.html b/exampleSite/public/placeholder-text/index.html deleted file mode 100644 index ca84b49..0000000 --- a/exampleSite/public/placeholder-text/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - Placeholder Text

Hi Folks


Placeholder Text

Posted at — Jul 18, 2021

Lorem Ipsum Dolor Si Amet

Lorem est tota propiore conpellat pectoribus de pectora summo.

Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.

  1. Exierant elisi ambit vivere dedere
  2. Duce pollice
  3. Eris modo
  4. Spargitque ferrea quos palude

Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.

  1. Comas hunc haec pietate fetum procerum dixit
  2. Post torum vates letum Tiresia
  3. Flumen querellas
  4. Arcanaque montibus omnes
  5. Quidem et

Vagus elidunt

The Van de Graaf Canon

Mane refeci capiebant unda mulcebat

Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. Faces illo pepulere tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.

Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.

Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel mitis temploque vocatus, inque alis, oculos nomen non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides parte.

\ No newline at end of file diff --git a/exampleSite/public/series/index.html b/exampleSite/public/series/index.html deleted file mode 100644 index 5248456..0000000 --- a/exampleSite/public/series/index.html +++ /dev/null @@ -1,7 +0,0 @@ -Hi Folks - Series

Hi Folks


Series

\ No newline at end of file diff --git a/exampleSite/public/series/index.xml b/exampleSite/public/series/index.xml deleted file mode 100644 index 86f0bc0..0000000 --- a/exampleSite/public/series/index.xml +++ /dev/null @@ -1 +0,0 @@ -Series on Hi Folkshttp://h.xjj.pub/series/Recent content in Series on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Themes Guidehttp://h.xjj.pub/series/themes-guide/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/series/themes-guide/ \ No newline at end of file diff --git a/exampleSite/public/series/themes-guide/index.html b/exampleSite/public/series/themes-guide/index.html deleted file mode 100644 index 0e12ab6..0000000 --- a/exampleSite/public/series/themes-guide/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - Themes Guide

Hi Folks


Series - "Themes Guide"

\ No newline at end of file diff --git a/exampleSite/public/series/themes-guide/index.xml b/exampleSite/public/series/themes-guide/index.xml deleted file mode 100644 index 69d691f..0000000 --- a/exampleSite/public/series/themes-guide/index.xml +++ /dev/null @@ -1 +0,0 @@ -Themes Guide on Hi Folkshttp://h.xjj.pub/series/themes-guide/Recent content in Themes Guide on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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> \ No newline at end of file diff --git a/exampleSite/public/sitemap.xml b/exampleSite/public/sitemap.xml deleted file mode 100644 index b214bb3..0000000 --- a/exampleSite/public/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -http://h.xjj.pub/about/2021-07-18T11:24:06+08:00http://h.xjj.pub/categories/2021-07-18T10:52:59+08:00http://h.xjj.pub/tags/css/2021-07-18T10:52:59+08:00http://h.xjj.pub/emoji-support/2021-07-18T10:52:59+08:00http://h.xjj.pub/2021-07-18T10:52:59+08:00http://h.xjj.pub/tags/html/2021-07-18T10:52:59+08:00http://h.xjj.pub/tags/markdown/2021-07-18T10:52:59+08:00http://h.xjj.pub/markdown-syntax/2021-07-18T10:52:59+08:00http://h.xjj.pub/math-typesetting/2021-07-18T10:52:59+08:00http://h.xjj.pub/placeholder-text/2021-07-18T10:52:59+08:00http://h.xjj.pub/series/2021-07-18T10:52:59+08:00http://h.xjj.pub/categories/syntax/2021-07-18T10:52:59+08:00http://h.xjj.pub/tags/2021-07-18T10:52:59+08:00http://h.xjj.pub/tags/text/2021-07-18T10:52:59+08:00http://h.xjj.pub/categories/themes/2021-07-18T10:52:59+08:00http://h.xjj.pub/series/themes-guide/2021-07-18T10:52:59+08:00 \ No newline at end of file diff --git a/exampleSite/public/tags/css/index.html b/exampleSite/public/tags/css/index.html deleted file mode 100644 index 3333606..0000000 --- a/exampleSite/public/tags/css/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - css

Hi Folks


Tag - "css"

\ No newline at end of file diff --git a/exampleSite/public/tags/css/index.xml b/exampleSite/public/tags/css/index.xml deleted file mode 100644 index d29e2a2..0000000 --- a/exampleSite/public/tags/css/index.xml +++ /dev/null @@ -1 +0,0 @@ -css on Hi Folkshttp://h.xjj.pub/tags/css/Recent content in css on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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> \ No newline at end of file diff --git a/exampleSite/public/tags/html/index.html b/exampleSite/public/tags/html/index.html deleted file mode 100644 index 1213469..0000000 --- a/exampleSite/public/tags/html/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - html

Hi Folks


Tag - "html"

\ No newline at end of file diff --git a/exampleSite/public/tags/html/index.xml b/exampleSite/public/tags/html/index.xml deleted file mode 100644 index 18f2c14..0000000 --- a/exampleSite/public/tags/html/index.xml +++ /dev/null @@ -1 +0,0 @@ -html on Hi Folkshttp://h.xjj.pub/tags/html/Recent content in html on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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> \ No newline at end of file diff --git a/exampleSite/public/tags/index.html b/exampleSite/public/tags/index.html deleted file mode 100644 index f9a6fa0..0000000 --- a/exampleSite/public/tags/index.html +++ /dev/null @@ -1,13 +0,0 @@ -Hi Folks - Tags

Hi Folks


Tags

\ No newline at end of file diff --git a/exampleSite/public/tags/index.xml b/exampleSite/public/tags/index.xml deleted file mode 100644 index 34821cb..0000000 --- a/exampleSite/public/tags/index.xml +++ /dev/null @@ -1 +0,0 @@ -Tags on Hi Folkshttp://h.xjj.pub/tags/Recent content in Tags on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800csshttp://h.xjj.pub/tags/css/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/tags/css/htmlhttp://h.xjj.pub/tags/html/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/tags/html/markdownhttp://h.xjj.pub/tags/markdown/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/tags/markdown/texthttp://h.xjj.pub/tags/text/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/tags/text/ \ No newline at end of file diff --git a/exampleSite/public/tags/markdown/index.html b/exampleSite/public/tags/markdown/index.html deleted file mode 100644 index f1990ee..0000000 --- a/exampleSite/public/tags/markdown/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - markdown

Hi Folks


Tag - "markdown"

Jul 18, 2021
Placeholder Text
\ No newline at end of file diff --git a/exampleSite/public/tags/markdown/index.xml b/exampleSite/public/tags/markdown/index.xml deleted file mode 100644 index a275d85..0000000 --- a/exampleSite/public/tags/markdown/index.xml +++ /dev/null @@ -1 +0,0 @@ -markdown on Hi Folkshttp://h.xjj.pub/tags/markdown/Recent content in markdown on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Markdown Syntax Guidehttp://h.xjj.pub/markdown-syntax/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/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>Placeholder Texthttp://h.xjj.pub/placeholder-text/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p> \ No newline at end of file diff --git a/exampleSite/public/tags/text/index.html b/exampleSite/public/tags/text/index.html deleted file mode 100644 index da32974..0000000 --- a/exampleSite/public/tags/text/index.html +++ /dev/null @@ -1,6 +0,0 @@ -Hi Folks - text

Hi Folks


Tag - "text"

Jul 18, 2021
Placeholder Text
\ No newline at end of file diff --git a/exampleSite/public/tags/text/index.xml b/exampleSite/public/tags/text/index.xml deleted file mode 100644 index 69b9227..0000000 --- a/exampleSite/public/tags/text/index.xml +++ /dev/null @@ -1 +0,0 @@ -text on Hi Folkshttp://h.xjj.pub/tags/text/Recent content in text on Hi FolksHugo -- gohugo.ioen-us© Copyright noticeSun, 18 Jul 2021 10:52:59 +0800Placeholder Texthttp://h.xjj.pub/placeholder-text/Sun, 18 Jul 2021 10:52:59 +0800http://h.xjj.pub/placeholder-text/<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p> \ No newline at end of file