diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f9cff39..99d8016 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,33 +3,65 @@ languageCode = "en-us" title = "Hi Folks" copyright = "© Copyright notice" theme = "minima" -paginate = 5 +paginate = 7 googleAnalytics = "" disqusShortname = "hugo-minima" + +# Author has some of your information to be shown on the home +# page of your blog. [author] name = "XJJ" slogon = "A student and web developer from Earth 🌍" description = "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! 😁" -[params] -subtitle = "" +[params] +# The subtitle will be shown after the title of your blog site +# in a format "title - subtitle". +subtitle = "" +# Comment decides the comment plugin used on your blog site, +# available plugins: disqus, ovo. +comment = "disqus" + + +# OvO is a comment plugin written by the author of Minima. +# It is enabled when params.comment is set "ovo". You can +# find its documentation on https://github.com/ovojs/ovo. +# If you are using disqus, just ignore this field. +[params.ovo] +server = "" +placeholder = "" + + +# Params.social is an array containing your social network accounts, +# Each has a lowercase name, a svg formatted icon and a url to the +# webpage of your account. They will be shown at the bottom of every +# page of your blog. +# Be sure the svgs you select to use must have both the width and the +# height set 18. If you don't wanna put the svg code in this config +# file, you can instead save them to the `data/svg.toml` file under +# the root directory of your blog using a format like `name = ''` [[params.social]] name = "github" url = "https://github.com/mivinci" +svg = "" [[params.social]] name = "linkedin" url = "https://linkedin/in/leonard-mivinci-63895317a" +svg = "" [[params.social]] name = "twitter" url = "https://twitter.com/Leonard14733745" +svg = "" [[params.social]] name = "rss" url = "/index.xml" - +svg = "" +# Menu.main is an array that's used to decide what entries can be shown +# on the navigator of yur blog. You can use a weight to make them ordered. [[menu.main]] name = "Home" url = "/" @@ -47,12 +79,20 @@ name = "About" url = "/about" weight = 4 + +# You can classify your posts by setting taxanomies in the front matter like +# categories = ["apple", "banana"] +# series = ["s1", "s2"] +# tags = ["t1", "t2"] +# A little suggestion: one post belongs to one series, one category and multiple tags. [taxonomies] category = "categories" tag = "tags" series = "series" +# Make sure all the codes in a post are highlighted correctly +# so better not edit this. [markup.highlight] lineNos = true noClasses = false diff --git a/exampleSite/public/about/index.html b/exampleSite/public/about/index.html new file mode 100644 index 0000000..80abe57 --- /dev/null +++ b/exampleSite/public/about/index.html @@ -0,0 +1,7 @@ +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 new file mode 100644 index 0000000..325dec2 --- /dev/null +++ b/exampleSite/public/categories/index.html @@ -0,0 +1,9 @@ +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 new file mode 100644 index 0000000..68daa1d --- /dev/null +++ b/exampleSite/public/categories/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..e8ba7fc --- /dev/null +++ b/exampleSite/public/categories/syntax/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..c8a4ff6 --- /dev/null +++ b/exampleSite/public/categories/syntax/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..a7a67d1 --- /dev/null +++ b/exampleSite/public/categories/themes/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..9f997fb --- /dev/null +++ b/exampleSite/public/categories/themes/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..9e19bd6 --- /dev/null +++ b/exampleSite/public/css/main.css @@ -0,0 +1,227 @@ +: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 new file mode 100644 index 0000000..b4a5ff6 --- /dev/null +++ b/exampleSite/public/css/md.css @@ -0,0 +1,26 @@ +.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 new file mode 100644 index 0000000..21f760c --- /dev/null +++ b/exampleSite/public/css/syntax.css @@ -0,0 +1,122 @@ +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 new file mode 100644 index 0000000..119b523 --- /dev/null +++ b/exampleSite/public/emoji-support/index.html @@ -0,0 +1,12 @@ +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 new file mode 100644 index 0000000..522921f Binary files /dev/null and b/exampleSite/public/favicon.ico differ diff --git a/exampleSite/public/index.html b/exampleSite/public/index.html new file mode 100644 index 0000000..e0ee0b2 --- /dev/null +++ b/exampleSite/public/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..eb293a2 --- /dev/null +++ b/exampleSite/public/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..70636cf --- /dev/null +++ b/exampleSite/public/js/main.js @@ -0,0 +1,18 @@ +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 new file mode 100644 index 0000000..96eb279 --- /dev/null +++ b/exampleSite/public/markdown-syntax/index.html @@ -0,0 +1,57 @@ +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

Nested list

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

1
+2
+3
+
{{ if or .Params.math .Site.Params.math }}
+{{ partial "math.html" . }}
+{{ end }}
+

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 new file mode 100644 index 0000000..7947854 --- /dev/null +++ b/exampleSite/public/migrate-from-jekyl/index.html @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..1d8bdb1 --- /dev/null +++ b/exampleSite/public/page/1/index.html @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..ca84b49 --- /dev/null +++ b/exampleSite/public/placeholder-text/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..5248456 --- /dev/null +++ b/exampleSite/public/series/index.html @@ -0,0 +1,7 @@ +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 new file mode 100644 index 0000000..86f0bc0 --- /dev/null +++ b/exampleSite/public/series/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..0e12ab6 --- /dev/null +++ b/exampleSite/public/series/themes-guide/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..69d691f --- /dev/null +++ b/exampleSite/public/series/themes-guide/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..b214bb3 --- /dev/null +++ b/exampleSite/public/sitemap.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..3333606 --- /dev/null +++ b/exampleSite/public/tags/css/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..d29e2a2 --- /dev/null +++ b/exampleSite/public/tags/css/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..1213469 --- /dev/null +++ b/exampleSite/public/tags/html/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..18f2c14 --- /dev/null +++ b/exampleSite/public/tags/html/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..f9a6fa0 --- /dev/null +++ b/exampleSite/public/tags/index.html @@ -0,0 +1,13 @@ +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 new file mode 100644 index 0000000..34821cb --- /dev/null +++ b/exampleSite/public/tags/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..f1990ee --- /dev/null +++ b/exampleSite/public/tags/markdown/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..a275d85 --- /dev/null +++ b/exampleSite/public/tags/markdown/index.xml @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..da32974 --- /dev/null +++ b/exampleSite/public/tags/text/index.html @@ -0,0 +1,6 @@ +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 new file mode 100644 index 0000000..69b9227 --- /dev/null +++ b/exampleSite/public/tags/text/index.xml @@ -0,0 +1 @@ +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 diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 53d315e..0070bf6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,11 +14,17 @@ {{ .Content }} -{{ if or .Params.math .Site.Params.math }} -{{ partial "math.html" . }} -{{ end }} -{{ if .Params.comment }} -{{ partial "disqus.html" . }} -{{ end }} + {{ if or .Params.math .Site.Params.math }} + {{ partial "math.html" . }} + {{ end }} + + {{ if and .Params.comment (eq .Site.Params.comment "disqus")}} + {{ partial "disqus.html" . }} + {{ end }} + + {{ if and .Params.comment (eq .Site.Params.comment "ovo")}} + {{ partial "ovo.html" . }} + {{ end }} + {{ end }} diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html index b739aae..f61b59b 100644 --- a/layouts/partials/disqus.html +++ b/layouts/partials/disqus.html @@ -6,8 +6,8 @@ if (window.location.hostname == "localhost") return; - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - var disqus_shortname = '{{ .Site.DisqusShortname }}'; + const dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + const disqus_shortname = '{{ .Site.DisqusShortname }}'; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); diff --git a/layouts/partials/ovo.html b/layouts/partials/ovo.html new file mode 100644 index 0000000..43e1390 --- /dev/null +++ b/layouts/partials/ovo.html @@ -0,0 +1,29 @@ +
+
评论插件加载中 OvO
+
+ + \ No newline at end of file