generated: 985756dd02
This commit is contained in:
parent
2dd6bc3d5b
commit
f73dde6f1a
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
exampleSite/public/
|
||||
exampleSite/resources/
|
||||
exampleSite/.hugo_build.lock
|
|
@ -1,9 +0,0 @@
|
|||
# hugo-theme-blank
|
||||
|
||||
This is a theme I personally use.
|
||||
|
||||
## Special Thanks
|
||||
|
||||
The wordpress theme [Allium](https://wordpress.org/themes/allium/), and [here](https://templatelens.com/allium/) is its home page. I like this theme very much when I'm using wordpress, but I don't have it on hugo, so I try my best to write a theme similar with it. There are many designs in this theme refers to it.
|
||||
|
||||
The hugo theme [jane](https://github.com/xianmin/hugo-theme-jane) and [mini](https://github.com/nodejh/hugo-theme-mini/), this is my first time to write a hugo theme, I referred this two themes' project structure and way of handling problems.
|
254
about/index.html
Normal file
254
about/index.html
Normal file
|
@ -0,0 +1,254 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>About | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<section class="single">
|
||||
<h1 class="title">About</h1>
|
||||
|
||||
<div class="tip">
|
||||
<time datetime="2022-04-27 21:01:43 +0800 CST">2022/04/27</time>
|
||||
<span class="split">·</span>
|
||||
<span> 396 words </span>
|
||||
<span class="split">·</span>
|
||||
<span>
|
||||
1 minutes to read
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="taxonomies">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content">
|
||||
<h2 id="about-this-demo-site">About this demo site <a href="#about-this-demo-site" class="anchor">🔗</a></h2><p>This is the <em>about page</em> of this theme. The content of this demo site is come from <a href="https://github.com/nodejh/hugo-theme-mini/">hugo-theme-mini</a>, whose license is <a href="https://github.com/nodejh/hugo-theme-mini/blob/39be4727b355bc8cabd919c6684d79064690a5c6/LICENSE.md">MIT</a></p>
|
||||
<p>This site is built by hugo, which is a fast static site generator writen in go. You can go to its <a href="https://gohugo.io">offical site</a> to get more information.</p>
|
||||
<h2 id="cjk-supported">CJK supported <a href="#cjk-supported" class="anchor">🔗</a></h2><p>This hugo theme support CJK language, but some right to left language may not act as expected. Let’s just test CJK layout!</p>
|
||||
<p>这一句话是用中文写的,一般情况下,中英文排版如果字体设置不当,显示出来的字号会有相当的差距,即便实际上的字号是相同的。这个问题暂时看来无法彻底解决,唯一能做的就是挑选合适的字体,使相同字号下,中英文在展示出来后肉眼感官大小差别不大。</p>
|
||||
<p>Try another typography, which make English and Chinese lay down in a single line. The word <em>Chinese</em> in Chinese is “中文”.</p>
|
||||
<h2 id="what-is-hugo">What is hugo <a href="#what-is-hugo" class="anchor">🔗</a></h2><p>Written in Go, Hugo is an open source static site generator available under the <a href="https://github.com/gohugoio/hugo/blob/master/LICENSE">Apache Licence 2.0.</a> Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.</p>
|
||||
<p>Hugo makes use of a variety of open source projects including:</p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/yuin/goldmark">https://github.com/yuin/goldmark</a></li>
|
||||
<li><a href="https://github.com/alecthomas/chroma">https://github.com/alecthomas/chroma</a></li>
|
||||
<li><a href="https://github.com/muesli/smartcrop">https://github.com/muesli/smartcrop</a></li>
|
||||
<li><a href="https://github.com/spf13/cobra">https://github.com/spf13/cobra</a></li>
|
||||
<li><a href="https://github.com/spf13/viper">https://github.com/spf13/viper</a></li>
|
||||
</ul>
|
||||
<p>Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.</p>
|
||||
<p>Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.</p>
|
||||
<p>Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.</p>
|
||||
<p>Learn more and contribute on <a href="https://github.com/gohugoio">GitHub</a>.</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
233
categories/index.html
Normal file
233
categories/index.html
Normal file
|
@ -0,0 +1,233 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/categories/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
<section id="tags">
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="syntax">
|
||||
syntax <span>(1)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="themes">
|
||||
themes <span>(1)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/categories/index.xml">
|
||||
Feed of "Categories"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
28
categories/index.xml
Normal file
28
categories/index.xml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on Flat theme</title>
|
||||
<link>/categories/</link>
|
||||
<description>Recent content in Categories on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>syntax</title>
|
||||
<link>/categories/syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/categories/syntax/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>themes</title>
|
||||
<link>/categories/themes/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/categories/themes/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
252
categories/syntax/index.html
Normal file
252
categories/syntax/index.html
Normal file
|
@ -0,0 +1,252 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>syntax | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/categories/syntax/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-11 00:00:00 +0000 UTC">03/11</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/css">css</a>
|
||||
|
||||
<a class="tags" href="/tags/html">html</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/categories/syntax/index.xml">
|
||||
Feed of "syntax"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
135
categories/syntax/index.xml
Normal file
135
categories/syntax/index.xml
Normal file
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>syntax on Flat theme</title>
|
||||
<link>/categories/syntax/</link>
|
||||
<description>Recent content in syntax on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/categories/syntax/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
252
categories/themes/index.html
Normal file
252
categories/themes/index.html
Normal file
|
@ -0,0 +1,252 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>themes | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/categories/themes/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-11 00:00:00 +0000 UTC">03/11</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/css">css</a>
|
||||
|
||||
<a class="tags" href="/tags/html">html</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/categories/themes/index.xml">
|
||||
Feed of "themes"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
135
categories/themes/index.xml
Normal file
135
categories/themes/index.xml
Normal file
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>themes on Flat theme</title>
|
||||
<link>/categories/themes/</link>
|
||||
<description>Recent content in themes on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/categories/themes/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
652
css/style.css
Normal file
652
css/style.css
Normal file
|
@ -0,0 +1,652 @@
|
|||
:root {
|
||||
--fonts-sans-serif: Roboto, Helvetica, Tahoma, Arial,
|
||||
"DejaVu Sans", "Liberation Sans",
|
||||
|
||||
"WenQuanYi Zen Hei", "WenQuanYi Micro Hei",
|
||||
"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
||||
"Noto Sans CJK",
|
||||
sans-serif;
|
||||
|
||||
--fonts-serif: PMingLiu, "Times New Roman",
|
||||
"Noto Serif CJK", STSong, SimSun,
|
||||
serif;
|
||||
|
||||
--fonts-mono: "DejaVu Sans Mono", "Liberation Mono", "Noto Sans Mono", "Consolas", "Courier",
|
||||
"Noto Sans Mono CJK",
|
||||
"WenQuanYi Zen Hei Mono",
|
||||
"WenQuanYi Micro Hei Mono",
|
||||
monospace;
|
||||
|
||||
--color-light-1: #e0e0e0;
|
||||
--color-light-2: #e8e8e8;
|
||||
--color-light-3: #f0f0f0;
|
||||
--color-light-4: #f4f4f4;
|
||||
--color-light-5: #fefefe;
|
||||
|
||||
--color-black-0: #909090;
|
||||
--color-black-1: #686868;
|
||||
--color-black-2: #404040;
|
||||
--color-black-3: #282828;
|
||||
--color-black-4: #101010;
|
||||
--color-black-5: #020202;
|
||||
|
||||
--color-fav-0: #EDD5DD;
|
||||
--color-fav-1: #F0B3B2;
|
||||
--color-fav-2: #DE629E;
|
||||
--color-fav-3: #CB3E50;
|
||||
|
||||
--len-0: 0.00rem;
|
||||
--len-1: 0.25rem;
|
||||
--len-2: 0.50rem;
|
||||
--len-3: 1.00rem;
|
||||
--len-4: 1.50rem;
|
||||
--len-5: 3.00rem;
|
||||
|
||||
--font-size-0: 0.8125rem;
|
||||
--font-size-1: 0.875rem;
|
||||
--font-size-2: 1.000rem;
|
||||
--font-size-3: 1.125rem;
|
||||
--font-size-4: 1.250rem;
|
||||
--font-size-5: 1.500rem;
|
||||
--font-size-6: 2.000rem;
|
||||
}
|
||||
|
||||
*, ::before, ::after {
|
||||
font-family: inherit;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: var(--fonts-sans-serif);
|
||||
font-size: 16px;
|
||||
color: var(--color-black-3);
|
||||
}
|
||||
|
||||
/**************************************************************/
|
||||
/* approximately set up the layout of header, footer and main */
|
||||
/**************************************************************/
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
|
||||
align-items: center;
|
||||
|
||||
background-color: var(--color-light-4);
|
||||
}
|
||||
|
||||
/* set up padding and margin of some main elements */
|
||||
.main-wrapper {
|
||||
margin-top: var(--len-5);
|
||||
margin-bottom: var(--len-5);
|
||||
}
|
||||
|
||||
.main-wrapper { display: flex; flex-wrap: wrap; }
|
||||
.main-wrapper > * { height: fit-content; }
|
||||
|
||||
.main { padding: var(--len-4); }
|
||||
.side { padding-left: var(--len-4); }
|
||||
.main { flex: 0 0 72%; width: 72%; }
|
||||
.side { flex: 0 0 28%; width: 28%; }
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.main { padding: var(--len-4); }
|
||||
.side { padding-left: 0; padding-top: var(--len-4); }
|
||||
.main { flex: 0 0 100%; width: 100%; }
|
||||
.side { flex: 0 0 100%; width: 100%; }
|
||||
}
|
||||
|
||||
/* set light background */
|
||||
.header-wrapper,
|
||||
.footer,
|
||||
.main,
|
||||
.side-recent,
|
||||
.side-categories,
|
||||
.side-tags
|
||||
{ background-color: var(--color-light-5); }
|
||||
|
||||
/* place header in the center of header-wrapper */
|
||||
.header-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* let footer stay at bottom of screen */
|
||||
.footer {
|
||||
margin-top: auto;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/********** set up break point **********/
|
||||
|
||||
.main-wrapper, .header { max-width: 1320px; }
|
||||
@media (max-width: 1399px) { .main-wrapper, .header { max-width: 1140px; } }
|
||||
@media (max-width: 1199px) { .main-wrapper, .header { max-width: 960px; } }
|
||||
@media (max-width: 991px) { .main-wrapper, .header { max-width: 720px; } }
|
||||
@media (max-width: 767px) { .main-wrapper, .header { max-width: 540px; } }
|
||||
@media (max-width: 575px) { .main-wrapper, .header { max-width: none; } }
|
||||
|
||||
/* size the element who has breakpoint limitation */
|
||||
/* .header, .main-wrapper, .main { width: 100vw; } */
|
||||
/* .header-wrapper, .footer { width: 100vw; } */
|
||||
.header-wrapper, .footer { width: 100vw;}
|
||||
.main-wrapper { width: calc(100vw - 2 * var(--len-3));}
|
||||
|
||||
/************************/
|
||||
/* set up header layout */
|
||||
/************************/
|
||||
|
||||
.header {
|
||||
padding: var(--len-3);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* place title and menus horizonally */
|
||||
.header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.header .menu { justify-content: center; align-items: center; }
|
||||
.header .site-title { text-align: center; }
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.header .site-title {
|
||||
padding-top: var(--len-4);
|
||||
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
|
||||
.header .menu {
|
||||
flex-wrap: wrap;
|
||||
flex: 0 0 100%;
|
||||
|
||||
margin-top: var(--len-3);
|
||||
padding-top: var(--len-3);
|
||||
border-top: 1px solid var(--color-light-1);
|
||||
}
|
||||
}
|
||||
|
||||
/* setup hyper link style */
|
||||
.header .site-title {
|
||||
text-decoration: none;
|
||||
font-family: var(--fonts-serif);
|
||||
font-size: var(--font-size-6);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/********** set up menus layout **********/
|
||||
|
||||
/* menus and submenus, hover to display, and setup animation */
|
||||
.header .menu-item .sub-menu { visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0.25s; }
|
||||
.header .menu-item:hover .sub-menu { visibility: visible; opacity: 1; }
|
||||
.header .sub-menu { position: absolute; }
|
||||
|
||||
/* menu direction */
|
||||
.header .menu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.header .sub-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
/* remove the unwanted default css in menus */
|
||||
.header ul { list-style: none; margin: 0; padding: 0; }
|
||||
.header li { list-style: none; }
|
||||
|
||||
/* set up spacing of menu items in menu and sub-menu */
|
||||
.header .menu > * { margin-right: var(--len-3); }
|
||||
.header .menu > *:last-child { margin-right: 0; }
|
||||
.header .sub-menu > * { margin-bottom: var(--len-2); }
|
||||
.header .sub-menu > *:last-child { margin-bottom: 0; }
|
||||
|
||||
/* beautify sub menu style */
|
||||
.header .sub-menu {
|
||||
background-color: var(--color-light-5);
|
||||
padding: var(--len-2) var(--len-4);
|
||||
box-shadow: var(--color-light-1) 0px 0px 3px 1px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/* beautify menu item */
|
||||
.header .menu-item {
|
||||
font-family: var(--fonts-serif);
|
||||
font-size: var(--font-size-3);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.header a { color: var(--color-black-3); text-decoration: none; }
|
||||
.header a:hover { color: var(--color-fav-2); }
|
||||
|
||||
/************************/
|
||||
/* set up footer layout */
|
||||
/************************/
|
||||
|
||||
.footer {
|
||||
padding: var(--len-4) 0;
|
||||
font-size: var(--font-size-1);
|
||||
}
|
||||
|
||||
.footer > * {
|
||||
margin-top: var(--len-2);
|
||||
margin-bottom: var(--len-2);
|
||||
}
|
||||
|
||||
/* credit, license and social layout */
|
||||
.footer .footer-row { display: flex; justify-content: center; }
|
||||
|
||||
.footer .footer-item { margin-right: var(--len-3); }
|
||||
.footer .footer-item:last-child { margin-right: 0; }
|
||||
|
||||
/* beautify hyper link style */
|
||||
.footer { color: var(--color-black-1) }
|
||||
|
||||
.footer a { color: var(--color-fav-2); text-decoration: none; }
|
||||
.footer a:hover { color: var(--color-fav-3); }
|
||||
|
||||
.footer img {
|
||||
display: inline;
|
||||
height: var(--font-size-1);
|
||||
color: var(--color-fav-2);
|
||||
}
|
||||
|
||||
/**********************************/
|
||||
/* set up home page's list layout */
|
||||
/**********************************/
|
||||
|
||||
.list-item .tips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: start;
|
||||
align-items: flex-start;
|
||||
|
||||
font-size: var(--font-size-1);
|
||||
color: var(--color-black-1);
|
||||
}
|
||||
|
||||
.list-item .tips > * { margin-right: var(--len-3); }
|
||||
.list-item .tips > *:last-child { margin-right: 0; }
|
||||
|
||||
.list-item .title a { text-decoration: none; color: var(--color-black-2); }
|
||||
.list-item .title a:hover { color: var(--color-fav-2); }
|
||||
.list-item .tips a { text-decoration: none; color: var(--color-fav-2) }
|
||||
.list-item .tips a:hover { color: var(--color-fav-3) }
|
||||
|
||||
.list-item .title { margin: var(--len-2) 0 var(--len-3) 0; }
|
||||
|
||||
.list-item .tags > *,
|
||||
.list-item .categories > *
|
||||
{ margin: 0 var(--len-1); }
|
||||
|
||||
.list-item .summary > * { margin: 0; }
|
||||
.list-item .title { margin: 0 0 var(--len-2) 0; }
|
||||
.list-item .tips { margin: 0 0 var(--len-3) 0; }
|
||||
|
||||
.list-item { border-bottom: 1px solid var(--color-light-2); }
|
||||
.list-item:last-child { border-bottom: 0; }
|
||||
|
||||
.list-item:first-child { padding-top: 0;}
|
||||
.list-item { padding: var(--len-3) 0; }
|
||||
.list-item:last-child { padding-bottom: 0;}
|
||||
|
||||
/**********************/
|
||||
/* set up side layout */
|
||||
/**********************/
|
||||
|
||||
.side h2 { margin: 0; }
|
||||
|
||||
.side ul { list-style: none; margin: 0; padding: 0; }
|
||||
|
||||
.side li { margin-bottom: var(--len-3); }
|
||||
.side li:last-child { margin-bottom: 0; }
|
||||
|
||||
.side hr {
|
||||
border: none;
|
||||
height: 1px;
|
||||
background-color: var(--color-light-2);
|
||||
|
||||
margin: var(--len-2) 0;
|
||||
}
|
||||
|
||||
.side > * { padding: var(--len-4); }
|
||||
|
||||
.side > * { margin-bottom: var(--len-3); }
|
||||
.side > *:last-child { margin-bottom: 0; }
|
||||
|
||||
.side a { color: var(--color-black-3); text-decoration: none; }
|
||||
.side a:hover { color: var(--color-fav-2); }
|
||||
|
||||
/* horizontally place tags */
|
||||
.side .side-tags li { display: inline-block; margin: var(--len-1) var(--len-1); }
|
||||
|
||||
/*****************************/
|
||||
/* set up single post layout */
|
||||
/*****************************/
|
||||
|
||||
.single {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.single a { text-decoration: none; color: var(--color-fav-2); }
|
||||
.single a:hover { color: var(--color-fav-3); }
|
||||
|
||||
.single .title,
|
||||
.single .tip,
|
||||
.single .taxonomies,
|
||||
.single .content
|
||||
{ width: 100%; }
|
||||
|
||||
.single .taxonomies { margin-top: var(--len-1); }
|
||||
|
||||
.single > hr {
|
||||
border: none;
|
||||
background-color: var(--color-fav-1);
|
||||
height: 1px;
|
||||
|
||||
width: 90%;
|
||||
margin: var(--len-3) 0;
|
||||
}
|
||||
|
||||
.single .title,
|
||||
.single .tip,
|
||||
.single .taxonomies
|
||||
{ text-align: center; }
|
||||
|
||||
.single .tip,
|
||||
.single .taxonomies
|
||||
{ color: var(--color-black-1)}
|
||||
|
||||
.single .taxonomies > * { display: inline-block; }
|
||||
|
||||
.single .taxonomies > * { margin-right: var(--len-3); }
|
||||
.single .taxonomies > *:last-child { margin-right: 0; }
|
||||
|
||||
.single .title {
|
||||
margin: var(--len-2) 0 var(--len-3) 0;
|
||||
font-size: var(--font-size-6);
|
||||
}
|
||||
|
||||
|
||||
/***** set up content style *****/
|
||||
|
||||
.content p code {
|
||||
font-family: var(--fonts-mono);
|
||||
|
||||
background-color: var(--color-light-4);
|
||||
|
||||
padding: 0 2px;
|
||||
border: 1px solid var(--color-light-1);
|
||||
border-radius: 2px;
|
||||
line-height: inherit;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* keep in style with highlighting */
|
||||
.content pre { padding: 7px; }
|
||||
|
||||
.content pre code {
|
||||
font-family: var(--fonts-mono);
|
||||
|
||||
display: inline-block;
|
||||
|
||||
padding: var(--len-3);
|
||||
|
||||
background-color: var(--color-light-4);
|
||||
border-radius: 3px;
|
||||
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.content blockquote {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
padding-left: 1em;
|
||||
margin-left: 0px;
|
||||
border-left: 3px solid #eee;
|
||||
color: var(--color-black-1);
|
||||
}
|
||||
|
||||
.content hr {
|
||||
border: none;
|
||||
height: 2px;
|
||||
background-color: var(--color-light-4);
|
||||
|
||||
width: 80%;
|
||||
margin: var(--len-2) auto;
|
||||
}
|
||||
|
||||
.content table {
|
||||
width: 100%;
|
||||
margin: 40px 0;
|
||||
border-collapse: collapse;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.content th, td {
|
||||
text-align: left;
|
||||
padding-right: 20px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.content table td, td {
|
||||
border-spacing: none;
|
||||
border-style: solid;
|
||||
padding: 10px 15px;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.content thead th, th {
|
||||
text-align: left;
|
||||
padding: 10px 15px;
|
||||
height: 20px;
|
||||
font-weight: bold;
|
||||
color: #444;
|
||||
cursor: default;
|
||||
white-space: nowrap;
|
||||
border: 1px solid #dadadc;
|
||||
}
|
||||
|
||||
.content tr>td {
|
||||
border: 1px solid #dadadc;
|
||||
}
|
||||
|
||||
.content tr:nth-child(odd)>td {
|
||||
background: #fcfcfc;
|
||||
}
|
||||
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content h3 {
|
||||
font-weight: bold;
|
||||
}
|
||||
.content p,
|
||||
.content pre {
|
||||
word-break: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.content .markdown-image img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.content .anchor {
|
||||
visibility: hidden;
|
||||
color: var(--color-fav-2);
|
||||
}
|
||||
.content h1:hover a,
|
||||
.content h2:hover a,
|
||||
.content h3:hover a,
|
||||
.content h4:hover a
|
||||
{ visibility: visible }
|
||||
|
||||
.highlight pre {
|
||||
padding: 7px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
/**************************/
|
||||
/* setup list page layout */
|
||||
/**************************/
|
||||
|
||||
#archive {
|
||||
padding-left: var(--len-3);
|
||||
}
|
||||
|
||||
#archive .group {
|
||||
margin: var(--len-4) auto;
|
||||
}
|
||||
#archive .group .key {
|
||||
font-size: var(--font-size-4);
|
||||
margin-bottom: var(--len-2);
|
||||
}
|
||||
#archive .group .value {
|
||||
display: block;
|
||||
font-size: var(--font-size-2);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
#archive .group .value { text-indent: -60px; padding-left: 60px; }
|
||||
#archive .group .value * { text-indent: 0; }
|
||||
#archive .group .value .date { display: inline-block; width: 60px; }
|
||||
#archive .group .value .title { display: inline; }
|
||||
|
||||
#archive .group .value .date { color: var(--color-black-0); }
|
||||
|
||||
#archive .group .value a { text-decoration: none; }
|
||||
|
||||
#archive .group .value a { color: var(--color-black-3); }
|
||||
#archive .group .value a:hover { color: var(--color-fav-2); }
|
||||
|
||||
#archive .group .value .tags {
|
||||
display: inline-block;
|
||||
margin-left: 7px;
|
||||
}
|
||||
#archive .group .value .tags {
|
||||
background: var(--color-light-4);
|
||||
border-radius: 2px;
|
||||
padding: 4px 7px;
|
||||
font-size: var(--font-size-1);
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/**********************/
|
||||
/* setup terms layout */
|
||||
/**********************/
|
||||
|
||||
#tags {
|
||||
max-width: 700px;
|
||||
margin: 48px auto 0 auto;
|
||||
padding: 0 12px;
|
||||
text-align: center;
|
||||
}
|
||||
#tags .tag {
|
||||
display: inline-block;
|
||||
margin: 7px 7px;
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
#tags {
|
||||
margin: 0 auto 0 auto;
|
||||
}
|
||||
#tags .tag {
|
||||
display: inline-block;
|
||||
margin: 4px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
#tags .tag a {
|
||||
background: #f2f2f2;
|
||||
padding: 4px 7px;
|
||||
color: #757575;
|
||||
color: #404040;
|
||||
font-size: 14px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
#tags .tag a:hover {
|
||||
color: #0366d6;
|
||||
}
|
||||
|
||||
/***************************/
|
||||
/* setup pagination layout */
|
||||
/***************************/
|
||||
|
||||
.pagination {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
padding-top: var(--len-5);
|
||||
}
|
||||
|
||||
.pagination a {
|
||||
display: inline-block;
|
||||
|
||||
font-size: var(--font-size-2);
|
||||
|
||||
border-radius: var(--len-5);
|
||||
width: var(--len-5);
|
||||
height: var(--len-5);
|
||||
line-height: var(--len-5);
|
||||
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
text-decoration: none;
|
||||
|
||||
color: var(--color-black-2);
|
||||
background-color: var(--color-light-3);
|
||||
|
||||
transition: background-color 0.25s;
|
||||
}
|
||||
|
||||
.pagination a:hover {
|
||||
background-color: var(--color-fav-0);
|
||||
}
|
||||
|
||||
.pagination a.current {
|
||||
background-color: var(--color-fav-1);
|
||||
pointer-events: none;
|
||||
color: var(--color-black-1);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/***************************/
|
||||
/* setup commenting layout */
|
||||
/***************************/
|
||||
|
||||
.commenting {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
/* keep content style from being affected by remark42 style */
|
||||
.content pre {
|
||||
background-color: transparent;
|
||||
color: var(--color-black-3)
|
||||
}
|
||||
|
||||
/**********/
|
||||
/** misc **/
|
||||
/**********/
|
||||
|
||||
.archive-hint {
|
||||
padding-left: var(--len-4);
|
||||
color: var(--color-fav-1);
|
||||
}
|
||||
|
||||
.max-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
85
css/syntax.css
Normal file
85
css/syntax.css
Normal file
|
@ -0,0 +1,85 @@
|
|||
/* Background */ .bg { color: #272822; }
|
||||
/* PreWrapper */ .chroma { color: #272822; }
|
||||
/* Other */ .chroma .x { }
|
||||
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
|
||||
/* CodeLine */ .chroma .cl { }
|
||||
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
|
||||
/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||
/* Line */ .chroma .line { display: flex; }
|
||||
/* Keyword */ .chroma .k { color: #00a8c8 }
|
||||
/* KeywordConstant */ .chroma .kc { color: #00a8c8 }
|
||||
/* KeywordDeclaration */ .chroma .kd { color: #00a8c8 }
|
||||
/* KeywordNamespace */ .chroma .kn { color: #f92672 }
|
||||
/* KeywordPseudo */ .chroma .kp { color: #00a8c8 }
|
||||
/* KeywordReserved */ .chroma .kr { color: #00a8c8 }
|
||||
/* KeywordType */ .chroma .kt { color: #00a8c8 }
|
||||
/* Name */ .chroma .n { color: #111111 }
|
||||
/* NameAttribute */ .chroma .na { color: #75af00 }
|
||||
/* NameBuiltin */ .chroma .nb { color: #111111 }
|
||||
/* NameBuiltinPseudo */ .chroma .bp { color: #111111 }
|
||||
/* NameClass */ .chroma .nc { color: #75af00 }
|
||||
/* NameConstant */ .chroma .no { color: #00a8c8 }
|
||||
/* NameDecorator */ .chroma .nd { color: #75af00 }
|
||||
/* NameEntity */ .chroma .ni { color: #111111 }
|
||||
/* NameException */ .chroma .ne { color: #75af00 }
|
||||
/* NameFunction */ .chroma .nf { color: #75af00 }
|
||||
/* NameFunctionMagic */ .chroma .fm { color: #111111 }
|
||||
/* NameLabel */ .chroma .nl { color: #111111 }
|
||||
/* NameNamespace */ .chroma .nn { color: #111111 }
|
||||
/* NameOther */ .chroma .nx { color: #75af00 }
|
||||
/* NameProperty */ .chroma .py { color: #111111 }
|
||||
/* NameTag */ .chroma .nt { color: #f92672 }
|
||||
/* NameVariable */ .chroma .nv { color: #111111 }
|
||||
/* NameVariableClass */ .chroma .vc { color: #111111 }
|
||||
/* NameVariableGlobal */ .chroma .vg { color: #111111 }
|
||||
/* NameVariableInstance */ .chroma .vi { color: #111111 }
|
||||
/* NameVariableMagic */ .chroma .vm { color: #111111 }
|
||||
/* Literal */ .chroma .l { color: #ae81ff }
|
||||
/* LiteralDate */ .chroma .ld { color: #d88200 }
|
||||
/* LiteralString */ .chroma .s { color: #d88200 }
|
||||
/* LiteralStringAffix */ .chroma .sa { color: #d88200 }
|
||||
/* LiteralStringBacktick */ .chroma .sb { color: #d88200 }
|
||||
/* LiteralStringChar */ .chroma .sc { color: #d88200 }
|
||||
/* LiteralStringDelimiter */ .chroma .dl { color: #d88200 }
|
||||
/* LiteralStringDoc */ .chroma .sd { color: #d88200 }
|
||||
/* LiteralStringDouble */ .chroma .s2 { color: #d88200 }
|
||||
/* LiteralStringEscape */ .chroma .se { color: #8045ff }
|
||||
/* LiteralStringHeredoc */ .chroma .sh { color: #d88200 }
|
||||
/* LiteralStringInterpol */ .chroma .si { color: #d88200 }
|
||||
/* LiteralStringOther */ .chroma .sx { color: #d88200 }
|
||||
/* LiteralStringRegex */ .chroma .sr { color: #d88200 }
|
||||
/* LiteralStringSingle */ .chroma .s1 { color: #d88200 }
|
||||
/* LiteralStringSymbol */ .chroma .ss { color: #d88200 }
|
||||
/* LiteralNumber */ .chroma .m { color: #ae81ff }
|
||||
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
|
||||
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
|
||||
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
|
||||
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
|
||||
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
|
||||
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
|
||||
/* Operator */ .chroma .o { color: #f92672 }
|
||||
/* OperatorWord */ .chroma .ow { color: #f92672 }
|
||||
/* Punctuation */ .chroma .p { color: #111111 }
|
||||
/* Comment */ .chroma .c { color: #75715e }
|
||||
/* CommentHashbang */ .chroma .ch { color: #75715e }
|
||||
/* CommentMultiline */ .chroma .cm { color: #75715e }
|
||||
/* CommentSingle */ .chroma .c1 { color: #75715e }
|
||||
/* CommentSpecial */ .chroma .cs { color: #75715e }
|
||||
/* CommentPreproc */ .chroma .cp { color: #75715e }
|
||||
/* CommentPreprocFile */ .chroma .cpf { color: #75715e }
|
||||
/* Generic */ .chroma .g { }
|
||||
/* GenericDeleted */ .chroma .gd { }
|
||||
/* GenericEmph */ .chroma .ge { font-style: italic }
|
||||
/* GenericError */ .chroma .gr { }
|
||||
/* GenericHeading */ .chroma .gh { }
|
||||
/* GenericInserted */ .chroma .gi { }
|
||||
/* GenericOutput */ .chroma .go { }
|
||||
/* GenericPrompt */ .chroma .gp { }
|
||||
/* GenericStrong */ .chroma .gs { font-weight: bold }
|
||||
/* GenericSubheading */ .chroma .gu { }
|
||||
/* GenericTraceback */ .chroma .gt { }
|
||||
/* GenericUnderline */ .chroma .gl { }
|
||||
/* TextWhitespace */ .chroma .w { }
|
238
essays/index.html
Normal file
238
essays/index.html
Normal file
|
@ -0,0 +1,238 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Essays | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/essays/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
<div class="content archive-hint"><p><em>There are some short articles.</em></p></div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2022
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2022-05-16 21:57:50 +0800 CST">05/16</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
24
essays/index.xml
Normal file
24
essays/index.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Essays on Flat theme</title>
|
||||
<link>/essays/</link>
|
||||
<description>Recent content in Essays on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Wed, 18 May 2022 11:19:08 +0800</lastBuildDate><atom:link href="/essays/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>What Is Hugo</title>
|
||||
<link>/essays/what-is-hugo/</link>
|
||||
<pubDate>Mon, 16 May 2022 21:57:50 +0800</pubDate>
|
||||
|
||||
<guid>/essays/what-is-hugo/</guid>
|
||||
<description><p>Hugo is a static site generator written in Go. Originally created by Steve Francia in 2013, Hugo has seen a great increase in both features and performance thanks to current lead developer Bjørn Erik Pedersen (since v0.14 in 2015[4]) and other contributors. Hugo is an open source project licensed under the Apache License 2.0.[5]</p>
|
||||
<p>Being able to generate most websites within seconds (at &lt; 1 ms per page), Hugo&rsquo;s official website states it is &ldquo;the world’s fastest framework for building websites&rdquo;. In July 2015, Netlify began providing Hugo hosting,[6] and in 2017, Smashing Magazine completed its redesign of their website, migrating from WordPress to a JAMstack solution with Hugo.[7]</p>
|
||||
<blockquote>
|
||||
<p>Source: <a href="https://en.wikipedia.org/wiki/Hugo_(software)">https://en.wikipedia.org/wiki/Hugo_(software)</a></p>
|
||||
<p>License: <a href="https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License">CC-BY-SA 3.0</a></p>
|
||||
</blockquote></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
241
essays/what-is-hugo/index.html
Normal file
241
essays/what-is-hugo/index.html
Normal file
|
@ -0,0 +1,241 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>What Is Hugo | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<section class="single">
|
||||
<h1 class="title">What Is Hugo</h1>
|
||||
|
||||
<div class="tip">
|
||||
<time datetime="2022-05-16 21:57:50 +0800 CST">2022/05/16</time>
|
||||
<span class="split">·</span>
|
||||
<span> 114 words </span>
|
||||
<span class="split">·</span>
|
||||
<span>
|
||||
1 minutes to read
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="taxonomies">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content">
|
||||
<p>Hugo is a static site generator written in Go. Originally created by Steve Francia in 2013, Hugo has seen a great increase in both features and performance thanks to current lead developer Bjørn Erik Pedersen (since v0.14 in 2015[4]) and other contributors. Hugo is an open source project licensed under the Apache License 2.0.[5]</p>
|
||||
<p>Being able to generate most websites within seconds (at < 1 ms per page), Hugo’s official website states it is “the world’s fastest framework for building websites”. In July 2015, Netlify began providing Hugo hosting,[6] and in 2017, Smashing Magazine completed its redesign of their website, migrating from WordPress to a JAMstack solution with Hugo.[7]</p>
|
||||
<blockquote>
|
||||
<p>Source: <a href="https://en.wikipedia.org/wiki/Hugo_(software)">https://en.wikipedia.org/wiki/Hugo_(software)</a></p>
|
||||
<p>License: <a href="https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License">CC-BY-SA 3.0</a></p>
|
||||
</blockquote>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
336
index.html
Normal file
336
index.html
Normal file
|
@ -0,0 +1,336 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.102.3" />
|
||||
<title>Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div class="max-wrapper">
|
||||
<div id="list-page">
|
||||
|
||||
|
||||
|
||||
<section class="list-item">
|
||||
<h1 class="title"><a href="/posts/markdown-syntax/">Markdown Syntax Guide</a></h1>
|
||||
|
||||
<div class="tips">
|
||||
<div class="date">
|
||||
<time datetime="2019-03-11 00:00:00 +0000 UTC">2019/03/11</time>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="categories">
|
||||
<span>Categories:</span>
|
||||
|
||||
<a href="/categories/themes">themes</a>
|
||||
|
||||
<a href="/categories/syntax">syntax</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<span>Tags:</span>
|
||||
|
||||
<a href="/tags/markdown">markdown</a>
|
||||
|
||||
<a href="/tags/css">css</a>
|
||||
|
||||
<a href="/tags/html">html</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="summary"><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></div>
|
||||
</section>
|
||||
|
||||
<section class="list-item">
|
||||
<h1 class="title"><a href="/posts/placeholder-text/">Placeholder Text</a></h1>
|
||||
|
||||
<div class="tips">
|
||||
<div class="date">
|
||||
<time datetime="2019-03-09 00:00:00 +0000 UTC">2019/03/09</time>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<span>Tags:</span>
|
||||
|
||||
<a href="/tags/markdown">markdown</a>
|
||||
|
||||
<a href="/tags/text">text</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="summary"><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p></div>
|
||||
</section>
|
||||
|
||||
<section class="list-item">
|
||||
<h1 class="title"><a href="/posts/math-typesetting/">Math Typesetting</a></h1>
|
||||
|
||||
<div class="tips">
|
||||
<div class="date">
|
||||
<time datetime="2019-03-08 00:00:00 +0000 UTC">2019/03/08</time>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="summary"><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p></div>
|
||||
</section>
|
||||
|
||||
<section class="list-item">
|
||||
<h1 class="title"><a href="/posts/emoji-support/">Emoji Support</a></h1>
|
||||
|
||||
<div class="tips">
|
||||
<div class="date">
|
||||
<time datetime="2019-03-05 00:00:00 +0000 UTC">2019/03/05</time>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<span>Tags:</span>
|
||||
|
||||
<a href="/tags/emoji">emoji</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="summary"><p>Emoji can be enabled in a Hugo project in a number of ways.</p></div>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<nav class="pagination">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="enabled current" href="/">1</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
225
index.xml
Normal file
225
index.xml
Normal file
|
@ -0,0 +1,225 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Flat theme</title>
|
||||
<link>/</link>
|
||||
<description>Recent content on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Wed, 18 May 2022 11:22:44 +0800</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>What Is Hugo</title>
|
||||
<link>/essays/what-is-hugo/</link>
|
||||
<pubDate>Mon, 16 May 2022 21:57:50 +0800</pubDate>
|
||||
|
||||
<guid>/essays/what-is-hugo/</guid>
|
||||
<description><p>Hugo is a static site generator written in Go. Originally created by Steve Francia in 2013, Hugo has seen a great increase in both features and performance thanks to current lead developer Bjørn Erik Pedersen (since v0.14 in 2015[4]) and other contributors. Hugo is an open source project licensed under the Apache License 2.0.[5]</p>
|
||||
<p>Being able to generate most websites within seconds (at &lt; 1 ms per page), Hugo&rsquo;s official website states it is &ldquo;the world’s fastest framework for building websites&rdquo;. In July 2015, Netlify began providing Hugo hosting,[6] and in 2017, Smashing Magazine completed its redesign of their website, migrating from WordPress to a JAMstack solution with Hugo.[7]</p>
|
||||
<blockquote>
|
||||
<p>Source: <a href="https://en.wikipedia.org/wiki/Hugo_(software)">https://en.wikipedia.org/wiki/Hugo_(software)</a></p>
|
||||
<p>License: <a href="https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License">CC-BY-SA 3.0</a></p>
|
||||
</blockquote></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Placeholder Text</title>
|
||||
<link>/posts/placeholder-text/</link>
|
||||
<pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/placeholder-text/</guid>
|
||||
<description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
|
||||
<p>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.</p>
|
||||
<ol>
|
||||
<li>Exierant elisi ambit vivere dedere</li>
|
||||
<li>Duce pollice</li>
|
||||
<li>Eris modo</li>
|
||||
<li>Spargitque ferrea quos palude</li>
|
||||
</ol>
|
||||
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
|
||||
<ol>
|
||||
<li>Comas hunc haec pietate fetum procerum dixit</li>
|
||||
<li>Post torum vates letum Tiresia</li>
|
||||
<li>Flumen querellas</li>
|
||||
<li>Arcanaque montibus omnes</li>
|
||||
<li>Quidem et</li>
|
||||
</ol>
|
||||
<h1 id="vagus-elidunt">Vagus elidunt <a href="#vagus-elidunt" class="anchor">🔗</a></h1><p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
|
||||
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
|
||||
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat <a href="#mane-refeci-capiebant-unda-mulcebat" class="anchor">🔗</a></h2><p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
|
||||
<p>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.</p>
|
||||
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Math Typesetting</title>
|
||||
<link>/posts/math-typesetting/</link>
|
||||
<pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/math-typesetting/</guid>
|
||||
<description><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>
|
||||
<p>In this example we will be using <a href="https://katex.org/">KaTeX</a></p>
|
||||
<ul>
|
||||
<li>Create a partial under <code>/layouts/partials/math.html</code></li>
|
||||
<li>Within this partial reference the <a href="https://katex.org/docs/autorender.html">Auto-render Extension</a> or host these scripts locally.</li>
|
||||
<li>Include the partial in your templates like so:</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="o">{{</span> <span class="k">if</span> or .Params.math .Site.Params.math <span class="o">}}</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="o">{{</span> partial <span class="s2">&#34;math.html&#34;</span> . <span class="o">}}</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="o">{{</span> end <span class="o">}}</span>
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project&rsquo;s configuration</li>
|
||||
<li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li>
|
||||
</ul>
|
||||
<p><strong>Note:</strong> Use the online reference of <a href="https://katex.org/docs/supported.html">Supported TeX Functions</a></p>
|
||||
|
||||
<h3 id="examples">Examples <a href="#examples" class="anchor">🔗</a></h3>
|
||||
<p>Block math:
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$</p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Emoji Support</title>
|
||||
<link>/posts/emoji-support/</link>
|
||||
<pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/emoji-support/</guid>
|
||||
<description><p>Emoji can be enabled in a Hugo project in a number of ways.</p>
|
||||
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
|
||||
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
|
||||
<!-- raw HTML omitted -->
|
||||
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
|
||||
<hr>
|
||||
<p><strong>N.B.</strong> 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.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl">.emoji {
|
||||
</span></span><span class="line"><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
</span></span><span class="line"><span class="cl">}</span></span></code></pre></div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
3
js/mermaid-9.0.0.min.js
vendored
Normal file
3
js/mermaid-9.0.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
96
lib/icofont/demo.html
Normal file
96
lib/icofont/demo.html
Normal file
|
@ -0,0 +1,96 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Examples | IcoFont</title>
|
||||
<link rel="stylesheet" type="text/css" href="./icofont.min.css">
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #F6F6F9;
|
||||
}
|
||||
.header {
|
||||
border-bottom: 1px solid #DCDCE1;
|
||||
padding: 10px 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.container {
|
||||
width: 980px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.ico-title {
|
||||
font-size: 2em;
|
||||
}
|
||||
.iconlist {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
}
|
||||
.iconlist li {
|
||||
position: relative;
|
||||
margin: 5px;
|
||||
width: 150px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.iconlist li .icon-holder {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
padding-bottom: 5px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #E4E5EA;
|
||||
transition: all 0.2s linear 0s;
|
||||
}
|
||||
.iconlist li .icon-holder:hover {
|
||||
background: #00C3DA;
|
||||
color: #ffffff;
|
||||
}
|
||||
.iconlist li .icon-holder:hover .icon i {
|
||||
color: #ffffff;
|
||||
}
|
||||
.iconlist li .icon-holder .icon {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.iconlist li .icon-holder .icon i {
|
||||
font-size: 3em;
|
||||
color: #1F1142;
|
||||
}
|
||||
.iconlist li .icon-holder span {
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="container">
|
||||
<h1 class="ico-title"> IcoFont Icons </h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<ul class="iconlist">
|
||||
|
||||
<li>
|
||||
<div class="icon-holder">
|
||||
<div class="icon">
|
||||
<i class="icofont-rss"></i>
|
||||
</div>
|
||||
<span> rss </span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
lib/icofont/fonts/icofont.eot
Normal file
BIN
lib/icofont/fonts/icofont.eot
Normal file
Binary file not shown.
11
lib/icofont/fonts/icofont.svg
Normal file
11
lib/icofont/fonts/icofont.svg
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<font id="icofont" horiz-adv-x="1000" >
|
||||
<font-face font-family="IcoFont" font-weight="400" font-style="Regular" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="rss" horiz-adv-x="1000" unicode="" d="M64 323c109 0 212-43 288-120 77-78 120-181 120-290h168c0 318-258 577-576 577l0-167z m1 297c388 0 703-317 703-707h168c0 482-391 875-871 875l0-168z m232-590c0-65-52-117-117-117-64 0-116 52-116 117s52 116 116 116c65 0 117-52 117-116z" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 707 B |
BIN
lib/icofont/fonts/icofont.ttf
Normal file
BIN
lib/icofont/fonts/icofont.ttf
Normal file
Binary file not shown.
BIN
lib/icofont/fonts/icofont.woff
Normal file
BIN
lib/icofont/fonts/icofont.woff
Normal file
Binary file not shown.
BIN
lib/icofont/fonts/icofont.woff2
Normal file
BIN
lib/icofont/fonts/icofont.woff2
Normal file
Binary file not shown.
287
lib/icofont/icofont.css
Normal file
287
lib/icofont/icofont.css
Normal file
|
@ -0,0 +1,287 @@
|
|||
/*!
|
||||
* @package IcoFont
|
||||
* @version 1.0.1
|
||||
* @author IcoFont https://icofont.com
|
||||
* @copyright Copyright (c) 2015 - 2022 IcoFont
|
||||
* @license - https://icofont.com/license/
|
||||
*/
|
||||
|
||||
@font-face
|
||||
{
|
||||
|
||||
font-family: "IcoFont";
|
||||
font-weight: normal;
|
||||
font-style: "Regular";
|
||||
src: url("./fonts/icofont.woff2") format("woff2"),
|
||||
url("./fonts/icofont.woff") format("woff");
|
||||
}
|
||||
|
||||
[class^="icofont-"], [class*=" icofont-"]
|
||||
{
|
||||
font-family: 'IcoFont' !important;
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
line-height: 1;
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-feature-settings: "liga";
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.icofont-rss:before
|
||||
{
|
||||
content: "\ed64";
|
||||
}
|
||||
|
||||
.icofont-xs
|
||||
{
|
||||
font-size: .5em;
|
||||
}
|
||||
|
||||
.icofont-sm
|
||||
{
|
||||
font-size: .75em;
|
||||
}
|
||||
|
||||
.icofont-md
|
||||
{
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
.icofont-lg
|
||||
{
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.icofont-1x
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.icofont-2x
|
||||
{
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.icofont-3x
|
||||
{
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
.icofont-4x
|
||||
{
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
.icofont-5x
|
||||
{
|
||||
font-size: 5em;
|
||||
}
|
||||
|
||||
.icofont-6x
|
||||
{
|
||||
font-size: 6em;
|
||||
}
|
||||
|
||||
.icofont-7x
|
||||
{
|
||||
font-size: 7em;
|
||||
}
|
||||
|
||||
.icofont-8x
|
||||
{
|
||||
font-size: 8em;
|
||||
}
|
||||
|
||||
.icofont-9x
|
||||
{
|
||||
font-size: 9em;
|
||||
}
|
||||
|
||||
.icofont-10x
|
||||
{
|
||||
font-size: 10em;
|
||||
}
|
||||
|
||||
.icofont-fw
|
||||
{
|
||||
text-align: center;
|
||||
width: 1.25em;
|
||||
}
|
||||
|
||||
.icofont-ul
|
||||
{
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.icofont-ul > li
|
||||
{
|
||||
position: relative;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.icofont-ul > li .icofont
|
||||
{
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.icofont-border
|
||||
{
|
||||
border: solid 0.08em #f1f1f1;
|
||||
border-radius: .1em;
|
||||
padding: .2em .25em .15em;
|
||||
}
|
||||
|
||||
.icofont-pull-left
|
||||
{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.icofont-pull-right
|
||||
{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.icofont.icofont-pull-left
|
||||
{
|
||||
margin-right: .3em;
|
||||
}
|
||||
|
||||
.icofont.icofont-pull-right
|
||||
{
|
||||
margin-left: .3em;
|
||||
}
|
||||
|
||||
.icofont-spin
|
||||
{
|
||||
-webkit-animation: icofont-spin 2s infinite linear;
|
||||
animation: icofont-spin 2s infinite linear;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.icofont-pulse
|
||||
{
|
||||
-webkit-animation: icofont-spin 1s infinite steps(8);
|
||||
animation: icofont-spin 1s infinite steps(8);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@-webkit-keyframes icofont-spin
|
||||
{
|
||||
0%
|
||||
{
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100%
|
||||
{
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes icofont-spin
|
||||
{
|
||||
0%
|
||||
{
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100%
|
||||
{
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.icofont-rotate-90
|
||||
{
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
|
||||
-webkit-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.icofont-rotate-180
|
||||
{
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.icofont-rotate-270
|
||||
{
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
|
||||
-webkit-transform: rotate(270deg);
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
|
||||
.icofont-flip-horizontal
|
||||
{
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
|
||||
-webkit-transform: scale(-1, 1);
|
||||
transform: scale(-1, 1);
|
||||
}
|
||||
|
||||
.icofont-flip-vertical
|
||||
{
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
||||
-webkit-transform: scale(1, -1);
|
||||
transform: scale(1, -1);
|
||||
}
|
||||
|
||||
.icofont-flip-horizontal.icofont-flip-vertical
|
||||
{
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
||||
-webkit-transform: scale(-1, -1);
|
||||
transform: scale(-1, -1);
|
||||
}
|
||||
|
||||
:root .icofont-rotate-90,
|
||||
:root .icofont-rotate-180,
|
||||
:root .icofont-rotate-270,
|
||||
:root .icofont-flip-horizontal,
|
||||
:root .icofont-flip-vertical
|
||||
{
|
||||
-webkit-filter: none;
|
||||
filter: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.icofont-inverse
|
||||
{
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.sr-only
|
||||
{
|
||||
border: 0;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.sr-only-focusable:active,
|
||||
.sr-only-focusable:focus
|
||||
{
|
||||
clip: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
position: static;
|
||||
width: auto;
|
||||
}
|
||||
|
7
lib/icofont/icofont.min.css
vendored
Normal file
7
lib/icofont/icofont.min.css
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* @package IcoFont
|
||||
* @version 1.0.1
|
||||
* @author IcoFont https://icofont.com
|
||||
* @copyright Copyright (c) 2015 - 2022 IcoFont
|
||||
* @license - https://icofont.com/license/
|
||||
*/@font-face{font-family:IcoFont;font-weight:400;font-style:Regular;src:url(fonts/icofont.woff2) format("woff2"),url(fonts/icofont.woff) format("woff")}[class*=" icofont-"],[class^=icofont-]{font-family:IcoFont!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;line-height:1;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.icofont-rss:before{content:"\ed64"}.icofont-xs{font-size:.5em}.icofont-sm{font-size:.75em}.icofont-md{font-size:1.25em}.icofont-lg{font-size:1.5em}.icofont-1x{font-size:1em}.icofont-2x{font-size:2em}.icofont-3x{font-size:3em}.icofont-4x{font-size:4em}.icofont-5x{font-size:5em}.icofont-6x{font-size:6em}.icofont-7x{font-size:7em}.icofont-8x{font-size:8em}.icofont-9x{font-size:9em}.icofont-10x{font-size:10em}.icofont-fw{text-align:center;width:1.25em}.icofont-ul{list-style-type:none;padding-left:0;margin-left:0}.icofont-ul>li{position:relative;line-height:2em}.icofont-ul>li .icofont{display:inline-block;vertical-align:middle}.icofont-border{border:solid .08em #f1f1f1;border-radius:.1em;padding:.2em .25em .15em}.icofont-pull-left{float:left}.icofont-pull-right{float:right}.icofont.icofont-pull-left{margin-right:.3em}.icofont.icofont-pull-right{margin-left:.3em}.icofont-spin{-webkit-animation:icofont-spin 2s infinite linear;animation:icofont-spin 2s infinite linear;display:inline-block}.icofont-pulse{-webkit-animation:icofont-spin 1s infinite steps(8);animation:icofont-spin 1s infinite steps(8);display:inline-block}@-webkit-keyframes icofont-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes icofont-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.icofont-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.icofont-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.icofont-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.icofont-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.icofont-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.icofont-flip-horizontal.icofont-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}:root .icofont-flip-horizontal,:root .icofont-flip-vertical,:root .icofont-rotate-180,:root .icofont-rotate-270,:root .icofont-rotate-90{-webkit-filter:none;filter:none;display:inline-block}.icofont-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}
|
10
page/1/index.html
Normal file
10
page/1/index.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>/</title>
|
||||
<link rel="canonical" href="/">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url=/">
|
||||
</head>
|
||||
</html>
|
252
posts/emoji-support/index.html
Normal file
252
posts/emoji-support/index.html
Normal file
|
@ -0,0 +1,252 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Emoji Support | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<section class="single">
|
||||
<h1 class="title">Emoji Support</h1>
|
||||
|
||||
<div class="tip">
|
||||
<time datetime="2019-03-05 00:00:00 +0000 UTC">2019/03/05</time>
|
||||
<span class="split">·</span>
|
||||
<span> 123 words </span>
|
||||
<span class="split">·</span>
|
||||
<span>
|
||||
1 minutes to read
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="taxonomies">
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
Tags:
|
||||
|
||||
<a href="/tags/emoji">emoji</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content">
|
||||
<p>Emoji can be enabled in a Hugo project in a number of ways.</p>
|
||||
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
|
||||
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site’s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
|
||||
<!-- raw HTML omitted -->
|
||||
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
|
||||
<hr>
|
||||
<p><strong>N.B.</strong> 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.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl">.emoji {
|
||||
</span></span><span class="line"><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
</span></span><span class="line"><span class="cl">}</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
290
posts/index.html
Normal file
290
posts/index.html
Normal file
|
@ -0,0 +1,290 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Posts | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/posts/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-11 00:00:00 +0000 UTC">03/11</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/css">css</a>
|
||||
|
||||
<a class="tags" href="/tags/html">html</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-09 00:00:00 +0000 UTC">03/09</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/text">text</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-08 00:00:00 +0000 UTC">03/08</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-05 00:00:00 +0000 UTC">03/05</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/emoji">emoji</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
211
posts/index.xml
Normal file
211
posts/index.xml
Normal file
|
@ -0,0 +1,211 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on Flat theme</title>
|
||||
<link>/posts/</link>
|
||||
<description>Recent content in Posts on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Wed, 18 May 2022 11:22:44 +0800</lastBuildDate><atom:link href="/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Placeholder Text</title>
|
||||
<link>/posts/placeholder-text/</link>
|
||||
<pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/placeholder-text/</guid>
|
||||
<description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
|
||||
<p>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.</p>
|
||||
<ol>
|
||||
<li>Exierant elisi ambit vivere dedere</li>
|
||||
<li>Duce pollice</li>
|
||||
<li>Eris modo</li>
|
||||
<li>Spargitque ferrea quos palude</li>
|
||||
</ol>
|
||||
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
|
||||
<ol>
|
||||
<li>Comas hunc haec pietate fetum procerum dixit</li>
|
||||
<li>Post torum vates letum Tiresia</li>
|
||||
<li>Flumen querellas</li>
|
||||
<li>Arcanaque montibus omnes</li>
|
||||
<li>Quidem et</li>
|
||||
</ol>
|
||||
<h1 id="vagus-elidunt">Vagus elidunt <a href="#vagus-elidunt" class="anchor">🔗</a></h1><p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
|
||||
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
|
||||
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat <a href="#mane-refeci-capiebant-unda-mulcebat" class="anchor">🔗</a></h2><p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
|
||||
<p>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.</p>
|
||||
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Math Typesetting</title>
|
||||
<link>/posts/math-typesetting/</link>
|
||||
<pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/math-typesetting/</guid>
|
||||
<description><p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>
|
||||
<p>In this example we will be using <a href="https://katex.org/">KaTeX</a></p>
|
||||
<ul>
|
||||
<li>Create a partial under <code>/layouts/partials/math.html</code></li>
|
||||
<li>Within this partial reference the <a href="https://katex.org/docs/autorender.html">Auto-render Extension</a> or host these scripts locally.</li>
|
||||
<li>Include the partial in your templates like so:</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="o">{{</span> <span class="k">if</span> or .Params.math .Site.Params.math <span class="o">}}</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="o">{{</span> partial <span class="s2">&#34;math.html&#34;</span> . <span class="o">}}</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="o">{{</span> end <span class="o">}}</span>
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project&rsquo;s configuration</li>
|
||||
<li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li>
|
||||
</ul>
|
||||
<p><strong>Note:</strong> Use the online reference of <a href="https://katex.org/docs/supported.html">Supported TeX Functions</a></p>
|
||||
|
||||
<h3 id="examples">Examples <a href="#examples" class="anchor">🔗</a></h3>
|
||||
<p>Block math:
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$</p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Emoji Support</title>
|
||||
<link>/posts/emoji-support/</link>
|
||||
<pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/emoji-support/</guid>
|
||||
<description><p>Emoji can be enabled in a Hugo project in a number of ways.</p>
|
||||
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
|
||||
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
|
||||
<!-- raw HTML omitted -->
|
||||
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
|
||||
<hr>
|
||||
<p><strong>N.B.</strong> 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.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl">.emoji {
|
||||
</span></span><span class="line"><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
</span></span><span class="line"><span class="cl">}</span></span></code></pre></div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
372
posts/markdown-syntax/index.html
Normal file
372
posts/markdown-syntax/index.html
Normal file
|
@ -0,0 +1,372 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Markdown Syntax Guide | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<section class="single">
|
||||
<h1 class="title">Markdown Syntax Guide</h1>
|
||||
|
||||
<div class="tip">
|
||||
<time datetime="2019-03-11 00:00:00 +0000 UTC">2019/03/11</time>
|
||||
<span class="split">·</span>
|
||||
<span> 450 words </span>
|
||||
<span class="split">·</span>
|
||||
<span>
|
||||
3 minutes to read
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="taxonomies">
|
||||
|
||||
<div>
|
||||
Categories:
|
||||
|
||||
<a href="/categories/themes">themes</a>
|
||||
|
||||
<a href="/categories/syntax">syntax</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
Tags:
|
||||
|
||||
<a href="/tags/markdown">markdown</a>
|
||||
|
||||
<a href="/tags/css">css</a>
|
||||
|
||||
<a href="/tags/html">html</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content">
|
||||
<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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code><h1></code>—<code><h6></code> elements represent six levels of section headings. <code><h1></code> is the highest section level while <code><h6></code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don’t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp"><!doctype html></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">"en"</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">head</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">"utf-8"</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nt">title</span><span class="p">></span>Example HTML5 Document<span class="p"></</span><span class="nt">title</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">head</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">body</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nt">p</span><span class="p">></span>Test<span class="p"></</span><span class="nt">p</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">body</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">html</span><span class="p">></span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code><!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo’s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp"><!doctype html></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">"en"</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">head</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">"utf-8"</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nt">title</span><span class="p">></span>Example HTML5 Document<span class="p"></</span><span class="nt">title</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">head</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">body</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nt">p</span><span class="p">></span>Test<span class="p"></</span><span class="nt">p</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">body</span><span class="p">></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">html</span><span class="p">></span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike’s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
256
posts/math-typesetting/index.html
Normal file
256
posts/math-typesetting/index.html
Normal file
|
@ -0,0 +1,256 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Math Typesetting | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<section class="single">
|
||||
<h1 class="title">Math Typesetting</h1>
|
||||
|
||||
<div class="tip">
|
||||
<time datetime="2019-03-08 00:00:00 +0000 UTC">2019/03/08</time>
|
||||
<span class="split">·</span>
|
||||
<span> 115 words </span>
|
||||
<span class="split">·</span>
|
||||
<span>
|
||||
1 minutes to read
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="taxonomies">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content">
|
||||
<p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.</p>
|
||||
<p>In this example we will be using <a href="https://katex.org/">KaTeX</a></p>
|
||||
<ul>
|
||||
<li>Create a partial under <code>/layouts/partials/math.html</code></li>
|
||||
<li>Within this partial reference the <a href="https://katex.org/docs/autorender.html">Auto-render Extension</a> or host these scripts locally.</li>
|
||||
<li>Include the partial in your templates like so:</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="o">{{</span> <span class="k">if</span> or .Params.math .Site.Params.math <span class="o">}}</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="o">{{</span> partial <span class="s2">"math.html"</span> . <span class="o">}}</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="o">{{</span> end <span class="o">}}</span>
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>To enable KaTex globally set the parameter <code>math</code> to <code>true</code> in a project’s configuration</li>
|
||||
<li>To enable KaTex on a per page basis include the parameter <code>math: true</code> in content files</li>
|
||||
</ul>
|
||||
<p><strong>Note:</strong> Use the online reference of <a href="https://katex.org/docs/supported.html">Supported TeX Functions</a></p>
|
||||
|
||||
<h3 id="examples">Examples <a href="#examples" class="anchor">🔗</a></h3>
|
||||
<p>Block math:
|
||||
$$
|
||||
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||
$$</p>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
10
posts/migrate-from-jekyl/index.html
Normal file
10
posts/migrate-from-jekyl/index.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>/posts/markdown-syntax/</title>
|
||||
<link rel="canonical" href="/posts/markdown-syntax/">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url=/posts/markdown-syntax/">
|
||||
</head>
|
||||
</html>
|
265
posts/placeholder-text/index.html
Normal file
265
posts/placeholder-text/index.html
Normal file
|
@ -0,0 +1,265 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Placeholder Text | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<section class="single">
|
||||
<h1 class="title">Placeholder Text</h1>
|
||||
|
||||
<div class="tip">
|
||||
<time datetime="2019-03-09 00:00:00 +0000 UTC">2019/03/09</time>
|
||||
<span class="split">·</span>
|
||||
<span> 270 words </span>
|
||||
<span class="split">·</span>
|
||||
<span>
|
||||
2 minutes to read
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="taxonomies">
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
Tags:
|
||||
|
||||
<a href="/tags/markdown">markdown</a>
|
||||
|
||||
<a href="/tags/text">text</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content">
|
||||
<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
|
||||
<p>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.</p>
|
||||
<ol>
|
||||
<li>Exierant elisi ambit vivere dedere</li>
|
||||
<li>Duce pollice</li>
|
||||
<li>Eris modo</li>
|
||||
<li>Spargitque ferrea quos palude</li>
|
||||
</ol>
|
||||
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
|
||||
<ol>
|
||||
<li>Comas hunc haec pietate fetum procerum dixit</li>
|
||||
<li>Post torum vates letum Tiresia</li>
|
||||
<li>Flumen querellas</li>
|
||||
<li>Arcanaque montibus omnes</li>
|
||||
<li>Quidem et</li>
|
||||
</ol>
|
||||
<h1 id="vagus-elidunt">Vagus elidunt <a href="#vagus-elidunt" class="anchor">🔗</a></h1><p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
|
||||
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
|
||||
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat <a href="#mane-refeci-capiebant-unda-mulcebat" class="anchor">🔗</a></h2><p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
|
||||
<p>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.</p>
|
||||
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
4
robots.txt
Normal file
4
robots.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
User-agent: *
|
||||
Allow: *
|
||||
|
||||
Sitemap: sitemap.xml
|
59
sitemap.xml
Normal file
59
sitemap.xml
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/posts/</loc>
|
||||
<lastmod>2022-05-18T11:22:44+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/essays/</loc>
|
||||
<lastmod>2022-05-18T11:19:08+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/</loc>
|
||||
<lastmod>2022-05-18T11:22:44+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/essays/what-is-hugo/</loc>
|
||||
<lastmod>2022-05-16T21:57:50+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/about/</loc>
|
||||
<lastmod>2022-04-27T21:01:43+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/categories/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/tags/css/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/tags/html/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/tags/markdown/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/posts/markdown-syntax/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/categories/syntax/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/tags/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/categories/themes/</loc>
|
||||
<lastmod>2019-03-11T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/posts/placeholder-text/</loc>
|
||||
<lastmod>2019-03-09T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/tags/text/</loc>
|
||||
<lastmod>2019-03-09T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/posts/math-typesetting/</loc>
|
||||
<lastmod>2019-03-08T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/tags/emoji/</loc>
|
||||
<lastmod>2019-03-05T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/posts/emoji-support/</loc>
|
||||
<lastmod>2019-03-05T00:00:00+00:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
252
tags/css/index.html
Normal file
252
tags/css/index.html
Normal file
|
@ -0,0 +1,252 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>css | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/tags/css/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-11 00:00:00 +0000 UTC">03/11</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/css">css</a>
|
||||
|
||||
<a class="tags" href="/tags/html">html</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/tags/css/index.xml">
|
||||
Feed of "css"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
135
tags/css/index.xml
Normal file
135
tags/css/index.xml
Normal file
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>css on Flat theme</title>
|
||||
<link>/tags/css/</link>
|
||||
<description>Recent content in css on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/css/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
248
tags/emoji/index.html
Normal file
248
tags/emoji/index.html
Normal file
|
@ -0,0 +1,248 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>emoji | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/tags/emoji/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-05 00:00:00 +0000 UTC">03/05</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/emoji">emoji</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/tags/emoji/index.xml">
|
||||
Feed of "emoji"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
28
tags/emoji/index.xml
Normal file
28
tags/emoji/index.xml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>emoji on Flat theme</title>
|
||||
<link>/tags/emoji/</link>
|
||||
<description>Recent content in emoji on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 05 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/emoji/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Emoji Support</title>
|
||||
<link>/posts/emoji-support/</link>
|
||||
<pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/emoji-support/</guid>
|
||||
<description><p>Emoji can be enabled in a Hugo project in a number of ways.</p>
|
||||
<p>The <a href="https://gohugo.io/functions/emojify/"><code>emojify</code></a> function can be called directly in templates or <a href="https://gohugo.io/templates/shortcode-templates/#inline-shortcodes">Inline Shortcodes</a>.</p>
|
||||
<p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site&rsquo;s <a href="https://gohugo.io/getting-started/configuration/">configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p>
|
||||
<!-- raw HTML omitted -->
|
||||
<p>The <a href="http://www.emoji-cheat-sheet.com/">Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p>
|
||||
<hr>
|
||||
<p><strong>N.B.</strong> 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.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl">.emoji {
|
||||
</span></span><span class="line"><span class="cl"> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
</span></span><span class="line"><span class="cl">}</span></span></code></pre></div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
252
tags/html/index.html
Normal file
252
tags/html/index.html
Normal file
|
@ -0,0 +1,252 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>html | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/tags/html/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-11 00:00:00 +0000 UTC">03/11</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/css">css</a>
|
||||
|
||||
<a class="tags" href="/tags/html">html</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/tags/html/index.xml">
|
||||
Feed of "html"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
135
tags/html/index.xml
Normal file
135
tags/html/index.xml
Normal file
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>html on Flat theme</title>
|
||||
<link>/tags/html/</link>
|
||||
<description>Recent content in html on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/html/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
257
tags/index.html
Normal file
257
tags/index.html
Normal file
|
@ -0,0 +1,257 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/tags/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
<section id="tags">
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="markdown">
|
||||
markdown <span>(2)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="css">
|
||||
css <span>(1)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="emoji">
|
||||
emoji <span>(1)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="html">
|
||||
html <span>(1)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="tag">
|
||||
<a href="text">
|
||||
text <span>(1)</span>
|
||||
</a>
|
||||
</span>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/tags/index.xml">
|
||||
Feed of "Tags"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
55
tags/index.xml
Normal file
55
tags/index.xml
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on Flat theme</title>
|
||||
<link>/tags/</link>
|
||||
<description>Recent content in Tags on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>css</title>
|
||||
<link>/tags/css/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/tags/css/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>html</title>
|
||||
<link>/tags/html/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/tags/html/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>markdown</title>
|
||||
<link>/tags/markdown/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/tags/markdown/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>text</title>
|
||||
<link>/tags/text/</link>
|
||||
<pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/tags/text/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>emoji</title>
|
||||
<link>/tags/emoji/</link>
|
||||
<pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/tags/emoji/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
270
tags/markdown/index.html
Normal file
270
tags/markdown/index.html
Normal file
|
@ -0,0 +1,270 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>markdown | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/tags/markdown/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-11 00:00:00 +0000 UTC">03/11</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/css">css</a>
|
||||
|
||||
<a class="tags" href="/tags/html">html</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-09 00:00:00 +0000 UTC">03/09</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/text">text</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/tags/markdown/index.xml">
|
||||
Feed of "markdown"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
164
tags/markdown/index.xml
Normal file
164
tags/markdown/index.xml
Normal file
|
@ -0,0 +1,164 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>markdown on Flat theme</title>
|
||||
<link>/tags/markdown/</link>
|
||||
<description>Recent content in markdown on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Mon, 11 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/markdown/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown Syntax Guide</title>
|
||||
<link>/posts/markdown-syntax/</link>
|
||||
<pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/markdown-syntax/</guid>
|
||||
<description><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>
|
||||
<h2 id="headings">Headings <a href="#headings" class="anchor">🔗</a></h2><p>The following HTML <code>&lt;h1&gt;</code>—<code>&lt;h6&gt;</code> elements represent six levels of section headings. <code>&lt;h1&gt;</code> is the highest section level while <code>&lt;h6&gt;</code> is the lowest.</p>
|
||||
<h1 id="h1">H1 <a href="#h1" class="anchor">🔗</a></h1><h2 id="h2">H2 <a href="#h2" class="anchor">🔗</a></h2><h3 id="h3">H3 <a href="#h3" class="anchor">🔗</a></h3><h4 id="h4">H4 <a href="#h4" class="anchor">🔗</a></h4><h5 id="h5">H5 <a href="#h5" class="anchor">🔗</a></h5><h6 id="h6">H6 <a href="#h6" class="anchor">🔗</a></h6><h2 id="paragraph">Paragraph <a href="#paragraph" class="anchor">🔗</a></h2><p>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.</p>
|
||||
<p>Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.</p>
|
||||
<h2 id="blockquotes">Blockquotes <a href="#blockquotes" class="anchor">🔗</a></h2><p>The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a <code>footer</code> or <code>cite</code> element, and optionally with in-line changes such as annotations and abbreviations.</p>
|
||||
<h4 id="blockquote-without-attribution">Blockquote without attribution <a href="#blockquote-without-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||
<strong>Note</strong> that you can use <em>Markdown syntax</em> within a blockquote.</p>
|
||||
</blockquote>
|
||||
<h4 id="blockquote-with-attribution">Blockquote with attribution <a href="#blockquote-with-attribution" class="anchor">🔗</a></h4><blockquote>
|
||||
<p>Don&rsquo;t communicate by sharing memory, share memory by communicating.<!-- raw HTML omitted -->
|
||||
— <!-- raw HTML omitted -->Rob Pike<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup><!-- raw HTML omitted --></p>
|
||||
</blockquote>
|
||||
<h2 id="tables">Tables <a href="#tables" class="anchor">🔗</a></h2><p>Tables aren&rsquo;t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Age</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bob</td>
|
||||
<td>27</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Alice</td>
|
||||
<td>23</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="inline-markdown-within-tables">Inline Markdown within tables <a href="#inline-markdown-within-tables" class="anchor">🔗</a></h4><table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Italics</th>
|
||||
<th>Bold</th>
|
||||
<th>Code</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><em>italics</em></td>
|
||||
<td><strong>bold</strong></td>
|
||||
<td><code>code</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2 id="code-blocks">Code Blocks <a href="#code-blocks" class="anchor">🔗</a></h2><h4 id="code-block-with-backticks">Code block with backticks <a href="#code-block-with-backticks" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span>
|
||||
</span></span></code></pre></div><h4 id="code-block-indented-with-four-spaces">Code block indented with four spaces <a href="#code-block-indented-with-four-spaces" class="anchor">🔗</a></h4><pre><code>&lt;!doctype html&gt;
|
||||
&lt;html lang=&quot;en&quot;&gt;
|
||||
&lt;head&gt;
|
||||
&lt;meta charset=&quot;utf-8&quot;&gt;
|
||||
&lt;title&gt;Example HTML5 Document&lt;/title&gt;
|
||||
&lt;/head&gt;
|
||||
&lt;body&gt;
|
||||
&lt;p&gt;Test&lt;/p&gt;
|
||||
&lt;/body&gt;
|
||||
&lt;/html&gt;
|
||||
</code></pre>
|
||||
<h4 id="code-block-with-hugos-internal-highlight-shortcode">Code block with Hugo&rsquo;s internal highlight shortcode <a href="#code-block-with-hugos-internal-highlight-shortcode" class="anchor">🔗</a></h4><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp">&lt;!doctype html&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">&#34;en&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">&#34;utf-8&#34;</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">title</span><span class="p">&gt;</span>Example HTML5 Document<span class="p">&lt;/</span><span class="nt">title</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">head</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Test<span class="p">&lt;/</span><span class="nt">p</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">body</span><span class="p">&gt;</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">html</span><span class="p">&gt;</span></span></span></code></pre></div>
|
||||
<h2 id="list-types">List Types <a href="#list-types" class="anchor">🔗</a></h2><h4 id="ordered-list">Ordered List <a href="#ordered-list" class="anchor">🔗</a></h4><ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
<h4 id="unordered-list">Unordered List <a href="#unordered-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>List item</li>
|
||||
<li>Another item</li>
|
||||
<li>And another item</li>
|
||||
</ul>
|
||||
<h4 id="nested-list">Nested list <a href="#nested-list" class="anchor">🔗</a></h4><ul>
|
||||
<li>Fruit
|
||||
<ul>
|
||||
<li>Apple</li>
|
||||
<li>Orange</li>
|
||||
<li>Banana</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Dairy
|
||||
<ul>
|
||||
<li>Milk</li>
|
||||
<li>Cheese</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="other-elements--abbr-sub-sup-kbd-mark">Other Elements — abbr, sub, sup, kbd, mark <a href="#other-elements--abbr-sub-sup-kbd-mark" class="anchor">🔗</a></h2><p><!-- raw HTML omitted -->GIF<!-- raw HTML omitted --> is a bitmap image format.</p>
|
||||
<p>H<!-- raw HTML omitted -->2<!-- raw HTML omitted -->O</p>
|
||||
<p>X<!-- raw HTML omitted -->n<!-- raw HTML omitted --> + Y<!-- raw HTML omitted -->n<!-- raw HTML omitted --> = Z<!-- raw HTML omitted -->n<!-- raw HTML omitted --></p>
|
||||
<p>Press <!-- raw HTML omitted --><!-- raw HTML omitted -->CTRL<!-- raw HTML omitted -->+<!-- raw HTML omitted -->ALT<!-- raw HTML omitted -->+<!-- raw HTML omitted -->Delete<!-- raw HTML omitted --><!-- raw HTML omitted --> to end the session.</p>
|
||||
<p>Most <!-- raw HTML omitted -->salamanders<!-- raw HTML omitted --> are nocturnal, and hunt for insects, worms, and other small creatures.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>The above quote is excerpted from Rob Pike&rsquo;s <a href="https://www.youtube.com/watch?v=PAAkCSZUG1c">talk</a> during Gopherfest, November 18, 2015.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Placeholder Text</title>
|
||||
<link>/posts/placeholder-text/</link>
|
||||
<pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/placeholder-text/</guid>
|
||||
<description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
|
||||
<p>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.</p>
|
||||
<ol>
|
||||
<li>Exierant elisi ambit vivere dedere</li>
|
||||
<li>Duce pollice</li>
|
||||
<li>Eris modo</li>
|
||||
<li>Spargitque ferrea quos palude</li>
|
||||
</ol>
|
||||
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
|
||||
<ol>
|
||||
<li>Comas hunc haec pietate fetum procerum dixit</li>
|
||||
<li>Post torum vates letum Tiresia</li>
|
||||
<li>Flumen querellas</li>
|
||||
<li>Arcanaque montibus omnes</li>
|
||||
<li>Quidem et</li>
|
||||
</ol>
|
||||
<h1 id="vagus-elidunt">Vagus elidunt <a href="#vagus-elidunt" class="anchor">🔗</a></h1><p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
|
||||
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
|
||||
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat <a href="#mane-refeci-capiebant-unda-mulcebat" class="anchor">🔗</a></h2><p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
|
||||
<p>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.</p>
|
||||
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
250
tags/text/index.html
Normal file
250
tags/text/index.html
Normal file
|
@ -0,0 +1,250 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>text | Flat theme</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" href="/tags/text/index.xml" title="Flat theme" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/lib/icofont/icofont.min.css" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header-wrapper">
|
||||
<div class="header">
|
||||
<a class="site-title" href="">Flat theme</a>
|
||||
|
||||
<ul class="menu">
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/posts/">Posts</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/essays/">Essays</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a>Services↓</a>
|
||||
<ul class="sub-menu">
|
||||
|
||||
<li class="menu-item"><a href="#">Service A</a></li>
|
||||
|
||||
<li class="menu-item"><a href="#">Service B</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
|
||||
<a href="/about/">About</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main-wrapper">
|
||||
<div class="main">
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<section id="archive">
|
||||
|
||||
<div class="group">
|
||||
<h3 class="key">
|
||||
2019
|
||||
</h3>
|
||||
|
||||
|
||||
<div class="value">
|
||||
<time class="date" datetime="2019-03-09 00:00:00 +0000 UTC">03/09</time>
|
||||
|
||||
<div class="title">
|
||||
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
|
||||
|
||||
|
||||
<a class="tags" href="/tags/markdown">markdown</a>
|
||||
|
||||
<a class="tags" href="/tags/text">text</a>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="side">
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Posts</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/posts/markdown-syntax/">Markdown Syntax Guide</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/placeholder-text/">Placeholder Text</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/math-typesetting/">Math Typesetting</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/posts/emoji-support/">Emoji Support</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-recent">
|
||||
<h2 class="side-title">Recent Essays</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/essays/what-is-hugo/">What Is Hugo</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="side-categories">
|
||||
<h2>Categories</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/syntax">syntax(1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/themes">themes(1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="side-tags">
|
||||
<h2>Tags</h2>
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/tags/css">css (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/emoji">emoji (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/html">html (1)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/markdown">markdown (2)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/tags/text">text (1)</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/posts/index.xml">
|
||||
Feed of Posts
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/essays/index.xml">
|
||||
Feed of Essays
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="footer-item" href="/tags/text/index.xml">
|
||||
Feed of "text"
|
||||
<i class="icofont-rss"></i>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Copyright <a href="https://creativecommons.org/licenses/by/4.0/">CC BY-4.0</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-row">
|
||||
|
||||
|
||||
<span class="footer-item">Powered by <a href="https://gohugo.io">Hugo</a></span>
|
||||
|
||||
|
||||
|
||||
<span class="footer-item">Theme <a href="https://cgit.leafee98.com/hugo-theme-flat.git">hugo-theme-flat</a></span>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
39
tags/text/index.xml
Normal file
39
tags/text/index.xml
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>text on Flat theme</title>
|
||||
<link>/tags/text/</link>
|
||||
<description>Recent content in text on Flat theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Sat, 09 Mar 2019 00:00:00 +0000</lastBuildDate><atom:link href="/tags/text/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Placeholder Text</title>
|
||||
<link>/posts/placeholder-text/</link>
|
||||
<pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/posts/placeholder-text/</guid>
|
||||
<description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p>
|
||||
<p>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.</p>
|
||||
<ol>
|
||||
<li>Exierant elisi ambit vivere dedere</li>
|
||||
<li>Duce pollice</li>
|
||||
<li>Eris modo</li>
|
||||
<li>Spargitque ferrea quos palude</li>
|
||||
</ol>
|
||||
<p>Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.</p>
|
||||
<ol>
|
||||
<li>Comas hunc haec pietate fetum procerum dixit</li>
|
||||
<li>Post torum vates letum Tiresia</li>
|
||||
<li>Flumen querellas</li>
|
||||
<li>Arcanaque montibus omnes</li>
|
||||
<li>Quidem et</li>
|
||||
</ol>
|
||||
<h1 id="vagus-elidunt">Vagus elidunt <a href="#vagus-elidunt" class="anchor">🔗</a></h1><p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
|
||||
<p><a href="https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon">The Van de Graaf Canon</a></p>
|
||||
<h2 id="mane-refeci-capiebant-unda-mulcebat">Mane refeci capiebant unda mulcebat <a href="#mane-refeci-capiebant-unda-mulcebat" class="anchor">🔗</a></h2><p>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. <strong>Faces illo pepulere</strong> tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.</p>
|
||||
<p>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.</p>
|
||||
<p>Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel <strong>mitis temploque</strong> vocatus, inque alis, <em>oculos nomen</em> 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 <strong>parte</strong>.</p></description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
Loading…
Reference in a new issue