This commit is contained in:
foo-dogsquared 2022-05-13 10:38:28 +00:00
parent ed8f53845b
commit d3eb8718f1
133 changed files with 3082 additions and 2541 deletions

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>404 Page not found</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -13,14 +14,10 @@
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/404.html" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/404.html" />
<meta itemprop="name" content="404 Page not found">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/404.html" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<h2>404</h2>
@ -60,6 +52,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>About</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="This is Contentful, a Hugo theme that focuses on your content. It aims to be simply beautiful with the sane defaults and tries to go out of your way when creating your content.
@ -14,16 +15,18 @@
<meta property="og:description" content="This is Contentful, a Hugo theme that focuses on your content. It aims to be simply beautiful with the sane defaults and tries to go out of your way when creating your content.
Contentful understands that not all use cases can be applied for everyone which is why it was built from the ground up to be easily extensible. It is really just a few HTML files and a single CSS stylesheet with a few web feed templates, ready to be modified for your specific needs." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/about/" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/about/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/about/" /><meta property="article:section" content="" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="About">
<meta itemprop="description" content="This is Contentful, a Hugo theme that focuses on your content. It aims to be simply beautiful with the sane defaults and tries to go out of your way when creating your content.
Contentful understands that not all use cases can be applied for everyone which is why it was built from the ground up to be easily extensible. It is really just a few HTML files and a single CSS stylesheet with a few web feed templates, ready to be modified for your specific needs.">
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="190">
<meta itemprop="keywords" content="" /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/about/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -34,11 +37,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -46,15 +44,15 @@
<header>
<h1>About</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
<p data-content-translations="[&#34;Tagalog&#34;]">Translations: <a href=https://foo-dogsquared.github.io/hugo-theme-contentful/tl/about/>Tagalog</a></p>
@ -63,14 +61,6 @@
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -134,6 +124,6 @@ Oh, the creative side of making content and themes!</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Archives</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -11,16 +12,17 @@
<meta property="og:title" content="Archives" />
<meta property="og:description" content="" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/archives/" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/archives/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/archives/" /><meta property="article:section" content="" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Archives">
<meta itemprop="description" content="">
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="0">
<meta itemprop="keywords" content="" /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/archives/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +33,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -43,15 +40,15 @@
<header>
<h1>Archives</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
<p data-content-translations="[&#34;Tagalog&#34;]">Translations: <a href=https://foo-dogsquared.github.io/hugo-theme-contentful/tl/archives/>Tagalog</a></p>
@ -60,14 +57,6 @@
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
@ -94,6 +83,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Asciidoctor Article Template</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Content entered directly below the header but before the first section heading is called the preamble.
@ -26,17 +27,22 @@
nested list item
nested nested list item 1" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-25T21:06:56+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Asciidoctor Article Template">
<meta itemprop="description" content="Content entered directly below the header but before the first section heading is called the preamble.
First level heading This is a paragraph with a bold word and an italicized word.
Figure 1. Image caption This is another paragraph.[1]
Second level heading Unordered list title list item 1
nested list item
nested nested list item 1"><meta itemprop="datePublished" content="2019-08-25T21:06:56+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="294">
<meta itemprop="keywords" content="asciidoctor,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -47,11 +53,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -59,39 +60,21 @@
<header>
<h1>Asciidoctor Article Template</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-25 21:06:56 &#43;0800 &#43;0800">Created: <time datetime="2019-08-25">2019-08-25</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents">
<ul>
<li><a href="#_first_level_heading">First level heading</a>
<ul>
<li><a href="#_second_level_heading">Second level heading</a></li>
</ul>
</li>
<li><a href="#_first_level_heading_2">First level heading</a></li>
<li><a href="#_first_level_heading_3">First level heading</a></li>
</ul>
</nav>
<main>
@ -323,6 +306,6 @@ This is an attribute reference <a href="https://asciidoctor.org/docs/asciidoc-sy
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Asciidoctor Extended Syntax Guide</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="The purpose of this article to make sure not-so-common features of Asciidoctor (i.e. admonition blocks, callouts) are styled and fit to the theme. It also serves as a quick introduction to more Asciidoctor as well. Feel free to steal this if you want a template for this.
@ -14,17 +15,18 @@
<meta property="og:description" content="The purpose of this article to make sure not-so-common features of Asciidoctor (i.e. admonition blocks, callouts) are styled and fit to the theme. It also serves as a quick introduction to more Asciidoctor as well. Feel free to steal this if you want a template for this.
Admonition blocks Admonition blocks contain content that are not a part of the main content but youll want to draw attention to the audience anyways." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-29T22:09:16+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Asciidoctor Extended Syntax Guide">
<meta itemprop="description" content="The purpose of this article to make sure not-so-common features of Asciidoctor (i.e. admonition blocks, callouts) are styled and fit to the theme. It also serves as a quick introduction to more Asciidoctor as well. Feel free to steal this if you want a template for this.
Admonition blocks Admonition blocks contain content that are not a part of the main content but youll want to draw attention to the audience anyways."><meta itemprop="datePublished" content="2019-08-29T22:09:16+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="694">
<meta itemprop="keywords" content="asciidoctor,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -35,11 +37,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -47,35 +44,21 @@
<header>
<h1>Asciidoctor Extended Syntax Guide</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-29 22:09:16 &#43;0800 &#43;0800">Created: <time datetime="2019-08-29">2019-08-29</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents">
<ul>
<li><a href="#_admonition_blocks">Admonition blocks</a></li>
<li><a href="#_callouts">Callouts</a></li>
<li><a href="#_passthroughs">Passthroughs</a></li>
</ul>
</nav>
<main>
@ -374,6 +357,6 @@ let example_sketch = new p5(sketchuuuuu, &#34;example-sketch&#34;)
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Asciidoctor Syntax Guide</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo.
@ -17,17 +18,19 @@
Headings Lets start with all possible headings. The HTML &lt;h1&gt;&lt;h6&gt; elements represent six levels of section headings. &lt;h1&gt; is the highest section level and &lt;h6&gt; is the lowest.
Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 Paragraph According to the HTML5 specification by W3C, HTML documents consist of a tree of elements and text." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-27T01:03:09+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Asciidoctor Syntax Guide">
<meta itemprop="description" content="The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo.
Headings Lets start with all possible headings. The HTML &lt;h1&gt;&lt;h6&gt; elements represent six levels of section headings. &lt;h1&gt; is the highest section level and &lt;h6&gt; is the lowest.
Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 Paragraph According to the HTML5 specification by W3C, HTML documents consist of a tree of elements and text."><meta itemprop="datePublished" content="2019-08-27T01:03:09+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="543">
<meta itemprop="keywords" content="asciidoctor,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -38,11 +41,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -50,51 +48,21 @@
<header>
<h1>Asciidoctor Syntax Guide</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-27 01:03:09 &#43;0800 &#43;0800">Created: <time datetime="2019-08-27">2019-08-27</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents">
<ul>
<li><a href="#_headings">Headings</a></li>
<li><a href="#_heading_2">Heading 2</a>
<ul>
<li><a href="#_heading_3">Heading 3</a></li>
</ul>
</li>
<li><a href="#_paragraph">Paragraph</a></li>
<li><a href="#_list_types">List Types</a>
<ul>
<li><a href="#_ordered_list">Ordered List</a></li>
<li><a href="#_unordered_list">Unordered List</a></li>
<li><a href="#_nested_list">Nested list</a></li>
<li><a href="#_definition_list">Definition List</a></li>
</ul>
</li>
<li><a href="#_blockquotes">Blockquotes</a></li>
<li><a href="#_tables">Tables</a></li>
<li><a href="#_code">Code</a></li>
<li><a href="#_other_stuff_sub_sup_kbd_etc">Other stuff — sub, sup, kbd, etc.</a></li>
</ul>
</nav>
<main>
@ -417,16 +385,16 @@ syntax highlighting.
You can use the built-in Hugo shortcode instead.</p>
</div>
<div class="paragraph">
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-html" data-lang="html"><span style="color:#75715e">&lt;!DOCTYPE html&gt;</span>
&lt;<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;en&#34;</span>&gt;
&lt;<span style="color:#f92672">head</span>&gt;
&lt;<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;UTF-8&#34;</span>&gt;
&lt;<span style="color:#f92672">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#f92672">title</span>&gt;
&lt;/<span style="color:#f92672">head</span>&gt;
&lt;<span style="color:#f92672">body</span>&gt;
&lt;<span style="color:#f92672">p</span>&gt;Test&lt;/<span style="color:#f92672">p</span>&gt;
&lt;/<span style="color:#f92672">body</span>&gt;
&lt;/<span style="color:#f92672">html</span>&gt;</code></pre></div>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span><span style="color:#75715e">&lt;!DOCTYPE html&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;en&#34;</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">head</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;UTF-8&#34;</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#f92672">title</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">head</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">body</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">p</span>&gt;Test&lt;/<span style="color:#f92672">p</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">body</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">html</span>&gt;</span></span></code></pre></div>
</div>
</div>
</div>
@ -481,6 +449,6 @@ You can use the built-in Hugo shortcode instead.</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Emoji Support</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Emoji can be enabled in a Hugo project in a number of ways." /><meta name="twitter:card" content="summary"/>
@ -11,17 +12,17 @@
<meta property="og:title" content="Emoji Support" />
<meta property="og:description" content="Emoji can be enabled in a Hugo project in a number of ways." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-28T12:11:22+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Emoji Support">
<meta itemprop="description" content="Emoji can be enabled in a Hugo project in a number of ways."><meta itemprop="datePublished" content="2019-08-28T12:11:22+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="124">
<meta itemprop="keywords" content="emoji,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -32,11 +33,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -44,29 +40,21 @@
<header>
<h1>Emoji Support</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-28 12:11:22 &#43;0800 &#43;0800">Created: <time datetime="2019-08-28">2019-08-28</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<p>Emoji can be enabled in a Hugo project in a number of ways.</p>
@ -76,9 +64,9 @@
<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 style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-html" data-lang="html">.emoji {
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
}</code></pre></div>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span>.emoji {
</span></span><span style="display:flex;"><span>font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
</span></span><span style="display:flex;"><span>}</span></span></code></pre></div>
</main>
</article>
@ -102,6 +90,6 @@ font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,And
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -0,0 +1,328 @@
<!DOCTYPE html>
<html lang="en-us"><title>Extending Contentful</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Extending a Hugo theme is nothing new and a few places provide a place for the most common extensions. In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme. Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.
Customizing your &lt;head&gt; Lets start with the most basic and perhaps most useful customization: modifying the &lt;head&gt;." /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Extending Contentful"/>
<meta name="twitter:description" content="Extending a Hugo theme is nothing new and a few places provide a place for the most common extensions. In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme. Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.
Customizing your &lt;head&gt; Lets start with the most basic and perhaps most useful customization: modifying the &lt;head&gt;."/>
<meta property="og:title" content="Extending Contentful" />
<meta property="og:description" content="Extending a Hugo theme is nothing new and a few places provide a place for the most common extensions. In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme. Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.
Customizing your &lt;head&gt; Lets start with the most basic and perhaps most useful customization: modifying the &lt;head&gt;." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2020-05-12T17:25:55+08:00" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Extending Contentful">
<meta itemprop="description" content="Extending a Hugo theme is nothing new and a few places provide a place for the most common extensions. In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme. Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.
Customizing your &lt;head&gt; Lets start with the most basic and perhaps most useful customization: modifying the &lt;head&gt;."><meta itemprop="datePublished" content="2020-05-12T17:25:55+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="1055">
<meta itemprop="keywords" content="theme,extending," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" />
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
|
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/about/">About</a> |
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/">Categories</a> |
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/">Recipes</a> |
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
</nav>
<article>
<header>
<h1>Extending Contentful</h1>
</header>
<div class="post__meta--single">
<p data-content-publication-date="2020-05-12 17:25:55 &#43;0800 &#43;0800">Created: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<main>
<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p>Extending a Hugo theme is nothing new and a <a href="https://gohugo.io/content-management/sections/">few</a> <a href="http://hugocodex.org/add-ons/">places</a> provide a place for the most common extensions.
In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme.
Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_customizing_your_head">Customizing your <code>&lt;head&gt;</code></h2>
<div class="sectionbody">
<div class="paragraph">
<p>Lets start with the most basic and perhaps most useful customization: modifying the <code>&lt;head</code>&gt;.
This is useful for adding your own CSS and JavaScript files, changing certain metadata, or adding icons.</p>
</div>
<div class="paragraph">
<p>First, copy the <code>head</code> partial from the theme (<code>theme/contentful/layouts/partials/head.html</code>) to your own (<code>layouts/partials/head.html</code>).
Were simply taking advantage of <a href="https://gohugo.io/templates/lookup-order/">Hugos lookup order</a> where weve override the <code>head</code> partial with our own copy.</p>
</div>
<div class="paragraph">
<p>Then, feel free to add your own (or others&#39;) scripts and stylesheets, <a href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML">icons and other metadata</a>, or whatever suitable things.</p>
</div>
<div class="paragraph">
<p>In my case, I often use certain JavaScript libraries like <a href="https://www.mathjax.org/">MathJax</a> for mathematical typesetting, <a href="https://prismjs.com/">Prism</a> for syntax highlighting, and <a href="https://github.com/francoischalifour/medium-zoom/">medium-zoom</a> for interactive image zooms.</p>
</div>
<div class="paragraph">
<p>Heres the modified code.
(The example code is snipped for brevity.)</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-go" data-lang="go">&lt;!--snip--&gt;
{{- /* MathJax */ -}}
&lt;script src=&#34;https://polyfill.io/v3/polyfill.min.js?features=es6&#34;&gt;&lt;/script&gt;
&lt;script id=&#34;MathJax-script&#34; defer src=&#34;https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js&#34;&gt;&lt;/script&gt;
{{- /* Prism.js */ -}}
&lt;link rel=&#34;stylesheet&#34; href=&#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/themes/prism-tomorrow.min.css&#34; type=&#34;text/css&#34;&gt;
&lt;script defer src=&#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/components/prism-core.min.js&#34;&gt;&lt;/script&gt;
&lt;script defer src=&#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/autoloader/prism-autoloader.min.js&#34;&gt;
&lt;script defer src=&#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/keep-markup/prism-keep-markup.min.js&#34;&gt;
{{- /* medium-zoom */ -}}
&lt;script defer src=&#34;https://cdn.jsdelivr.net/npm/medium-zoom@1.0.5/dist/medium-zoom.min.js&#34;&gt;&lt;/script&gt;
&lt;script&gt;window.addEventListener(&#39;load&#39;, () =&gt; mediumZoom(&#39;article img&#39;, { &#39;background&#39;: &#39;rgba(0, 0, 0, 0.75)&#39; }))&lt;/script&gt;</code></pre>
</div>
</div>
<div class="paragraph">
<p>Since most of the JavaScript libraries used here are not really a requirement (except for MathJax for mathematical typesetting), Ive set them to be loaded at the end of the page loading with <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script"><code>defer</code> attribute</a>.
If you have an inline script, you can simply wrap it in an event listener for page loading (<code>window.addEventListener(&#34;load&#34;, your_function_goes_here)</code>).</p>
</div>
<div class="paragraph">
<p>If you want document-specific libraries, you have to pass some raw HTML through the parser of the document.
For Goldmark, the default Markdown parser starting <a href="https://gohugo.io/news/0.60.0-relnotes/">Hugo v0.60.0</a>, blocks raw HTML by default and you can disable it by setting <code>markup.goldmark.renderer.unsafe</code> to <code>true</code>.</p>
</div>
<div class="paragraph">
<p>For Blackfriday, it parses even the raw HTML just fine.
Though, you have to set it as the default Markdown parser.</p>
</div>
<div class="paragraph">
<p>For <a href="https://asciidoctor.org/">Asciidoctor</a>, you can use <a href="https://asciidoctor.org/docs/user-manual/#passthroughs">passthroughs</a> to get raw HTML through.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_twitter_cards">Twitter cards</h2>
<div class="sectionbody">
<div class="paragraph">
<p>This will add <a href="https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started">Twitter cards</a> for your webpages.
(Be sure to copy the <code>head</code> partial first in your own layout folder.)</p>
</div>
<div class="paragraph">
<p>Thankfully, Hugo already has <a href="https://gohugo.io/templates/internal/#twitter-cards">an internal template for Twitter cards</a>.
Simply add <code>{{- template &#34;_internal/twitter_cards.html&#34; . -}}</code> somewhere in your own copy.
(For reference, <a href="https://github.com/gohugoio/hugo/blob/25a6b33693992e8c6d9c35bc1e781ce3e2bca4be/tpl/tplimpl/embedded/templates/twitter_cards.html">heres the source code for the internal template</a>.)</p>
</div>
<div class="paragraph">
<p>You could also roll your own Twitter cards but I recommend to modify the internal template instead fitting your specific needs.
(Copy the internal template from the given link, create it as a partial in <code>layouts/partials/twitter_cards.html</code>, modify it, and insert the template with <code>{{- partial &#34;twitter_cards.html&#34; -}}</code>.)</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_open_graph_protocol">Open Graph protocol</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Next up, were implementing <a href="https://opengraphprotocol.org/">Open Graph protocol</a> for our webpages.
Commonly used for making suitable format when sharing the content on certain sites like Facebook.
(Be sure to copy the <code>head</code> partial first in your own layout folder.)</p>
</div>
<div class="paragraph">
<p>Similar to Twitter cards, Hugo has <a href="https://gohugo.io/templates/internal/#open-graph">an internal template for this</a>.
Simply add <code>{{- template &#34;_internal/opengraph.html&#34; . -}}</code> somewhere in your own copy.
(For reference, <a href="https://github.com/gohugoio/hugo/blob/25a6b33693992e8c6d9c35bc1e781ce3e2bca4be/tpl/tplimpl/embedded/templates/opengraph.html">heres the source code for the internal template</a>.)</p>
</div>
<div class="paragraph">
<p>If you want more control and customized version of the output, I recommend to copy the internal template and create a partial (e.g., <code>layouts/partials/opengraph.html</code>) and modify it.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_an_archive_page">An archive page</h2>
<div class="sectionbody">
<div class="paragraph">
<p>This will add an archive page similar to archive pages <a href="https://davidtranscend.com/archives/">like</a> <a href="https://lukesmith.xyz/blogindex.html">these</a>.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-go" data-lang="go">{{- define &#34;main&#34; -}}
&lt;h1&gt;{{ .Title }}&lt;/h1&gt;
{{ .Content }}
&lt;hr&gt;
{{- /* Creating a section that lists out regular pages by year */ -}}
{{ range $.Site.RegularPages.GroupByPublishDate &#34;2006&#34; }}
{{- /* Skip regular pages with an invalid creation date string. */ -}}
{{- /* This is convenient if we want to exclude certain posts to be listed by giving no value to `date` in the frontmatter. */ -}}
{{- /* We will also exclude hidden pages. */ -}}
{{ if ne .Key &#34;0001&#34; }}
&lt;section data-year=&#34;{{ .Key }}&#34;&gt;
&lt;h2 id=&#34;{{ .Key }}&#34;&gt;{{ .Key }}&lt;/h2&gt;
&lt;ul&gt;
{{- range where .Pages &#34;Params.hidden&#34; &#34;!=&#34; true -}}
&lt;li&gt;
&lt;date&gt;{{ .Date.Format &#34;2006-01-02&#34; }}&lt;/date&gt; -
&lt;a aria-label=&#34;{{ .Title }}&#34; href=&#34;{{ .Permalink }}&#34;&gt;{{ .Title }}&lt;/a&gt;
&lt;/li&gt;
{{- end -}}
&lt;/ul&gt;
&lt;/section&gt;
{{- end }}
{{ end }}
{{- end -}}</code></pre>
</div>
</div>
<div class="paragraph">
<p>We will simply add this as a layout in our customized theme.
Lets call it <code>archives</code> so we have to add a file in <code>layouts/_default/archives.html</code> then set a page of our project with the <code>layout</code> key in the frontmatter.</p>
</div>
<div class="paragraph">
<p>We want the archives page to be accessed at <code>$.Site.BaseURL/archives</code> so well simply create <code>archives.adoc</code> (<a href="https://gohugo.io/content-management/formats/#list-of-content-formats">any valid content files with certain file extensions can do</a>, Im using <a href="https://asciidoctor.org/">Asciidoctor</a>) with the following example content.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-asciidoctor" data-lang="asciidoctor">---
title: &#34;Archives&#34;
layout: &#34;archive&#34;
---
= Archives
This is the archives of the century.</code></pre>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_configurable_social_media_links">Configurable social media links</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Most themes offer quick social media links with site configuration.
However, it is only limited to popular media sites such as Facebook, Twitter, Instagram, GitHub, etc.</p>
</div>
<div class="paragraph">
<p>To get around this, well make use of <a href="https://gohugo.io/templates/data-templates/">data templates</a>.
Lets create a quick game plan how does it work.</p>
</div>
<div class="paragraph">
<p>The data is a top-level dictionary/object with each key contains an object with the following fields.</p>
</div>
<div class="ulist">
<ul>
<li>
<p><code>url</code> is the… contact link itself and it is required to have it.</p>
</li>
<li>
<p><code>name</code> is the text to appear in the output.
Also required to have.</p>
</li>
<li>
<p><code>weight</code> is an integer similar to how Hugo sorts the pages with the lower weight having high precedence;
if this key is absent, it will be interpreted as 0.</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>And heres the data example in TOML which is placed in <code>data/contact.toml</code>.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-toml" data-lang="toml">[github]
name = &#34;GitHub&#34;
url = &#34;https://github.com/foo-dogsquared&#34;
[gitlab]
name = &#34;Gitlab&#34;
url = &#34;https://gitlab.com/foo-dogsquared&#34;
[keybase]
name = &#34;Keybase&#34;
url = &#34;https://keybase.io/foo_dogsquared&#34;
weight = -1
[twitter]
name = &#34;Twitter&#34;
url = &#34;https://twitter.com/foo_dogsquared&#34;</code></pre>
</div>
</div>
<div class="paragraph">
<p>I want my Keybase profile to appear first than anything else for whatever reason so the <code>weight</code> key is set to -1.</p>
</div>
<div class="paragraph">
<p>With this data, we can then create a template out of it.
Ive put the following template in a partial named <code>contacts</code> (i.e., <code>layouts/partials/contacts</code>).</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-go" data-lang="go">&lt;address&gt;
{{- range (sort $.Site.Data.contact &#34;weight&#34; &#34;asc&#34;) -}}
| &lt;a rel=&#34;me&#34; href=&#34;{{ .url }}&#34;&gt;{{- .name -}}&lt;/a&gt; |
{{- end -}}
&lt;/address&gt;</code></pre>
</div>
</div>
<div class="paragraph">
<p>A suggestion (and an exercise) for extending this is to create image links.
Maybe add another key named <code>image</code> that accepts either URL.
The <code>name</code> would now be the image alternative text.</p>
</div>
</div>
</div>
</main>
</article>
<hr>
<footer>
<p><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Back to home</a></p>
</footer>
<p>Available in other languages:
<span class="site__languages">|
<a href="/hugo-theme-contentful/en">English</a> |
<a href="/hugo-theme-contentful/tl">Tagalog</a> |
</span>
</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -2,14 +2,258 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Articles on Contentful</title>
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.rss"/><rights>© 2021 </rights>
<generator uri="https://gohugo.io/" version="0.76.0">Hugo</generator>
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.rss"/><rights>© 2022 </rights>
<generator uri="https://gohugo.io/" version="0.98.0">Hugo</generator>
<updated>2020-05-12T21:29:52+08:00</updated>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/</id><icon>https://foo-dogsquared.github.io/hugo-theme-contentful/icon.png</icon>
<author>
<name>John Doe</name>
<email>johndoe@example.com</email>
</author><entry>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</id>
<title type="text">Extending Contentful</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" hreflang="en" title="Extending Contentful"/><category term="theme"/><category term="extending"/>
<published>2020-05-12T17:25:55+08:00</published>
<updated>2022-05-13T18:08:06+08:00</updated><content type="html">
&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Extending a Hugo theme is nothing new and a &lt;a href=&#34;https://gohugo.io/content-management/sections/&#34;&gt;few&lt;/a&gt; &lt;a href=&#34;http://hugocodex.org/add-ons/&#34;&gt;places&lt;/a&gt; provide a place for the most common extensions.
In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme.
Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_customizing_your_head&#34;&gt;Customizing your &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Lets start with the most basic and perhaps most useful customization: modifying the &lt;code&gt;&amp;lt;head&lt;/code&gt;&amp;gt;.
This is useful for adding your own CSS and JavaScript files, changing certain metadata, or adding icons.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;First, copy the &lt;code&gt;head&lt;/code&gt; partial from the theme (&lt;code&gt;theme/contentful/layouts/partials/head.html&lt;/code&gt;) to your own (&lt;code&gt;layouts/partials/head.html&lt;/code&gt;).
Were simply taking advantage of &lt;a href=&#34;https://gohugo.io/templates/lookup-order/&#34;&gt;Hugos lookup order&lt;/a&gt; where weve override the &lt;code&gt;head&lt;/code&gt; partial with our own copy.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Then, feel free to add your own (or others&amp;#39;) scripts and stylesheets, &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML&#34;&gt;icons and other metadata&lt;/a&gt;, or whatever suitable things.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In my case, I often use certain JavaScript libraries like &lt;a href=&#34;https://www.mathjax.org/&#34;&gt;MathJax&lt;/a&gt; for mathematical typesetting, &lt;a href=&#34;https://prismjs.com/&#34;&gt;Prism&lt;/a&gt; for syntax highlighting, and &lt;a href=&#34;https://github.com/francoischalifour/medium-zoom/&#34;&gt;medium-zoom&lt;/a&gt; for interactive image zooms.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Heres the modified code.
(The example code is snipped for brevity.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;&amp;lt;!--snip--&amp;gt;
{{- /* MathJax */ -}}
&amp;lt;script src=&amp;#34;https://polyfill.io/v3/polyfill.min.js?features=es6&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script id=&amp;#34;MathJax-script&amp;#34; defer src=&amp;#34;https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
{{- /* Prism.js */ -}}
&amp;lt;link rel=&amp;#34;stylesheet&amp;#34; href=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/themes/prism-tomorrow.min.css&amp;#34; type=&amp;#34;text/css&amp;#34;&amp;gt;
&amp;lt;script defer src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/components/prism-core.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script defer src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/autoloader/prism-autoloader.min.js&amp;#34;&amp;gt;
&amp;lt;script defer src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/keep-markup/prism-keep-markup.min.js&amp;#34;&amp;gt;
{{- /* medium-zoom */ -}}
&amp;lt;script defer src=&amp;#34;https://cdn.jsdelivr.net/npm/medium-zoom@1.0.5/dist/medium-zoom.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;window.addEventListener(&amp;#39;load&amp;#39;, () =&amp;gt; mediumZoom(&amp;#39;article img&amp;#39;, { &amp;#39;background&amp;#39;: &amp;#39;rgba(0, 0, 0, 0.75)&amp;#39; }))&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Since most of the JavaScript libraries used here are not really a requirement (except for MathJax for mathematical typesetting), Ive set them to be loaded at the end of the page loading with &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script&#34;&gt;&lt;code&gt;defer&lt;/code&gt; attribute&lt;/a&gt;.
If you have an inline script, you can simply wrap it in an event listener for page loading (&lt;code&gt;window.addEventListener(&amp;#34;load&amp;#34;, your_function_goes_here)&lt;/code&gt;).&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If you want document-specific libraries, you have to pass some raw HTML through the parser of the document.
For Goldmark, the default Markdown parser starting &lt;a href=&#34;https://gohugo.io/news/0.60.0-relnotes/&#34;&gt;Hugo v0.60.0&lt;/a&gt;, blocks raw HTML by default and you can disable it by setting &lt;code&gt;markup.goldmark.renderer.unsafe&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;For Blackfriday, it parses even the raw HTML just fine.
Though, you have to set it as the default Markdown parser.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;For &lt;a href=&#34;https://asciidoctor.org/&#34;&gt;Asciidoctor&lt;/a&gt;, you can use &lt;a href=&#34;https://asciidoctor.org/docs/user-manual/#passthroughs&#34;&gt;passthroughs&lt;/a&gt; to get raw HTML through.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_twitter_cards&#34;&gt;Twitter cards&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This will add &lt;a href=&#34;https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started&#34;&gt;Twitter cards&lt;/a&gt; for your webpages.
(Be sure to copy the &lt;code&gt;head&lt;/code&gt; partial first in your own layout folder.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Thankfully, Hugo already has &lt;a href=&#34;https://gohugo.io/templates/internal/#twitter-cards&#34;&gt;an internal template for Twitter cards&lt;/a&gt;.
Simply add &lt;code&gt;{{- template &amp;#34;_internal/twitter_cards.html&amp;#34; . -}}&lt;/code&gt; somewhere in your own copy.
(For reference, &lt;a href=&#34;https://github.com/gohugoio/hugo/blob/25a6b33693992e8c6d9c35bc1e781ce3e2bca4be/tpl/tplimpl/embedded/templates/twitter_cards.html&#34;&gt;heres the source code for the internal template&lt;/a&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;You could also roll your own Twitter cards but I recommend to modify the internal template instead fitting your specific needs.
(Copy the internal template from the given link, create it as a partial in &lt;code&gt;layouts/partials/twitter_cards.html&lt;/code&gt;, modify it, and insert the template with &lt;code&gt;{{- partial &amp;#34;twitter_cards.html&amp;#34; -}}&lt;/code&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_open_graph_protocol&#34;&gt;Open Graph protocol&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Next up, were implementing &lt;a href=&#34;https://opengraphprotocol.org/&#34;&gt;Open Graph protocol&lt;/a&gt; for our webpages.
Commonly used for making suitable format when sharing the content on certain sites like Facebook.
(Be sure to copy the &lt;code&gt;head&lt;/code&gt; partial first in your own layout folder.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Similar to Twitter cards, Hugo has &lt;a href=&#34;https://gohugo.io/templates/internal/#open-graph&#34;&gt;an internal template for this&lt;/a&gt;.
Simply add &lt;code&gt;{{- template &amp;#34;_internal/opengraph.html&amp;#34; . -}}&lt;/code&gt; somewhere in your own copy.
(For reference, &lt;a href=&#34;https://github.com/gohugoio/hugo/blob/25a6b33693992e8c6d9c35bc1e781ce3e2bca4be/tpl/tplimpl/embedded/templates/opengraph.html&#34;&gt;heres the source code for the internal template&lt;/a&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If you want more control and customized version of the output, I recommend to copy the internal template and create a partial (e.g., &lt;code&gt;layouts/partials/opengraph.html&lt;/code&gt;) and modify it.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_an_archive_page&#34;&gt;An archive page&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This will add an archive page similar to archive pages &lt;a href=&#34;https://davidtranscend.com/archives/&#34;&gt;like&lt;/a&gt; &lt;a href=&#34;https://lukesmith.xyz/blogindex.html&#34;&gt;these&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;{{- define &amp;#34;main&amp;#34; -}}
&amp;lt;h1&amp;gt;{{ .Title }}&amp;lt;/h1&amp;gt;
{{ .Content }}
&amp;lt;hr&amp;gt;
{{- /* Creating a section that lists out regular pages by year */ -}}
{{ range $.Site.RegularPages.GroupByPublishDate &amp;#34;2006&amp;#34; }}
{{- /* Skip regular pages with an invalid creation date string. */ -}}
{{- /* This is convenient if we want to exclude certain posts to be listed by giving no value to `date` in the frontmatter. */ -}}
{{- /* We will also exclude hidden pages. */ -}}
{{ if ne .Key &amp;#34;0001&amp;#34; }}
&amp;lt;section data-year=&amp;#34;{{ .Key }}&amp;#34;&amp;gt;
&amp;lt;h2 id=&amp;#34;{{ .Key }}&amp;#34;&amp;gt;{{ .Key }}&amp;lt;/h2&amp;gt;
&amp;lt;ul&amp;gt;
{{- range where .Pages &amp;#34;Params.hidden&amp;#34; &amp;#34;!=&amp;#34; true -}}
&amp;lt;li&amp;gt;
&amp;lt;date&amp;gt;{{ .Date.Format &amp;#34;2006-01-02&amp;#34; }}&amp;lt;/date&amp;gt; -
&amp;lt;a aria-label=&amp;#34;{{ .Title }}&amp;#34; href=&amp;#34;{{ .Permalink }}&amp;#34;&amp;gt;{{ .Title }}&amp;lt;/a&amp;gt;
&amp;lt;/li&amp;gt;
{{- end -}}
&amp;lt;/ul&amp;gt;
&amp;lt;/section&amp;gt;
{{- end }}
{{ end }}
{{- end -}}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;We will simply add this as a layout in our customized theme.
Lets call it &lt;code&gt;archives&lt;/code&gt; so we have to add a file in &lt;code&gt;layouts/_default/archives.html&lt;/code&gt; then set a page of our project with the &lt;code&gt;layout&lt;/code&gt; key in the frontmatter.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;We want the archives page to be accessed at &lt;code&gt;$.Site.BaseURL/archives&lt;/code&gt; so well simply create &lt;code&gt;archives.adoc&lt;/code&gt; (&lt;a href=&#34;https://gohugo.io/content-management/formats/#list-of-content-formats&#34;&gt;any valid content files with certain file extensions can do&lt;/a&gt;, Im using &lt;a href=&#34;https://asciidoctor.org/&#34;&gt;Asciidoctor&lt;/a&gt;) with the following example content.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoctor&#34; data-lang=&#34;asciidoctor&#34;&gt;---
title: &amp;#34;Archives&amp;#34;
layout: &amp;#34;archive&amp;#34;
---
= Archives
This is the archives of the century.&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_configurable_social_media_links&#34;&gt;Configurable social media links&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Most themes offer quick social media links with site configuration.
However, it is only limited to popular media sites such as Facebook, Twitter, Instagram, GitHub, etc.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;To get around this, well make use of &lt;a href=&#34;https://gohugo.io/templates/data-templates/&#34;&gt;data templates&lt;/a&gt;.
Lets create a quick game plan how does it work.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The data is a top-level dictionary/object with each key contains an object with the following fields.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;url&lt;/code&gt; is the… contact link itself and it is required to have it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;name&lt;/code&gt; is the text to appear in the output.
Also required to have.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;weight&lt;/code&gt; is an integer similar to how Hugo sorts the pages with the lower weight having high precedence;
if this key is absent, it will be interpreted as 0.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;And heres the data example in TOML which is placed in &lt;code&gt;data/contact.toml&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;[github]
name = &amp;#34;GitHub&amp;#34;
url = &amp;#34;https://github.com/foo-dogsquared&amp;#34;
[gitlab]
name = &amp;#34;Gitlab&amp;#34;
url = &amp;#34;https://gitlab.com/foo-dogsquared&amp;#34;
[keybase]
name = &amp;#34;Keybase&amp;#34;
url = &amp;#34;https://keybase.io/foo_dogsquared&amp;#34;
weight = -1
[twitter]
name = &amp;#34;Twitter&amp;#34;
url = &amp;#34;https://twitter.com/foo_dogsquared&amp;#34;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;I want my Keybase profile to appear first than anything else for whatever reason so the &lt;code&gt;weight&lt;/code&gt; key is set to -1.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;With this data, we can then create a template out of it.
Ive put the following template in a partial named &lt;code&gt;contacts&lt;/code&gt; (i.e., &lt;code&gt;layouts/partials/contacts&lt;/code&gt;).&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;&amp;lt;address&amp;gt;
{{- range (sort $.Site.Data.contact &amp;#34;weight&amp;#34; &amp;#34;asc&amp;#34;) -}}
| &amp;lt;a rel=&amp;#34;me&amp;#34; href=&amp;#34;{{ .url }}&amp;#34;&amp;gt;{{- .name -}}&amp;lt;/a&amp;gt; |
{{- end -}}
&amp;lt;/address&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;A suggestion (and an exercise) for extending this is to create image links.
Maybe add another key named &lt;code&gt;image&lt;/code&gt; that accepts either URL.
The &lt;code&gt;name&lt;/code&gt; would now be the image alternative text.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content>
</entry><entry>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</id>
<title type="text">RSS, Atom, and JSON Feed Support</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" hreflang="en" title="RSS, Atom, and JSON Feed Support"/><author>
@ -18,24 +262,51 @@
<name>Jane Doe</name>
</author><category term="this is a test tag"/><category term="tag2"/>
<published>2019-09-04T17:22:44+08:00</published>
<updated>2020-10-24T16:00:52+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Web feeds are one of the most common ways for a visitor to keep up with someone who creates content.
Nowadays, most social media has that feature such as the subscribing YouTube channels, following Twitter accounts, and watching Deviantart artists.
Outside of those, we have simpler things like &lt;a href=&#34;https://www.rssboard.org/rss-2-0-1&#34;&gt;RSS&lt;/a&gt; and &lt;a href=&#34;https://www.jsonfeed.org/&#34;&gt;JSON&lt;/a&gt; feeds where they are just plain text files describing the content.&lt;/p&gt;
<updated>2022-05-13T18:08:06+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors.
It is also suitable for reading content from feed readers.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The Contentful theme doesnt have a web feed export but we can have it with &lt;a href=&#34;https://gohugo.io/hugo-modules/theme-components/&#34;&gt;theme components&lt;/a&gt;.
For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared/hugo-web-feeds&#34;&gt;web feed component&lt;/a&gt; created by &lt;a href=&#34;https://foo-dogsquared.github.io/&#34;&gt;foo-dogsquared&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are the following documents used as references for the creation of the output feed templates.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://tools.ietf.org/html/rfc4287&#34;&gt;Atom 1.0 - IETF RFC4287&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://jsonfeed.org/version/1&#34;&gt;JSON Feed version 1 specifications&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://cyber.harvard.edu/rss/rss.html&#34;&gt;RSS 2.0 specifications&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If youre settling with this option, heres an example template for installing the web feed module and exporting all of the feed formats all in one fell swoop.&lt;/p&gt;
&lt;p&gt;In this demo, it is enabled and you should be able to see them through the following links:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;RSS&lt;/strong&gt;: &lt;code&gt;$HUGO_URL/index.rss&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Atom&lt;/strong&gt;: &lt;code&gt;$HUGO_URL/index.atom&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;JSON&lt;/strong&gt;: &lt;code&gt;$HUGO_URL/index.json&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;For enabling output feeds, utilize the &lt;a href=&#34;https://gohugo.io/templates/output-formats&#34;&gt;output formats&lt;/a&gt; in your site configuration.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If youre settling with this option, heres an example template for enabling all of the feed formats.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;[[module.imports]]
path = &amp;#34;github.com/foo-dogsquared/hugo-web-feeds&amp;#34;
# Visit the following for more information:
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;# Visit the following for more information:
# https://gohugo.io/templates/output-formats
# Defining the media type of the output formats
@ -48,8 +319,6 @@ For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared
[mediaTypes.&amp;#34;application/rss+xml&amp;#34;]
suffixes = [&amp;#34;rss&amp;#34;, &amp;#34;rss.xml&amp;#34;] # You can remove the &amp;#34;rss.xml&amp;#34; if you want
[mediaTypes.&amp;#34;application/feed+json&amp;#34;]
suffixes = [&amp;#34;json&amp;#34;] # You can remove the &amp;#34;rss.xml&amp;#34; if you want
# Including all of the feed output formats in the build
@ -63,7 +332,7 @@ For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared
baseName = &amp;#34;feed&amp;#34;
[outputFormats.Json]
mediaType = &amp;#34;application/feed+json&amp;#34;
mediaType = &amp;#34;application/json&amp;#34;
baseName = &amp;#34;feed&amp;#34;
@ -77,283 +346,5 @@ For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared
section = [&amp;#34;HTML&amp;#34;, &amp;#34;JSON&amp;#34;, &amp;#34;RSS&amp;#34;, &amp;#34;ATOM&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content>
</entry><entry>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</id>
<title type="text">Asciidoctor Extended Syntax Guide</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" hreflang="en" title="Asciidoctor Extended Syntax Guide"/><category term="asciidoctor"/><category term="guide"/>
<published>2019-08-29T22:09:16+08:00</published>
<updated>2020-05-12T16:40:21+08:00</updated><content type="html">
&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The purpose of this article to make sure not-so-common features of
Asciidoctor (i.e. admonition blocks, callouts) are styled and
fit to the theme.
It also serves as a quick introduction to more Asciidoctor as well.
Feel free to steal this if you want a template for this.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_admonition_blocks&#34;&gt;Admonition blocks&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Admonition blocks contain content that are not a part of the main
content but youll want to draw attention to the audience anyways.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;By default, Asciidoctor provides five labels for admonitions:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TIP&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NOTE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;IMPORTANT&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;CAUTION&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WARNING&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;sidebarblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;div class=&#34;title&#34;&gt;&lt;code&gt;CAUTION&lt;/code&gt; vs &lt;code&gt;WARNING&lt;/code&gt;&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;As the &lt;a href=&#34;https://asciidoctor.org/docs/user-manual/#admonition&#34;&gt;user manual&lt;/a&gt;
has said, &lt;code&gt;CAUTION&lt;/code&gt; and &lt;code&gt;WARNING&lt;/code&gt; should be used with different semantics.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;&lt;code&gt;CAUTION&lt;/code&gt; basically advises the user to observe care.
&lt;code&gt;WARNING&lt;/code&gt; warns the user about the dangers or consequences thatll exist.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Writing an admonition is intuitively easy, simply write the label
in all uppercase and append with a colon.
Then write the content after.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoc&#34; data-lang=&#34;asciidoc&#34;&gt;TIP: Lorem ipsum dolor sit amet consectetur adipiscing elit varius cursus
orci nulla, fames nisl sodales scelerisque eu consequat sem imperdiet ac mi
vivamus tempor, accumsan ad justo odio viverra praesent senectus class egestas duis.&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Itll render as this:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock tip&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Tip&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Lorem ipsum dolor sit amet consectetur adipiscing elit varius cursus
orci nulla, fames nisl sodales scelerisque eu consequat sem imperdiet ac mi
vivamus tempor, accumsan ad justo odio viverra praesent senectus class egestas duis.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In case you want to style the labels differently such as assigning
appropriate colors or an icon to the rest of the labels,
heres the rest of them:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock note&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Note&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Malesuada mattis aenean ultrices netus cursus viverra vivamus ultricies,
velit molestie penatibus phasellus in ante luctus, habitant suspendisse eros
turpis taciti risus himenaeos.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock important&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Important&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Velit fringilla feugiat nibh id faucibus scelerisque facilisis ac,
suscipit quisque odio libero ullamcorper curabitur fames nascetur, elementum
tristique hac nisl etiam dictumst dapibus.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock caution&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Caution&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Tempus dui aptent tempor torquent lacinia sem cursus porta cras semper
accumsan feugiat, himenaeos mi ullamcorper pharetra enim class eget auctor conubia
metus curabitur.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock warning&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Warning&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Aliquet ut maecenas mollis id enim nibh suscipit quisque posuere cum fusce,
dignissim ad curabitur odio ac diam pharetra platea vivamus eleifend.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_callouts&#34;&gt;Callouts&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Callouts are used to add annotations within a verbatim block.
This is especially useful for code listings in order to effectively explain what
is going on within the code.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Heres an example of using callouts.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoc&#34; data-lang=&#34;asciidoc&#34;&gt;[source,python]
----
from pathlib import Path
from re import compile, match
current_directory = Path(&amp;#34;.&amp;#34;) &amp;lt;1&amp;gt;
notes_directory = current_directory / &amp;#34;notes/&amp;#34; &amp;lt;2&amp;gt;
----
&amp;lt;1&amp;gt; Created a Path object
&amp;lt;2&amp;gt; Appending a Path object with &amp;#34;/&amp;#34;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;And itll render as:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;from pathlib import Path
from re import compile, match
current_directory = Path(&amp;#34;.&amp;#34;) # &lt;b class=&#34;conum&#34;&gt;(1)&lt;/b&gt;
notes_directory = current_directory / &amp;#34;notes/&amp;#34; # &lt;b class=&#34;conum&#34;&gt;(2)&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;colist arabic&#34;&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Created a &lt;code&gt;Path&lt;/code&gt; object&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Appending a &lt;code&gt;Path&lt;/code&gt; object with &amp;#34;/&amp;#34;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;One of the most important you should style is the callout number
on the code listings block.
Normally, when a user wants to copy-paste (even though I dont personally
encourage it), the callout number gets in the way and they have to
manually remove them which can be annoying.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Either attach the property &lt;code&gt;user-select&lt;/code&gt; with it or take a part from the
default Asciidoctor stylesheet and include it in your own stylesheet.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_passthroughs&#34;&gt;Passthroughs&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;A &lt;a href=&#34;https://asciidoctor.org/docs/user-manual/#passthroughs&#34;&gt;passthrough&lt;/a&gt; passes the input as it is on the final output.
This is useful for web-based outputs, for example passing raw HTML for interactive scripts or to create a live result.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Below is a very simple example with a &lt;a href=&#34;https://p5js.org/&#34;&gt;p5.js&lt;/a&gt; sketch.&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&#34;example-sketch&#34;&gt;&lt;/div&gt;
&lt;script src=&#34;https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.js&#34;&gt;&lt;/script&gt;
&lt;script&gt;
const sketchuuuuu = ( sketch ) =&gt; {
let x = 100;
let y = 100;
sketch.setup = () =&gt; {
sketch.createCanvas(300, 380);
};
sketch.draw = () =&gt; {
sketch.background(0);
sketch.fill(255);
sketch.rect(x,y,50,50);
sketch.ellipse(sketch[&#34;mouseX&#34;], sketch[&#34;mouseY&#34;], 20);
};
};
let example_sketch = new p5(sketchuuuuu, &#34;example-sketch&#34;)
&lt;/script&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Here is the input from the source code of this document.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoctor&#34; data-lang=&#34;asciidoctor&#34;&gt;++++
&amp;lt;div id=&amp;#34;example-sketch&amp;#34;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;script src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
const sketchuuuuu = ( sketch ) =&amp;gt; {
let x = 100;
let y = 100;
sketch.setup = () =&amp;gt; {
sketch.createCanvas(300, 380);
};
sketch.draw = () =&amp;gt; {
sketch.background(0);
sketch.fill(255);
sketch.rect(x,y,50,50);
sketch.ellipse(sketch[&amp;#34;mouseX&amp;#34;], sketch[&amp;#34;mouseY&amp;#34;], 20);
};
};
let example_sketch = new p5(sketchuuuuu, &amp;#34;example-sketch&amp;#34;)
&amp;lt;/script&amp;gt;
++++&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This is the closest instance of &lt;a href=&#34;https://en.wikipedia.org/wiki/Literate_programming&#34;&gt;literate programming&lt;/a&gt; in the web when using Asciidoctor.
(Sadly, not as flexible or cool as &lt;a href=&#34;https://orgmode.org/&#34;&gt;Org-Mode&lt;/a&gt; or &lt;a href=&#34;https://jupyter.org/&#34;&gt;Jupyter Notebooks&lt;/a&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content>
</entry></feed>

File diff suppressed because one or more lines are too long

View File

@ -4,13 +4,23 @@
<title>Articles on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/</link>
<description>Recent content in Articles on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 12 May 2020 21:29:52 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.rss" rel="self" type="application/rss+xml" />
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/" rel="canonical" type="text/html" />
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.json" rel="alternate" type="application/feed+json" />
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.atom" rel="alternate" type="application/atom+xml" />
<item>
<title>Extending Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</link>
<category>theme</category>
<category>extending</category>
<pubDate>Tue, 12 May 2020 17:25:55 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</guid>
<description></description>
</item>
<item>
<title>RSS, Atom, and JSON Feed Support</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</link>
@ -21,15 +31,5 @@
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</guid>
<description></description>
</item>
<item>
<title>Asciidoctor Extended Syntax Guide</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</link>
<category>asciidoctor</category>
<category>guide</category>
<pubDate>Thu, 29 Aug 2019 22:09:16 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Hidden post test</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Hey! How did you find this?!
@ -17,17 +18,19 @@
Anyways, this is a test post for the hidden posts feature in Hugo Contentful.
" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2020-05-12T21:29:52+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Hidden post test">
<meta itemprop="description" content="Hey! How did you find this?!
Anyways, this is a test post for the hidden posts feature in Hugo Contentful.
"><meta itemprop="datePublished" content="2020-05-12T21:29:52+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="20">
<meta itemprop="keywords" content="tag1,tag2," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -38,11 +41,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -50,16 +48,16 @@
<header>
<h1>Hidden post test</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-05-12 21:29:52 &#43;0800 &#43;0800">Created: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
<p data-content-translations="[&#34;Tagalog&#34;]">Translations: <a href=https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/hidden-post-test/>Tagalog</a></p>
@ -68,14 +66,6 @@
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -109,6 +99,6 @@ How did you find this?!</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Articles</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/" /><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.json" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.rss" /><link rel="alternate" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.atom" />
<meta itemprop="name" content="Articles">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/" /><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.json" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.rss" /><link rel="alternate" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/feed.atom" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -43,67 +35,106 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" aria-label="Hidden post test">Hidden post test</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" aria-label="Extending Contentful">Extending Contentful</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" aria-label="RSS, Atom, and JSON Feed Support">RSS, Atom, and JSON Feed Support</a></h1>
<div class="post__meta">
<time datetime="2019-09-04">2019-09-04</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">
2019-09-04
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
<span data-authors="[{&#34;name&#34;:&#34;John Doe&#34;},{&#34;name&#34;:&#34;Jane Doe&#34;}]">John Doe, et al.</span>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" aria-label="Asciidoctor Extended Syntax Guide">Asciidoctor Extended Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-29">2019-08-29</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">
2019-08-29
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" aria-label="Emoji Support">Emoji Support</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" aria-label="MathJax Support for Asciidoctor">MathJax Support for Asciidoctor</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" aria-label="MathJax Support for Markdown">MathJax Support for Markdown</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" aria-label="Asciidoctor Syntax Guide">Asciidoctor Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-27">2019-08-27</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">
2019-08-27
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" aria-label="Markdown Syntax Guide">Markdown Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-26">2019-08-26</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">
2019-08-26
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" aria-label="Asciidoctor Article Template">Asciidoctor Article Template</a></h1>
<div class="post__meta">
<time datetime="2019-08-25">2019-08-25</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">
2019-08-25
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -132,6 +163,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Markdown Syntax Guide</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo." /><meta name="twitter:card" content="summary"/>
@ -11,17 +12,17 @@
<meta property="og:title" content="Markdown Syntax Guide" />
<meta property="og:description" content="The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-26T00:08:27+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Markdown Syntax Guide">
<meta itemprop="description" content="The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo."><meta itemprop="datePublished" content="2019-08-26T00:08:27+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="523">
<meta itemprop="keywords" content="markdown,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -32,11 +33,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -44,54 +40,21 @@
<header>
<h1>Markdown Syntax Guide</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-26 00:08:27 &#43;0800 &#43;0800">Created: <time datetime="2019-08-26">2019-08-26</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents">
<ul>
<li><a href="#headings">Headings</a></li>
</ul>
<ul>
<li><a href="#heading-2">Heading 2</a>
<ul>
<li><a href="#heading-3">Heading 3</a></li>
</ul>
</li>
<li><a href="#paragraph">Paragraph</a></li>
<li><a href="#list-types">List Types</a>
<ul>
<li><a href="#ordered-list">Ordered List</a></li>
<li><a href="#unordered-list">Unordered List</a></li>
<li><a href="#nested-list">Nested list</a></li>
<li><a href="#definition-list">Definition List</a></li>
</ul>
</li>
<li><a href="#blockquotes">Blockquotes</a></li>
<li><a href="#tables">Tables</a></li>
<li><a href="#code">Code</a></li>
<li><a href="#other-stuff--abbr-sub-sup-kbd-etc">Other stuff — abbr, sub, sup, kbd, etc.</a></li>
</ul>
</nav>
<main>
<p>The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo.</p>
@ -242,26 +205,26 @@ Also you can <em>put</em> <strong>Markdown</strong> into a blockquote.</p>
</tbody>
</table>
<h2 id="code">Code</h2>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-html" data-lang="html"><span style="color:#75715e">&lt;!DOCTYPE html&gt;</span>
&lt;<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;en&#34;</span>&gt;
&lt;<span style="color:#f92672">head</span>&gt;
&lt;<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;UTF-8&#34;</span>&gt;
&lt;<span style="color:#f92672">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#f92672">title</span>&gt;
&lt;/<span style="color:#f92672">head</span>&gt;
&lt;<span style="color:#f92672">body</span>&gt;
&lt;<span style="color:#f92672">p</span>&gt;Test&lt;/<span style="color:#f92672">p</span>&gt;
&lt;/<span style="color:#f92672">body</span>&gt;
&lt;/<span style="color:#f92672">html</span>&gt;
</code></pre></div><div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-html" data-lang="html"><span style="color:#75715e">&lt;!DOCTYPE html&gt;</span>
&lt;<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;en&#34;</span>&gt;
&lt;<span style="color:#f92672">head</span>&gt;
&lt;<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;UTF-8&#34;</span>&gt;
&lt;<span style="color:#f92672">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#f92672">title</span>&gt;
&lt;/<span style="color:#f92672">head</span>&gt;
&lt;<span style="color:#f92672">body</span>&gt;
&lt;<span style="color:#f92672">p</span>&gt;Test&lt;/<span style="color:#f92672">p</span>&gt;
&lt;/<span style="color:#f92672">body</span>&gt;
&lt;/<span style="color:#f92672">html</span>&gt;</code></pre></div>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span><span style="color:#75715e">&lt;!DOCTYPE html&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;en&#34;</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">head</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;UTF-8&#34;</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#f92672">title</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">head</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">body</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">p</span>&gt;Test&lt;/<span style="color:#f92672">p</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">body</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">html</span>&gt;
</span></span></code></pre></div><div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span><span style="color:#75715e">&lt;!DOCTYPE html&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">html</span> <span style="color:#a6e22e">lang</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;en&#34;</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">head</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">meta</span> <span style="color:#a6e22e">charset</span><span style="color:#f92672">=</span><span style="color:#e6db74">&#34;UTF-8&#34;</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">title</span>&gt;Example HTML5 Document&lt;/<span style="color:#f92672">title</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">head</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#f92672">body</span>&gt;
</span></span><span style="display:flex;"><span> &lt;<span style="color:#f92672">p</span>&gt;Test&lt;/<span style="color:#f92672">p</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">body</span>&gt;
</span></span><span style="display:flex;"><span>&lt;/<span style="color:#f92672">html</span>&gt;</span></span></code></pre></div>
<h2 id="other-stuff--abbr-sub-sup-kbd-etc">Other stuff — abbr, sub, sup, kbd, etc.</h2>
<p><abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.</p>
<p>H<sub>2</sub>O</p>
@ -292,6 +255,6 @@ Also you can <em>put</em> <strong>Markdown</strong> into a blockquote.</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>MathJax Support for Asciidoctor</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="This is just an article for testing MathJax in Asciidoctor files.
@ -23,17 +24,21 @@
The following block content should contain a sentence with the LaTeX symbol.
\[\LaTeX\text{ is awesome.}\] Whitespace LaTeX treats whitespace characters such as tabs and spaces uniformly as one unit of space." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-28T01:47:02+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="MathJax Support for Asciidoctor">
<meta itemprop="description" content="This is just an article for testing MathJax in Asciidoctor files.
You can use this as a testing template for all of your LaTeX math needs.
Basics This should be an inline math content \(\LaTeX\) with the LaTeX symbol.
The following block content should contain a sentence with the LaTeX symbol.
\[\LaTeX\text{ is awesome.}\] Whitespace LaTeX treats whitespace characters such as tabs and spaces uniformly as one unit of space."><meta itemprop="datePublished" content="2019-08-28T01:47:02+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="1010">
<meta itemprop="keywords" content="asciidoctor,mathjax,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -44,11 +49,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -56,60 +56,21 @@
<header>
<h1>MathJax Support for Asciidoctor</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-28 01:47:02 &#43;0800 &#43;0800">Created: <time datetime="2019-08-28">2019-08-28</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents">
<ul>
<li><a href="#_basics">Basics</a>
<ul>
<li><a href="#_whitespace">Whitespace</a></li>
<li><a href="#_commands">Commands</a></li>
<li><a href="#_reserved_characters">Reserved characters</a></li>
</ul>
</li>
<li><a href="#_text_formatting">Text formatting</a>
<ul>
<li><a href="#_literal_text">Literal text</a></li>
<li><a href="#_boldface_text">Boldface text</a></li>
<li><a href="#_italic_text">Italic text</a></li>
<li><a href="#_monospaced_text">Monospaced text</a></li>
<li><a href="#_text_in_sans_serif_font_equivalent">Text in sans-serif font equivalent</a></li>
<li><a href="#_more_options">More options</a></li>
</ul>
</li>
<li><a href="#_math_formatting">Math formatting</a>
<ul>
<li><a href="#_fractions">Fractions</a></li>
<li><a href="#_roots">Roots</a></li>
<li><a href="#_superscripts">Superscripts</a></li>
<li><a href="#_subscripts">Subscripts</a></li>
<li><a href="#_greek_letters">Greek letters</a></li>
<li><a href="#_mathematical_sizing">Mathematical sizing</a></li>
<li><a href="#_a_lot_more">A lot more!</a></li>
</ul>
</li>
</ul>
</nav>
<main>
@ -590,6 +551,6 @@ can be used as a general MathJax guide, anyways.</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>MathJax Support for Markdown</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="This is just an article for testing MathJax in Markdown files.
@ -26,17 +27,22 @@ The following block content should contain a sentence with the LaTeX symbol.
$$\LaTeX\text{ is awesome.}$$
Whitespace LaTeX treats whitespace characters such as tabs and spaces uniformly as one unit of space. A text that is composed of two tabs and 10 spaces consecutively is one space." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-08-28T00:09:56+08:00" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="MathJax Support for Markdown">
<meta itemprop="description" content="This is just an article for testing MathJax in Markdown files.
You can use this as a testing template for all of your LaTeX math needs.
Basics This should be an inline math content \(\LaTeX\) with the LaTeX symbol.
The following block content should contain a sentence with the LaTeX symbol.
$$\LaTeX\text{ is awesome.}$$
Whitespace LaTeX treats whitespace characters such as tabs and spaces uniformly as one unit of space. A text that is composed of two tabs and 10 spaces consecutively is one space."><meta itemprop="datePublished" content="2019-08-28T00:09:56+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="1008">
<meta itemprop="keywords" content="markdown,mathjax,guide," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -47,11 +53,6 @@ Whitespace LaTeX treats whitespace characters such as tabs and spaces uniformly
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -59,59 +60,21 @@ Whitespace LaTeX treats whitespace characters such as tabs and spaces uniformly
<header>
<h1>MathJax Support for Markdown</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2019-08-28 00:09:56 &#43;0800 &#43;0800">Created: <time datetime="2019-08-28">2019-08-28</time></p>
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents">
<ul>
<li><a href="#basics">Basics</a>
<ul>
<li><a href="#whitespace">Whitespace</a></li>
<li><a href="#commands">Commands</a></li>
<li><a href="#reserved-characters">Reserved characters</a></li>
</ul>
</li>
<li><a href="#text-formatting">Text formatting</a>
<ul>
<li><a href="#literal-text">Literal text</a></li>
<li><a href="#boldface-text">Boldface text</a></li>
<li><a href="#italic-text">Italic text</a></li>
<li><a href="#monospaced-text">Monospaced text</a></li>
<li><a href="#text-in-sans-serif-font-equivalent">Text in sans-serif font equivalent</a></li>
<li><a href="#more-options">More options</a></li>
</ul>
</li>
<li><a href="#math-formatting">Math formatting</a>
<ul>
<li><a href="#fractions">Fractions</a></li>
<li><a href="#roots">Roots</a></li>
<li><a href="#superscripts">Superscripts</a></li>
<li><a href="#subscripts">Subscripts</a></li>
<li><a href="#greek-letters">Greek letters</a></li>
<li><a href="#a-lot-more">A lot more!</a></li>
</ul>
</li>
</ul>
</nav>
<main>
<p>This is just an article for testing MathJax in Markdown files.</p>
@ -126,8 +89,8 @@ of space.
A text that is composed of two tabs and 10 spaces consecutively is one space.</p>
<p>This is especially prominent in math mode (which MathJax is&hellip; always).</p>
<p>Try to render this, for example.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex">This is a LaTeX sentence (or I guess in MathJax).
</code></pre></div><p>And it&rsquo;ll render as the following:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span>This is a LaTeX sentence (or I guess in MathJax).
</span></span></code></pre></div><p>And it&rsquo;ll render as the following:</p>
<p>$$ This is a LaTeX sentence (or I guess in MathJax). $$</p>
<p>Since MathJax is in&hellip; perpetual math mode and specifically made for rendering
math formulae, we shouldn&rsquo;t have a problem with maintaining it.</p>
@ -136,44 +99,44 @@ math formulae, we shouldn&rsquo;t have a problem with maintaining it.</p>
<p>One of the main syntax you should mind in MathJax are the LaTeX commands.
Think of it like the HTML tags in LaTeX (although not really).</p>
<p>Here&rsquo;s the basic construct of a LaTeX command:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\commandname</span><span style="color:#a6e22e">[option1,option2,...]</span>{argument1}{argument2}...
</code></pre></div><p>Within commands and if allowed, you can nest commands.
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\commandname</span><span style="color:#a6e22e">[option1,option2,...]</span>{argument1}{argument2}...
</span></span></code></pre></div><p>Within commands and if allowed, you can nest commands.
Take this example for example:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\sum</span>_{i=0}^{6} = <span style="color:#66d9ef">\frac</span>{i^{2}}{ 2 <span style="color:#66d9ef">\bmod</span> (i * 4)} + i^{3}
</code></pre></div><p>$$ \sum_{i=0}^{6} = \frac{i^{2}}{ 2 \bmod (i * 4)} + i^{3} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\sum</span>_{i=0}^{6} = <span style="color:#66d9ef">\frac</span>{i^{2}}{ 2 <span style="color:#66d9ef">\bmod</span> (i * 4)} + i^{3}
</span></span></code></pre></div><p>$$ \sum_{i=0}^{6} = \frac{i^{2}}{ 2 \bmod (i * 4)} + i^{3} $$</p>
<h3 id="reserved-characters">Reserved characters</h3>
<p>The following characters have special meaning to LaTeX.</p>
<pre><code># $ % ^ &amp; _ { } ~ \
<pre tabindex="0"><code># $ % ^ &amp; _ { } ~ \
</code></pre><p>$$ # $ % ^ &amp; _ { } ~ \ $$</p>
<p>As you can see, if rendered, it should result in an error.</p>
<p>In order to render them in text, you need to add an escape character.
In this case, it&rsquo;s a backslash.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\#</span> <span style="color:#66d9ef">\$</span> <span style="color:#66d9ef">\%</span> <span style="color:#66d9ef">\^</span> <span style="color:#66d9ef">\&amp;</span> <span style="color:#66d9ef">\_</span> <span style="color:#66d9ef">\{</span> <span style="color:#66d9ef">\}</span> <span style="color:#66d9ef">\~</span> <span style="color:#66d9ef">\\</span>
</code></pre></div><p>In the case of rendering it from Markdown, double slashes might be needed.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\#</span> <span style="color:#66d9ef">\$</span> <span style="color:#66d9ef">\%</span> <span style="color:#66d9ef">\^</span> <span style="color:#66d9ef">\&amp;</span> <span style="color:#66d9ef">\_</span> <span style="color:#66d9ef">\{</span> <span style="color:#66d9ef">\}</span> <span style="color:#66d9ef">\~</span> <span style="color:#66d9ef">\\</span>
</span></span></code></pre></div><p>In the case of rendering it from Markdown, double slashes might be needed.</p>
<p>$$ \# \$ % \^ \&amp; \_ \{ \} \~ \ $$</p>
<h2 id="text-formatting">Text formatting</h2>
<p>You can do a little text formatting in a LaTeX math content (though it&rsquo;s pointless
to do so).</p>
<h3 id="literal-text">Literal text</h3>
<p>You can make a text with <code>\text{}</code>.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\text</span>{The quick brown fox jumps over the lazy dog.}
</code></pre></div><p>$$\text{The quick brown fox jumps over the lazy dog.}$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\text</span>{The quick brown fox jumps over the lazy dog.}
</span></span></code></pre></div><p>$$\text{The quick brown fox jumps over the lazy dog.}$$</p>
<h3 id="boldface-text">Boldface text</h3>
<p>You can make a text boldface with <code>\textbf{}</code>.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\textbf</span>{The quick brown fox jumps over the lazy dog.}
</code></pre></div><p>$$\textbf{The quick brown fox jumps over the lazy dog.}$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\textbf</span>{The quick brown fox jumps over the lazy dog.}
</span></span></code></pre></div><p>$$\textbf{The quick brown fox jumps over the lazy dog.}$$</p>
<h3 id="italic-text">Italic text</h3>
<p>To make a text block italic, enclose it with a <code>\textit{}</code> command.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\textit</span>{The quick brown fox jumps over the lazy dog.}
</code></pre></div><p>$$\textit{The quick brown fox jumps over the lazy dog.}$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\textit</span>{The quick brown fox jumps over the lazy dog.}
</span></span></code></pre></div><p>$$\textit{The quick brown fox jumps over the lazy dog.}$$</p>
<h3 id="monospaced-text">Monospaced text</h3>
<p>In order for the text to be monospaced, enclose it with a <code>\texttt{}</code> (text teletype) command.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\texttt</span>{The quick brown fox jumps over the lazy dog.}
</code></pre></div><p>$$\texttt{The quick brown fox jumps over the lazy dog.}$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\texttt</span>{The quick brown fox jumps over the lazy dog.}
</span></span></code></pre></div><p>$$\texttt{The quick brown fox jumps over the lazy dog.}$$</p>
<h3 id="text-in-sans-serif-font-equivalent">Text in sans-serif font equivalent</h3>
<p>Most importantly, you can make a text rendered in sans-serif with <code>\textsf{}</code> command.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\textsf</span>{The quick brown fox jumps over the lazy dog.}
</code></pre></div><p>$$\textsf{The quick brown fox jumps over the lazy dog.}$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\textsf</span>{The quick brown fox jumps over the lazy dog.}
</span></span></code></pre></div><p>$$\textsf{The quick brown fox jumps over the lazy dog.}$$</p>
<h3 id="more-options">More options</h3>
<p>You can see a lot more options from <a href="https://en.wikibooks.org/wiki/LaTeX/Fonts">this reference</a>.</p>
<h2 id="math-formatting">Math formatting</h2>
@ -183,47 +146,47 @@ Let&rsquo;s see what MathJax in Markdown (M in M?) can do.</p>
<h3 id="fractions">Fractions</h3>
<p>For rendering fractions, you need to use the <code>\frac</code> command.
The command simply needs two positional arguments.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\frac</span>{NUMERATOR}{DENOMINATOR}
</code></pre></div><p>For a bit of an example:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\frac</span>{x_1 + y_2}{x_2 + y_1}
</code></pre></div><p>$$ \frac{x_1 + y_2}{x_2 + y_1} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\frac</span>{NUMERATOR}{DENOMINATOR}
</span></span></code></pre></div><p>For a bit of an example:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\frac</span>{x_1 + y_2}{x_2 + y_1}
</span></span></code></pre></div><p>$$ \frac{x_1 + y_2}{x_2 + y_1} $$</p>
<h3 id="roots">Roots</h3>
<p>In order to create roots, you need the <code>\sqrt</code> command.
It only needs the content to be put inside of it as the argument.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\sqrt</span>{2a + b}
</code></pre></div><p>$$ \sqrt{2a + b} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\sqrt</span>{2a + b}
</span></span></code></pre></div><p>$$ \sqrt{2a + b} $$</p>
<p>Yes, you can nest some stuff.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\sqrt</span>{<span style="color:#66d9ef">\frac</span>{2a + b}{a^2 - b^2}}
</code></pre></div><p>$$ \sqrt{\frac{2a + b}{a^2 - b^2}} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\sqrt</span>{<span style="color:#66d9ef">\frac</span>{2a + b}{a^2 - b^2}}
</span></span></code></pre></div><p>$$ \sqrt{\frac{2a + b}{a^2 - b^2}} $$</p>
<p>You can specify an optional argument to change the magnitude.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\sqrt</span><span style="color:#a6e22e">[\frac{1}{2}]</span>{2a + b}
</code></pre></div><p>$$ \sqrt[\frac{1}{2}]{2a + b} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\sqrt</span><span style="color:#a6e22e">[\frac{1}{2}]</span>{2a + b}
</span></span></code></pre></div><p>$$ \sqrt[\frac{1}{2}]{2a + b} $$</p>
<h3 id="superscripts">Superscripts</h3>
<p>In order to make superscripts, place it next to a caret character (<code>^</code>).
To render it in more than one character, enclose it in curly brackets (<code>{}</code>).</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex">2^2 * 2^{23} = 2^{25}
</code></pre></div><p>$$2^2 * 2^{23} = 2^{25}$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span>2^2 * 2^{23} = 2^{25}
</span></span></code></pre></div><p>$$2^2 * 2^{23} = 2^{25}$$</p>
<p>You can also nest it within a superscript like so.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex">2^{2^{10}} * 2^{23^2} = <span style="color:#66d9ef">\infty</span>
</code></pre></div><p>$$ 2^{2^{10}} * 2^{23^2} = \infty $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span>2^{2^{10}} * 2^{23^2} = <span style="color:#66d9ef">\infty</span>
</span></span></code></pre></div><p>$$ 2^{2^{10}} * 2^{23^2} = \infty $$</p>
<p>OK, I&rsquo;ve gone overboard with the scale so I just put infinity as the
answer instead.</p>
<h3 id="subscripts">Subscripts</h3>
<p>For making subscripts, place it next to the underscore (<code>_</code>).
Like the superscript command, if you include more than one character,
enclose it in a pair of curly brackets (<code>{}</code>).</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex">a_1 + a_2 + a_3 + ... + a_{14} = <span style="color:#66d9ef">\frac</span>{a_1 * a_{14}}{2}
</code></pre></div><p>$$ a_1 + a_2 + a_3 + &hellip; + a_{14} = \frac{a_1 * a_{14}}{2} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span>a_1 + a_2 + a_3 + ... + a_{14} = <span style="color:#66d9ef">\frac</span>{a_1 * a_{14}}{2}
</span></span></code></pre></div><p>$$ a_1 + a_2 + a_3 + &hellip; + a_{14} = \frac{a_1 * a_{14}}{2} $$</p>
<p>Wait&hellip; That doesn&rsquo;t look right.</p>
<p>That&rsquo;s because in Markdown, underscores denote italics so
be sure to escape them with a single backslash.</p>
<p>So now, the result is this:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex">a<span style="color:#66d9ef">\_</span>1 + a<span style="color:#66d9ef">\_</span>2 + a<span style="color:#66d9ef">\_</span>3 + ... + a<span style="color:#66d9ef">\_</span>{14} = <span style="color:#66d9ef">\frac</span>{a<span style="color:#66d9ef">\_</span>1 * a<span style="color:#66d9ef">\_</span>{14}}{2}
</code></pre></div><p>$$ a_1 + a_2 + a_3 + &hellip; + a_{14} = \frac{a_1 * a_{14}}{2} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span>a<span style="color:#66d9ef">\_</span>1 + a<span style="color:#66d9ef">\_</span>2 + a<span style="color:#66d9ef">\_</span>3 + ... + a<span style="color:#66d9ef">\_</span>{14} = <span style="color:#66d9ef">\frac</span>{a<span style="color:#66d9ef">\_</span>1 * a<span style="color:#66d9ef">\_</span>{14}}{2}
</span></span></code></pre></div><p>$$ a_1 + a_2 + a_3 + &hellip; + a_{14} = \frac{a_1 * a_{14}}{2} $$</p>
<p>Like superscripts and most of the commands, you can nest subscripts
to another subscript (and other commands).</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex">a<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{1}} + a<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{2}} = b<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{1}} + b<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{2}}
</code></pre></div><p>$$ a_{2_{1}} + a_{2_{2}} = b_{2_{1}} + b_{2_{2}} $$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span>a<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{1}} + a<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{2}} = b<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{1}} + b<span style="color:#66d9ef">\_</span>{2<span style="color:#66d9ef">\_</span>{2}}
</span></span></code></pre></div><p>$$ a_{2_{1}} + a_{2_{2}} = b_{2_{1}} + b_{2_{2}} $$</p>
<h3 id="greek-letters">Greek letters</h3>
<p>You can render Greek letters with the appropriate command.</p>
<p><code>\alpha</code> for lowercase Greek letter alpha,
@ -231,8 +194,8 @@ to another subscript (and other commands).</p>
<code>\gamma</code> for lowercase Greek letter gamma,
<code>\Gamma</code> for uppercase Greek letter gamma,
you get the point.</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-latex" data-lang="latex"><span style="color:#66d9ef">\alpha</span>, <span style="color:#66d9ef">\beta</span>, <span style="color:#66d9ef">\gamma</span>, <span style="color:#66d9ef">\Gamma</span>, <span style="color:#66d9ef">\pi</span>, <span style="color:#66d9ef">\Pi</span>, <span style="color:#66d9ef">\phi</span>, <span style="color:#66d9ef">\varphi</span>, <span style="color:#66d9ef">\mu</span>, <span style="color:#66d9ef">\Phi</span>
</code></pre></div><p>$$\alpha, \beta, \gamma, \Gamma, \pi, \Pi, \phi, \varphi, \mu, \Phi$$</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-latex" data-lang="latex"><span style="display:flex;"><span><span style="color:#66d9ef">\alpha</span>, <span style="color:#66d9ef">\beta</span>, <span style="color:#66d9ef">\gamma</span>, <span style="color:#66d9ef">\Gamma</span>, <span style="color:#66d9ef">\pi</span>, <span style="color:#66d9ef">\Pi</span>, <span style="color:#66d9ef">\phi</span>, <span style="color:#66d9ef">\varphi</span>, <span style="color:#66d9ef">\mu</span>, <span style="color:#66d9ef">\Phi</span>
</span></span></code></pre></div><p>$$\alpha, \beta, \gamma, \Gamma, \pi, \Pi, \phi, \varphi, \mu, \Phi$$</p>
<h3 id="a-lot-more">A lot more!</h3>
<p>You have a whole slew of mathematical symbols available.
Please refer to <a href="https://oeis.org/wiki/List_of_LaTeX_mathematical_symbols">this list of LaTeX mathematical symbols</a>.
@ -267,6 +230,6 @@ can be used as a general MathJax guide, anyways.</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/articles/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/articles/">
</head>
</html>

View File

@ -1,30 +1,48 @@
<!DOCTYPE html>
<html lang="en-us"><title>RSS, Atom, and JSON Feed Support</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Web feeds are one of the most common ways for a visitor to keep up with someone who creates content. Nowadays, most social media has that feature such as the subscribing YouTube channels, following Twitter accounts, and watching Deviantart artists. Outside of those, we have simpler things like RSS and JSON feeds where they are just plain text files describing the content.
The Contentful theme doesnt have a web feed export but we can have it with theme components." /><meta name="twitter:card" content="summary"/>
<meta name="description" content="This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors. It is also suitable for reading content from feed readers.
Here are the following documents used as references for the creation of the output feed templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
In this demo, it is enabled and you should be able to see them through the following links:" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="RSS, Atom, and JSON Feed Support"/>
<meta name="twitter:description" content="Web feeds are one of the most common ways for a visitor to keep up with someone who creates content. Nowadays, most social media has that feature such as the subscribing YouTube channels, following Twitter accounts, and watching Deviantart artists. Outside of those, we have simpler things like RSS and JSON feeds where they are just plain text files describing the content.
The Contentful theme doesnt have a web feed export but we can have it with theme components."/>
<meta name="twitter:description" content="This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors. It is also suitable for reading content from feed readers.
Here are the following documents used as references for the creation of the output feed templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
In this demo, it is enabled and you should be able to see them through the following links:"/>
<meta property="og:title" content="RSS, Atom, and JSON Feed Support" />
<meta property="og:description" content="Web feeds are one of the most common ways for a visitor to keep up with someone who creates content. Nowadays, most social media has that feature such as the subscribing YouTube channels, following Twitter accounts, and watching Deviantart artists. Outside of those, we have simpler things like RSS and JSON feeds where they are just plain text files describing the content.
The Contentful theme doesnt have a web feed export but we can have it with theme components." />
<meta property="og:description" content="This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors. It is also suitable for reading content from feed readers.
Here are the following documents used as references for the creation of the output feed templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
In this demo, it is enabled and you should be able to see them through the following links:" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" /><meta property="article:section" content="articles" />
<meta property="article:published_time" content="2019-09-04T17:22:44+08:00" />
<meta property="article:modified_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="RSS, Atom, and JSON Feed Support">
<meta itemprop="description" content="This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors. It is also suitable for reading content from feed readers.
Here are the following documents used as references for the creation of the output feed templates.
Atom 1.0 - IETF RFC4287
JSON Feed version 1 specifications
RSS 2.0 specifications
In this demo, it is enabled and you should be able to see them through the following links:"><meta itemprop="datePublished" content="2019-09-04T17:22:44+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="249">
<meta itemprop="keywords" content="this is a test tag,tag2," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -35,11 +53,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -47,17 +60,17 @@
<header>
<h1>RSS, Atom, and JSON Feed Support</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-author="[&#34;John Doe&#34;,&#34;Jane Doe&#34;]">Authors: John Doe and Jane Doe</p>
<p data-content-author="[{&#34;name&#34;:&#34;John Doe&#34;},{&#34;name&#34;:&#34;Jane Doe&#34;}]">Authors: John Doe and Jane Doe</p>
<p data-content-publication-date="2019-09-04 17:22:44 &#43;0800 &#43;0800">Created: <time datetime="2019-09-04">2019-09-04</time></p>
<p data-content-modification-date="2020-10-24 16:00:52 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
<p data-content-translations="[&#34;Tagalog&#34;]">Translations: <a href=https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/>Tagalog</a></p>
@ -66,34 +79,53 @@
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
<p>Web feeds are one of the most common ways for a visitor to keep up with someone who creates content.
Nowadays, most social media has that feature such as the subscribing YouTube channels, following Twitter accounts, and watching Deviantart artists.
Outside of those, we have simpler things like <a href="https://www.rssboard.org/rss-2-0-1">RSS</a> and <a href="https://www.jsonfeed.org/">JSON</a> feeds where they are just plain text files describing the content.</p>
<p>This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors.
It is also suitable for reading content from feed readers.</p>
</div>
<div class="paragraph">
<p>The Contentful theme doesnt have a web feed export but we can have it with <a href="https://gohugo.io/hugo-modules/theme-components/">theme components</a>.
For this demo, well use the <a href="https://github.com/foo-dogsquared/hugo-web-feeds">web feed component</a> created by <a href="https://foo-dogsquared.github.io/">foo-dogsquared</a>.</p>
<p>Here are the following documents used as references for the creation of the output feed templates.</p>
</div>
<div class="ulist">
<ul>
<li>
<p><a href="https://tools.ietf.org/html/rfc4287">Atom 1.0 - IETF RFC4287</a></p>
</li>
<li>
<p><a href="https://jsonfeed.org/version/1">JSON Feed version 1 specifications</a></p>
</li>
<li>
<p><a href="https://cyber.harvard.edu/rss/rss.html">RSS 2.0 specifications</a></p>
</li>
</ul>
</div>
<div class="paragraph">
<p>If youre settling with this option, heres an example template for installing the web feed module and exporting all of the feed formats all in one fell swoop.</p>
<p>In this demo, it is enabled and you should be able to see them through the following links:</p>
</div>
<div class="ulist">
<ul>
<li>
<p><strong>RSS</strong>: <code>$HUGO_URL/index.rss</code></p>
</li>
<li>
<p><strong>Atom</strong>: <code>$HUGO_URL/index.atom</code></p>
</li>
<li>
<p><strong>JSON</strong>: <code>$HUGO_URL/index.json</code></p>
</li>
</ul>
</div>
<div class="paragraph">
<p>For enabling output feeds, utilize the <a href="https://gohugo.io/templates/output-formats">output formats</a> in your site configuration.</p>
</div>
<div class="paragraph">
<p>If youre settling with this option, heres an example template for enabling all of the feed formats.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-toml" data-lang="toml">[[module.imports]]
path = &#34;github.com/foo-dogsquared/hugo-web-feeds&#34;
# Visit the following for more information:
<pre class="highlight"><code class="language-toml" data-lang="toml"># Visit the following for more information:
# https://gohugo.io/templates/output-formats
# Defining the media type of the output formats
@ -106,8 +138,6 @@ For this demo, well use the <a href="https://github.com/foo-dogsquared/hugo-w
[mediaTypes.&#34;application/rss+xml&#34;]
suffixes = [&#34;rss&#34;, &#34;rss.xml&#34;] # You can remove the &#34;rss.xml&#34; if you want
[mediaTypes.&#34;application/feed+json&#34;]
suffixes = [&#34;json&#34;] # You can remove the &#34;rss.xml&#34; if you want
# Including all of the feed output formats in the build
@ -121,7 +151,7 @@ For this demo, well use the <a href="https://github.com/foo-dogsquared/hugo-w
baseName = &#34;feed&#34;
[outputFormats.Json]
mediaType = &#34;application/feed+json&#34;
mediaType = &#34;application/json&#34;
baseName = &#34;feed&#34;
@ -159,6 +189,6 @@ For this demo, well use the <a href="https://github.com/foo-dogsquared/hugo-w
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>asciidoctor on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/</link>
<description>Recent content in asciidoctor on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Thu, 29 Aug 2019 22:09:16 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>asciidoctor</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/feed.rss" />
<meta itemprop="name" content="asciidoctor">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,16 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" aria-label="Asciidoctor Extended Syntax Guide">Asciidoctor Extended Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-29">2019-08-29</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">
2019-08-29
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" aria-label="MathJax Support for Asciidoctor">MathJax Support for Asciidoctor</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -84,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>category1 on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/</link>
<description>Recent content in category1 on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 12 May 2020 21:29:52 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>category1</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/feed.rss" />
<meta itemprop="name" content="category1">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -43,6 +35,16 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" aria-label="Hidden post test">Hidden post test</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -68,6 +70,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>Categories on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/</link>
<description>Recent content in Categories on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 21:36:34 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -4,7 +4,7 @@
<title>guide on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/</link>
<description>Recent content in guide on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 12 May 2020 17:25:55 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/feed.rss" rel="self" type="application/rss+xml" />
@ -20,13 +20,13 @@
<description></description>
</item>
<item>
<title>RSS, Atom, and JSON Feed Support</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</link>
<category>this is a test tag</category>
<category>tag2</category>
<title>Extending Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</link>
<category>theme</category>
<category>extending</category>
<pubDate>Wed, 04 Sep 2019 17:22:44 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</guid>
<pubDate>Tue, 12 May 2020 17:25:55 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</guid>
<description></description>
</item>
</channel>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>guide</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/feed.rss" />
<meta itemprop="name" content="guide">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,48 +38,73 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" aria-label=""></a></h1>
<div class="post__meta">
<time datetime="2020-05-12">2020-05-12</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" aria-label="Extending Contentful">Extending Contentful</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" aria-label="RSS, Atom, and JSON Feed Support">RSS, Atom, and JSON Feed Support</a></h1>
<div class="post__meta">
<time datetime="2019-09-04">2019-09-04</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">
2019-09-04
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
<span data-authors="[{&#34;name&#34;:&#34;John Doe&#34;},{&#34;name&#34;:&#34;Jane Doe&#34;}]">John Doe, et al.</span>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" aria-label="Emoji Support">Emoji Support</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" aria-label="Asciidoctor Syntax Guide">Asciidoctor Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-27">2019-08-27</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">
2019-08-27
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" aria-label="Markdown Syntax Guide">Markdown Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-26">2019-08-26</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">
2019-08-26
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" aria-label="Asciidoctor Article Template">Asciidoctor Article Template</a></h1>
<div class="post__meta">
<time datetime="2019-08-25">2019-08-25</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">
2019-08-25
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -116,6 +133,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/">
</head>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Categories</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/feed.rss" />
<meta itemprop="name" content="Categories">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,40 +28,119 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<h1>Categories</h1>
<ul>
<li>
<a href="/hugo-theme-contentful/categories/asciidoctor/">asciidoctor</a> (2)
</li>
<li>
<a href="/hugo-theme-contentful/categories/category1/">category1</a> (1)
</li>
<li>
<a href="/hugo-theme-contentful/categories/guide/">guide</a> (6)
</li>
<li>
<a href="/hugo-theme-contentful/categories/markdown/">markdown</a> (1)
</li>
<li>
<a href="/hugo-theme-contentful/categories/recipe/">recipe</a> (6)
</li>
</ul>
<section id="asciidoctor">
<header class="taxonomy__header">
<h2>asciidoctor</h2>
<small>(<a href="/hugo-theme-contentful/categories/asciidoctor/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">2019-08-29</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/">Asciidoctor Extended Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/">MathJax Support for Asciidoctor</a>
</li>
</ul>
</section>
<section id="category1">
<header class="taxonomy__header">
<h2>category1</h2>
<small>(<a href="/hugo-theme-contentful/categories/category1/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/">Hidden post test</a>
</li>
</ul>
</section>
<section id="guide">
<header class="taxonomy__header">
<h2>guide</h2>
<small>(<a href="/hugo-theme-contentful/categories/guide/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/"></a>
</li>
<li class="taxonomy__page">
<date datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/">Extending Contentful</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">2019-09-04</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/">RSS, Atom, and JSON Feed Support</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/">Emoji Support</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">2019-08-27</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/">Asciidoctor Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">2019-08-26</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/">Markdown Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">2019-08-25</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/">Asciidoctor Article Template</a>
</li>
</ul>
</section>
<section id="markdown">
<header class="taxonomy__header">
<h2>markdown</h2>
<small>(<a href="/hugo-theme-contentful/categories/markdown/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/">MathJax Support for Markdown</a>
</li>
</ul>
</section>
<section id="recipe">
<header class="taxonomy__header">
<h2>recipe</h2>
<small>(<a href="/hugo-theme-contentful/categories/recipe/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/">Simple Icons integration with Hugo modules</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:38:24 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/">Configurable list of contacts</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:36:55 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/">Creating an archive page</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/">Open graph protocol</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/">Twitter cards</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:29:42 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/">Customizing your head</a>
</li>
</ul>
</section>
<hr>
<footer>
@ -86,6 +162,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>markdown on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/</link>
<description>Recent content in markdown on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Wed, 28 Aug 2019 00:09:56 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>markdown</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/feed.rss" />
<meta itemprop="name" content="markdown">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,10 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" aria-label="MathJax Support for Markdown">MathJax Support for Markdown</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -76,6 +70,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>recipe on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/</link>
<description>Recent content in recipe on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 21:36:34 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>recipe</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/feed.rss" />
<meta itemprop="name" content="recipe">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,48 +38,60 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" aria-label="Simple Icons integration with Hugo modules">Simple Icons integration with Hugo modules</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" aria-label="Configurable list of contacts">Configurable list of contacts</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:38:24 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/" aria-label="Creating an archive page">Creating an archive page</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:36:55 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" aria-label="Open graph protocol">Open graph protocol</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" aria-label="Twitter cards">Twitter cards</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" aria-label="Customizing your head">Customizing your head</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:29:42 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -116,6 +120,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/">
</head>
</html>

View File

@ -0,0 +1 @@
:root{--background:#FAFAFA;--background-light:#E1E1E1;--foreground:#000000;--foreground-light:#363537;--grey:#454545;--body-family:serif;--header-family:sans-serif;--mono-family:monospace;--font-size:20px;--vertical-rhythm:24px;--content-width:750px;--border-style:var(--foreground) solid 1px}@media(prefers-color-scheme:light){:root{--background:#FAFAFA;--background-light:#E1E1E1;--foreground:#000000;--foreground-light:#363537;--grey:#454545}}@media(prefers-color-scheme:dark){:root{--background:#000000;--background-light:#363537;--foreground:#FAFAFA;--foreground-light:#CCCCCC;--grey:#919191}}:root{font-family:var(--body-family);font-size:var(--font-size);background:var(--background);color:var(--foreground);line-height:var(--vertical-rhythm);margin:0;padding:0}*,*::before,*::after{box-sizing:border-box}body{margin:0 auto;max-width:var(--content-width);padding:1rem}nav{margin:1rem auto}article h2{margin-top:3rem}article h3{margin-top:2rem}h1,h2,h3,h4,h5,h6{font-family:var(--header-family);line-height:1.25}a{color:#3aa2bf}a:visited{color:#ac5a82}code{font-family:var(--mono-family);font-size:.9em}dd,li,p,td{line-height:1.5}p{margin-top:1rem;margin-bottom:1rem}dd{margin-top:.5rem;margin-bottom:1.5rem}kbd{border:var(--border-style);font-size:.85rem;font-weight:700;padding:.25rem}tr:nth-child(even){background:var(--background-light)}pre{background:var(--foreground);color:var(--background);font-family:var(--mono-family);font-size:1rem;line-height:1.5;margin-top:1rem;margin-bottom:1rem;padding:.5rem;overflow:auto}img,video,audio,iframe{display:block;height:auto;max-width:100%;margin:auto}table{border:var(--border-style);border-collapse:collapse;margin:auto}thead,tbody{margin:0 auto}th,td{border:var(--border-style);padding:1rem}ol,ul{line-height:1.5}figure{margin:2rem auto}figure>*{margin:1rem auto}figcaption{text-align:center;font-size:1rem}svg{height:1rem;width:1rem;fill:currentColor}blockquote{margin:2rem 1rem}blockquote footer{display:block;width:100%}button{background:unset;border:var(--foreground)solid 1px;color:var(--foreground);cursor:pointer;font-size:1rem;padding:.5rem}aside{--vertical-rhythm-reduction:0.2;color:var(--grey);border:1px solid var(--grey);border-left:3px solid var(--grey);font-size:calc(1rem * (1 - var(--vertical-rhythm-reduction)));font-family:var(--header-family);line-height:calc(1rem * (1 + var(--vertical-rhythm-reduction)));margin:1rem 0;padding:.5rem;width:100%}footer{display:flex;justify-content:space-evenly;align-items:center;flex-flow:column wrap}.site__title{display:inline-block;font-size:2rem;margin-bottom:1rem;margin-right:.5rem}.site__links{display:inline-block}.site__languages{display:inline-block}.site__theme-btn{position:absolute;right:0;top:0}.pagination{display:flex;font-size:1rem;list-style:none;justify-content:center;margin:1.2rem 0;padding:.8rem}.pagination>*{margin:0 .25em;text-decoration:none}.page-link{background:var(--background-light);color:var(--foreground-light);text-decoration:none;padding:.5em}.page-link:visited{color:var(--foreground-light)}.page-link--active{font-weight:bolder}.page-link:hover{background:var(--foreground);color:var(--background)}.post{margin-top:1rem}.post h1{margin:0 auto}.post__meta{color:var(--grey);display:inline-block;margin:.5rem auto;font-size:.9em}.post__meta--single{color:var(--grey);font-size:.9em;margin:.5em auto}.post__meta--single>*{margin:.5em auto}.post__meta>:not(:first-child)::before{content:"|";margin-left:.5em;margin-right:.5em}.taxonomy__header{display:flex;align-items:center;justify-content:start}.taxonomy__header>*{margin:0;margin-right:.25em}.taxonomy__pages{list-style:none;padding-left:1em;margin:1em auto}.taxonomy__page{display:flex}.taxonomy__page :first-child{white-space:nowrap}.taxonomy__page>*{margin-right:.5em}@media all and (max-width:860px){html:root{--font-size:17px}}

View File

@ -1 +0,0 @@
:root{--background:#FAFAFA;--background-light:#E1E1E1;--foreground:#000000;--foreground-light:#363537;--grey:#454545;--body-family:serif;--header-family:sans-serif;--mono-family:monospace;--font-size:20px;--vertical-rhythm:24px;--content-width:750px;--border-style:var(--foreground) solid 1px}[data-theme=dark]:root{--background:#000000;--background-light:#363537;--foreground:#FAFAFA;--foreground-light:#E1E1E1;--grey:#919191}:root{font-family:var(--body-family);font-size:var(--font-size);background:var(--background);color:var(--foreground);line-height:var(--vertical-rhythm);margin:0;padding:0}*,*::before,*::after{box-sizing:border-box}body{margin:0 auto;max-width:var(--content-width);padding:1rem}nav{margin:1rem auto}article h2{margin-top:3rem}article h3{margin-top:2rem}h1,h2,h3,h4,h5,h6{font-family:var(--header-family);line-height:1.25}a{color:#3aa2bf}a:visited{color:#ac5a82}code{font-family:var(--mono-family);font-size:.9em}dd,li,p,td{line-height:1.5}p{margin-top:1rem;margin-bottom:1rem}dd{margin-top:.5rem;margin-bottom:1.5rem}kbd{border:var(--border-style);font-size:.85rem;font-weight:700;padding:.25rem}tr:nth-child(even){background:var(--background-light)}pre{background:var(--foreground);color:var(--background);font-family:var(--mono-family);font-size:1rem;line-height:1.5;margin-top:1rem;margin-bottom:1rem;padding:.5rem;overflow:auto}img,video,audio,iframe{display:block;height:auto;max-width:100%;margin:auto}table{border:var(--border-style);border-collapse:collapse;margin:auto}thead,tbody{margin:0 auto}th,td{border:var(--border-style);padding:1rem}ol,ul{line-height:1.5}figure{margin:2rem auto}figure>*{margin:1rem auto}figcaption{text-align:center;font-size:1rem}svg{height:1rem;width:1rem;fill:currentColor}blockquote{margin:2rem 1rem}blockquote footer{display:block;width:100%}button{background:unset;border:var(--foreground)solid 1px;color:var(--foreground);cursor:pointer;font-size:1rem;padding:.5rem}aside{--vertical-rhythm-reduction:0.2;color:var(--grey);border:1px solid var(--grey);border-left:3px solid var(--grey);font-size:calc(1rem * (1 - var(--vertical-rhythm-reduction)));font-family:var(--header-family);line-height:calc(1rem * (1 + var(--vertical-rhythm-reduction)));margin:1rem 0;padding:.5rem;width:100%}footer{display:flex;justify-content:space-evenly;align-items:center;flex-flow:column wrap}.site__title{display:inline-block;font-size:2rem;margin-bottom:1rem;margin-right:.5rem}.site__links{display:inline-block}.site__languages{display:inline-block}.site__theme-btn{position:absolute;right:0;top:0}.pagination{display:flex;font-size:1rem;list-style:none;justify-content:center;margin:1.2rem 0;padding:.8rem}.pagination>*{margin:0 .25em;text-decoration:none}.page-link{background:var(--background-light);color:var(--foreground-light);text-decoration:none;padding:.5em}.page-link:visited{color:var(--foreground-light)}.page-link--active{font-weight:bolder}.page-link:hover{background:var(--foreground);color:var(--background)}.post{margin-top:1rem}.post h1{margin:0 auto}.post__meta{margin:.5rem auto;font-size:.9em}.post__meta>*{margin:.5rem auto}@media all and (max-width:860px){html:root{--font-size:17px}}@media(prefers-color-scheme:dark){:root{}}

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/">
</head>
</html>

View File

@ -1,10 +1,9 @@
<?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>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -15,11 +14,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -30,21 +27,15 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/recipe/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -55,11 +46,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -70,11 +59,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -85,51 +72,33 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -140,11 +109,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -155,11 +122,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/category1/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -170,21 +135,18 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</loc>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -195,16 +157,12 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/categories/guide/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/</loc>
<lastmod>2020-10-24T15:49:14+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -215,11 +173,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -230,81 +186,51 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/asciidoctor/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/categories/markdown/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
</url>
<url>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/about/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -315,11 +241,9 @@
hreflang="en"
href="https://foo-dogsquared.github.io/hugo-theme-contentful/about/"
/>
</url>
<url>
</url><url>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/archives/</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="tl"
@ -331,5 +255,4 @@
href="https://foo-dogsquared.github.io/hugo-theme-contentful/archives/"
/>
</url>
</urlset>

579
feed.atom
View File

@ -2,14 +2,258 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Contentful</title>
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.rss"/><rights>© 2021 </rights>
<generator uri="https://gohugo.io/" version="0.76.0">Hugo</generator>
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.rss"/><rights>© 2022 </rights>
<generator uri="https://gohugo.io/" version="0.98.0">Hugo</generator>
<updated>2020-10-20T21:36:34+08:00</updated>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/</id><icon>https://foo-dogsquared.github.io/hugo-theme-contentful/icon.png</icon>
<author>
<name>John Doe</name>
<email>johndoe@example.com</email>
</author><entry>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</id>
<title type="text">Extending Contentful</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" hreflang="en" title="Extending Contentful"/><category term="theme"/><category term="extending"/>
<published>2020-05-12T17:25:55+08:00</published>
<updated>2022-05-13T18:08:06+08:00</updated><content type="html">
&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Extending a Hugo theme is nothing new and a &lt;a href=&#34;https://gohugo.io/content-management/sections/&#34;&gt;few&lt;/a&gt; &lt;a href=&#34;http://hugocodex.org/add-ons/&#34;&gt;places&lt;/a&gt; provide a place for the most common extensions.
In this post, Ill be listing a few personal recipes Ive always used for extending a Hugo theme.
Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_customizing_your_head&#34;&gt;Customizing your &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Lets start with the most basic and perhaps most useful customization: modifying the &lt;code&gt;&amp;lt;head&lt;/code&gt;&amp;gt;.
This is useful for adding your own CSS and JavaScript files, changing certain metadata, or adding icons.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;First, copy the &lt;code&gt;head&lt;/code&gt; partial from the theme (&lt;code&gt;theme/contentful/layouts/partials/head.html&lt;/code&gt;) to your own (&lt;code&gt;layouts/partials/head.html&lt;/code&gt;).
Were simply taking advantage of &lt;a href=&#34;https://gohugo.io/templates/lookup-order/&#34;&gt;Hugos lookup order&lt;/a&gt; where weve override the &lt;code&gt;head&lt;/code&gt; partial with our own copy.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Then, feel free to add your own (or others&amp;#39;) scripts and stylesheets, &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML&#34;&gt;icons and other metadata&lt;/a&gt;, or whatever suitable things.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In my case, I often use certain JavaScript libraries like &lt;a href=&#34;https://www.mathjax.org/&#34;&gt;MathJax&lt;/a&gt; for mathematical typesetting, &lt;a href=&#34;https://prismjs.com/&#34;&gt;Prism&lt;/a&gt; for syntax highlighting, and &lt;a href=&#34;https://github.com/francoischalifour/medium-zoom/&#34;&gt;medium-zoom&lt;/a&gt; for interactive image zooms.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Heres the modified code.
(The example code is snipped for brevity.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;&amp;lt;!--snip--&amp;gt;
{{- /* MathJax */ -}}
&amp;lt;script src=&amp;#34;https://polyfill.io/v3/polyfill.min.js?features=es6&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script id=&amp;#34;MathJax-script&amp;#34; defer src=&amp;#34;https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
{{- /* Prism.js */ -}}
&amp;lt;link rel=&amp;#34;stylesheet&amp;#34; href=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/themes/prism-tomorrow.min.css&amp;#34; type=&amp;#34;text/css&amp;#34;&amp;gt;
&amp;lt;script defer src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/components/prism-core.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script defer src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/autoloader/prism-autoloader.min.js&amp;#34;&amp;gt;
&amp;lt;script defer src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/plugins/keep-markup/prism-keep-markup.min.js&amp;#34;&amp;gt;
{{- /* medium-zoom */ -}}
&amp;lt;script defer src=&amp;#34;https://cdn.jsdelivr.net/npm/medium-zoom@1.0.5/dist/medium-zoom.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;window.addEventListener(&amp;#39;load&amp;#39;, () =&amp;gt; mediumZoom(&amp;#39;article img&amp;#39;, { &amp;#39;background&amp;#39;: &amp;#39;rgba(0, 0, 0, 0.75)&amp;#39; }))&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Since most of the JavaScript libraries used here are not really a requirement (except for MathJax for mathematical typesetting), Ive set them to be loaded at the end of the page loading with &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script&#34;&gt;&lt;code&gt;defer&lt;/code&gt; attribute&lt;/a&gt;.
If you have an inline script, you can simply wrap it in an event listener for page loading (&lt;code&gt;window.addEventListener(&amp;#34;load&amp;#34;, your_function_goes_here)&lt;/code&gt;).&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If you want document-specific libraries, you have to pass some raw HTML through the parser of the document.
For Goldmark, the default Markdown parser starting &lt;a href=&#34;https://gohugo.io/news/0.60.0-relnotes/&#34;&gt;Hugo v0.60.0&lt;/a&gt;, blocks raw HTML by default and you can disable it by setting &lt;code&gt;markup.goldmark.renderer.unsafe&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;For Blackfriday, it parses even the raw HTML just fine.
Though, you have to set it as the default Markdown parser.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;For &lt;a href=&#34;https://asciidoctor.org/&#34;&gt;Asciidoctor&lt;/a&gt;, you can use &lt;a href=&#34;https://asciidoctor.org/docs/user-manual/#passthroughs&#34;&gt;passthroughs&lt;/a&gt; to get raw HTML through.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_twitter_cards&#34;&gt;Twitter cards&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This will add &lt;a href=&#34;https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started&#34;&gt;Twitter cards&lt;/a&gt; for your webpages.
(Be sure to copy the &lt;code&gt;head&lt;/code&gt; partial first in your own layout folder.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Thankfully, Hugo already has &lt;a href=&#34;https://gohugo.io/templates/internal/#twitter-cards&#34;&gt;an internal template for Twitter cards&lt;/a&gt;.
Simply add &lt;code&gt;{{- template &amp;#34;_internal/twitter_cards.html&amp;#34; . -}}&lt;/code&gt; somewhere in your own copy.
(For reference, &lt;a href=&#34;https://github.com/gohugoio/hugo/blob/25a6b33693992e8c6d9c35bc1e781ce3e2bca4be/tpl/tplimpl/embedded/templates/twitter_cards.html&#34;&gt;heres the source code for the internal template&lt;/a&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;You could also roll your own Twitter cards but I recommend to modify the internal template instead fitting your specific needs.
(Copy the internal template from the given link, create it as a partial in &lt;code&gt;layouts/partials/twitter_cards.html&lt;/code&gt;, modify it, and insert the template with &lt;code&gt;{{- partial &amp;#34;twitter_cards.html&amp;#34; -}}&lt;/code&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_open_graph_protocol&#34;&gt;Open Graph protocol&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Next up, were implementing &lt;a href=&#34;https://opengraphprotocol.org/&#34;&gt;Open Graph protocol&lt;/a&gt; for our webpages.
Commonly used for making suitable format when sharing the content on certain sites like Facebook.
(Be sure to copy the &lt;code&gt;head&lt;/code&gt; partial first in your own layout folder.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Similar to Twitter cards, Hugo has &lt;a href=&#34;https://gohugo.io/templates/internal/#open-graph&#34;&gt;an internal template for this&lt;/a&gt;.
Simply add &lt;code&gt;{{- template &amp;#34;_internal/opengraph.html&amp;#34; . -}}&lt;/code&gt; somewhere in your own copy.
(For reference, &lt;a href=&#34;https://github.com/gohugoio/hugo/blob/25a6b33693992e8c6d9c35bc1e781ce3e2bca4be/tpl/tplimpl/embedded/templates/opengraph.html&#34;&gt;heres the source code for the internal template&lt;/a&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If you want more control and customized version of the output, I recommend to copy the internal template and create a partial (e.g., &lt;code&gt;layouts/partials/opengraph.html&lt;/code&gt;) and modify it.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_an_archive_page&#34;&gt;An archive page&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This will add an archive page similar to archive pages &lt;a href=&#34;https://davidtranscend.com/archives/&#34;&gt;like&lt;/a&gt; &lt;a href=&#34;https://lukesmith.xyz/blogindex.html&#34;&gt;these&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;{{- define &amp;#34;main&amp;#34; -}}
&amp;lt;h1&amp;gt;{{ .Title }}&amp;lt;/h1&amp;gt;
{{ .Content }}
&amp;lt;hr&amp;gt;
{{- /* Creating a section that lists out regular pages by year */ -}}
{{ range $.Site.RegularPages.GroupByPublishDate &amp;#34;2006&amp;#34; }}
{{- /* Skip regular pages with an invalid creation date string. */ -}}
{{- /* This is convenient if we want to exclude certain posts to be listed by giving no value to `date` in the frontmatter. */ -}}
{{- /* We will also exclude hidden pages. */ -}}
{{ if ne .Key &amp;#34;0001&amp;#34; }}
&amp;lt;section data-year=&amp;#34;{{ .Key }}&amp;#34;&amp;gt;
&amp;lt;h2 id=&amp;#34;{{ .Key }}&amp;#34;&amp;gt;{{ .Key }}&amp;lt;/h2&amp;gt;
&amp;lt;ul&amp;gt;
{{- range where .Pages &amp;#34;Params.hidden&amp;#34; &amp;#34;!=&amp;#34; true -}}
&amp;lt;li&amp;gt;
&amp;lt;date&amp;gt;{{ .Date.Format &amp;#34;2006-01-02&amp;#34; }}&amp;lt;/date&amp;gt; -
&amp;lt;a aria-label=&amp;#34;{{ .Title }}&amp;#34; href=&amp;#34;{{ .Permalink }}&amp;#34;&amp;gt;{{ .Title }}&amp;lt;/a&amp;gt;
&amp;lt;/li&amp;gt;
{{- end -}}
&amp;lt;/ul&amp;gt;
&amp;lt;/section&amp;gt;
{{- end }}
{{ end }}
{{- end -}}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;We will simply add this as a layout in our customized theme.
Lets call it &lt;code&gt;archives&lt;/code&gt; so we have to add a file in &lt;code&gt;layouts/_default/archives.html&lt;/code&gt; then set a page of our project with the &lt;code&gt;layout&lt;/code&gt; key in the frontmatter.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;We want the archives page to be accessed at &lt;code&gt;$.Site.BaseURL/archives&lt;/code&gt; so well simply create &lt;code&gt;archives.adoc&lt;/code&gt; (&lt;a href=&#34;https://gohugo.io/content-management/formats/#list-of-content-formats&#34;&gt;any valid content files with certain file extensions can do&lt;/a&gt;, Im using &lt;a href=&#34;https://asciidoctor.org/&#34;&gt;Asciidoctor&lt;/a&gt;) with the following example content.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoctor&#34; data-lang=&#34;asciidoctor&#34;&gt;---
title: &amp;#34;Archives&amp;#34;
layout: &amp;#34;archive&amp;#34;
---
= Archives
This is the archives of the century.&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_configurable_social_media_links&#34;&gt;Configurable social media links&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Most themes offer quick social media links with site configuration.
However, it is only limited to popular media sites such as Facebook, Twitter, Instagram, GitHub, etc.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;To get around this, well make use of &lt;a href=&#34;https://gohugo.io/templates/data-templates/&#34;&gt;data templates&lt;/a&gt;.
Lets create a quick game plan how does it work.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The data is a top-level dictionary/object with each key contains an object with the following fields.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;url&lt;/code&gt; is the… contact link itself and it is required to have it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;name&lt;/code&gt; is the text to appear in the output.
Also required to have.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;weight&lt;/code&gt; is an integer similar to how Hugo sorts the pages with the lower weight having high precedence;
if this key is absent, it will be interpreted as 0.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;And heres the data example in TOML which is placed in &lt;code&gt;data/contact.toml&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;[github]
name = &amp;#34;GitHub&amp;#34;
url = &amp;#34;https://github.com/foo-dogsquared&amp;#34;
[gitlab]
name = &amp;#34;Gitlab&amp;#34;
url = &amp;#34;https://gitlab.com/foo-dogsquared&amp;#34;
[keybase]
name = &amp;#34;Keybase&amp;#34;
url = &amp;#34;https://keybase.io/foo_dogsquared&amp;#34;
weight = -1
[twitter]
name = &amp;#34;Twitter&amp;#34;
url = &amp;#34;https://twitter.com/foo_dogsquared&amp;#34;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;I want my Keybase profile to appear first than anything else for whatever reason so the &lt;code&gt;weight&lt;/code&gt; key is set to -1.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;With this data, we can then create a template out of it.
Ive put the following template in a partial named &lt;code&gt;contacts&lt;/code&gt; (i.e., &lt;code&gt;layouts/partials/contacts&lt;/code&gt;).&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-go&#34; data-lang=&#34;go&#34;&gt;&amp;lt;address&amp;gt;
{{- range (sort $.Site.Data.contact &amp;#34;weight&amp;#34; &amp;#34;asc&amp;#34;) -}}
| &amp;lt;a rel=&amp;#34;me&amp;#34; href=&amp;#34;{{ .url }}&amp;#34;&amp;gt;{{- .name -}}&amp;lt;/a&amp;gt; |
{{- end -}}
&amp;lt;/address&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;A suggestion (and an exercise) for extending this is to create image links.
Maybe add another key named &lt;code&gt;image&lt;/code&gt; that accepts either URL.
The &lt;code&gt;name&lt;/code&gt; would now be the image alternative text.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content>
</entry><entry>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</id>
<title type="text">RSS, Atom, and JSON Feed Support</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" hreflang="en" title="RSS, Atom, and JSON Feed Support"/><author>
@ -18,24 +262,51 @@
<name>Jane Doe</name>
</author><category term="this is a test tag"/><category term="tag2"/>
<published>2019-09-04T17:22:44+08:00</published>
<updated>2020-10-24T16:00:52+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Web feeds are one of the most common ways for a visitor to keep up with someone who creates content.
Nowadays, most social media has that feature such as the subscribing YouTube channels, following Twitter accounts, and watching Deviantart artists.
Outside of those, we have simpler things like &lt;a href=&#34;https://www.rssboard.org/rss-2-0-1&#34;&gt;RSS&lt;/a&gt; and &lt;a href=&#34;https://www.jsonfeed.org/&#34;&gt;JSON&lt;/a&gt; feeds where they are just plain text files describing the content.&lt;/p&gt;
<updated>2022-05-13T18:08:06+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This theme supports RSS, Atom, and JSON feed output for more ways of publishing web content for your visitors.
It is also suitable for reading content from feed readers.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The Contentful theme doesnt have a web feed export but we can have it with &lt;a href=&#34;https://gohugo.io/hugo-modules/theme-components/&#34;&gt;theme components&lt;/a&gt;.
For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared/hugo-web-feeds&#34;&gt;web feed component&lt;/a&gt; created by &lt;a href=&#34;https://foo-dogsquared.github.io/&#34;&gt;foo-dogsquared&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are the following documents used as references for the creation of the output feed templates.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://tools.ietf.org/html/rfc4287&#34;&gt;Atom 1.0 - IETF RFC4287&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://jsonfeed.org/version/1&#34;&gt;JSON Feed version 1 specifications&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://cyber.harvard.edu/rss/rss.html&#34;&gt;RSS 2.0 specifications&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If youre settling with this option, heres an example template for installing the web feed module and exporting all of the feed formats all in one fell swoop.&lt;/p&gt;
&lt;p&gt;In this demo, it is enabled and you should be able to see them through the following links:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;RSS&lt;/strong&gt;: &lt;code&gt;$HUGO_URL/index.rss&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Atom&lt;/strong&gt;: &lt;code&gt;$HUGO_URL/index.atom&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;JSON&lt;/strong&gt;: &lt;code&gt;$HUGO_URL/index.json&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;For enabling output feeds, utilize the &lt;a href=&#34;https://gohugo.io/templates/output-formats&#34;&gt;output formats&lt;/a&gt; in your site configuration.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;If youre settling with this option, heres an example template for enabling all of the feed formats.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;[[module.imports]]
path = &amp;#34;github.com/foo-dogsquared/hugo-web-feeds&amp;#34;
# Visit the following for more information:
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;# Visit the following for more information:
# https://gohugo.io/templates/output-formats
# Defining the media type of the output formats
@ -48,8 +319,6 @@ For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared
[mediaTypes.&amp;#34;application/rss+xml&amp;#34;]
suffixes = [&amp;#34;rss&amp;#34;, &amp;#34;rss.xml&amp;#34;] # You can remove the &amp;#34;rss.xml&amp;#34; if you want
[mediaTypes.&amp;#34;application/feed+json&amp;#34;]
suffixes = [&amp;#34;json&amp;#34;] # You can remove the &amp;#34;rss.xml&amp;#34; if you want
# Including all of the feed output formats in the build
@ -63,7 +332,7 @@ For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared
baseName = &amp;#34;feed&amp;#34;
[outputFormats.Json]
mediaType = &amp;#34;application/feed+json&amp;#34;
mediaType = &amp;#34;application/json&amp;#34;
baseName = &amp;#34;feed&amp;#34;
@ -77,283 +346,5 @@ For this demo, well use the &lt;a href=&#34;https://github.com/foo-dogsquared
section = [&amp;#34;HTML&amp;#34;, &amp;#34;JSON&amp;#34;, &amp;#34;RSS&amp;#34;, &amp;#34;ATOM&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content>
</entry><entry>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</id>
<title type="text">Asciidoctor Extended Syntax Guide</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" hreflang="en" title="Asciidoctor Extended Syntax Guide"/><category term="asciidoctor"/><category term="guide"/>
<published>2019-08-29T22:09:16+08:00</published>
<updated>2020-05-12T16:40:21+08:00</updated><content type="html">
&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The purpose of this article to make sure not-so-common features of
Asciidoctor (i.e. admonition blocks, callouts) are styled and
fit to the theme.
It also serves as a quick introduction to more Asciidoctor as well.
Feel free to steal this if you want a template for this.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_admonition_blocks&#34;&gt;Admonition blocks&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Admonition blocks contain content that are not a part of the main
content but youll want to draw attention to the audience anyways.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;By default, Asciidoctor provides five labels for admonitions:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;ulist&#34;&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TIP&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NOTE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;IMPORTANT&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;CAUTION&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WARNING&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&#34;sidebarblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;div class=&#34;title&#34;&gt;&lt;code&gt;CAUTION&lt;/code&gt; vs &lt;code&gt;WARNING&lt;/code&gt;&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;As the &lt;a href=&#34;https://asciidoctor.org/docs/user-manual/#admonition&#34;&gt;user manual&lt;/a&gt;
has said, &lt;code&gt;CAUTION&lt;/code&gt; and &lt;code&gt;WARNING&lt;/code&gt; should be used with different semantics.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;&lt;code&gt;CAUTION&lt;/code&gt; basically advises the user to observe care.
&lt;code&gt;WARNING&lt;/code&gt; warns the user about the dangers or consequences thatll exist.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Writing an admonition is intuitively easy, simply write the label
in all uppercase and append with a colon.
Then write the content after.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoc&#34; data-lang=&#34;asciidoc&#34;&gt;TIP: Lorem ipsum dolor sit amet consectetur adipiscing elit varius cursus
orci nulla, fames nisl sodales scelerisque eu consequat sem imperdiet ac mi
vivamus tempor, accumsan ad justo odio viverra praesent senectus class egestas duis.&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Itll render as this:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock tip&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Tip&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Lorem ipsum dolor sit amet consectetur adipiscing elit varius cursus
orci nulla, fames nisl sodales scelerisque eu consequat sem imperdiet ac mi
vivamus tempor, accumsan ad justo odio viverra praesent senectus class egestas duis.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;In case you want to style the labels differently such as assigning
appropriate colors or an icon to the rest of the labels,
heres the rest of them:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock note&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Note&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Malesuada mattis aenean ultrices netus cursus viverra vivamus ultricies,
velit molestie penatibus phasellus in ante luctus, habitant suspendisse eros
turpis taciti risus himenaeos.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock important&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Important&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Velit fringilla feugiat nibh id faucibus scelerisque facilisis ac,
suscipit quisque odio libero ullamcorper curabitur fames nascetur, elementum
tristique hac nisl etiam dictumst dapibus.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock caution&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Caution&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Tempus dui aptent tempor torquent lacinia sem cursus porta cras semper
accumsan feugiat, himenaeos mi ullamcorper pharetra enim class eget auctor conubia
metus curabitur.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&#34;admonitionblock warning&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;div class=&#34;title&#34;&gt;Warning&lt;/div&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
Aliquet ut maecenas mollis id enim nibh suscipit quisque posuere cum fusce,
dignissim ad curabitur odio ac diam pharetra platea vivamus eleifend.
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_callouts&#34;&gt;Callouts&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Callouts are used to add annotations within a verbatim block.
This is especially useful for code listings in order to effectively explain what
is going on within the code.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Heres an example of using callouts.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoc&#34; data-lang=&#34;asciidoc&#34;&gt;[source,python]
----
from pathlib import Path
from re import compile, match
current_directory = Path(&amp;#34;.&amp;#34;) &amp;lt;1&amp;gt;
notes_directory = current_directory / &amp;#34;notes/&amp;#34; &amp;lt;2&amp;gt;
----
&amp;lt;1&amp;gt; Created a Path object
&amp;lt;2&amp;gt; Appending a Path object with &amp;#34;/&amp;#34;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;And itll render as:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;from pathlib import Path
from re import compile, match
current_directory = Path(&amp;#34;.&amp;#34;) # &lt;b class=&#34;conum&#34;&gt;(1)&lt;/b&gt;
notes_directory = current_directory / &amp;#34;notes/&amp;#34; # &lt;b class=&#34;conum&#34;&gt;(2)&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;colist arabic&#34;&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Created a &lt;code&gt;Path&lt;/code&gt; object&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Appending a &lt;code&gt;Path&lt;/code&gt; object with &amp;#34;/&amp;#34;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;One of the most important you should style is the callout number
on the code listings block.
Normally, when a user wants to copy-paste (even though I dont personally
encourage it), the callout number gets in the way and they have to
manually remove them which can be annoying.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Either attach the property &lt;code&gt;user-select&lt;/code&gt; with it or take a part from the
default Asciidoctor stylesheet and include it in your own stylesheet.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_passthroughs&#34;&gt;Passthroughs&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;A &lt;a href=&#34;https://asciidoctor.org/docs/user-manual/#passthroughs&#34;&gt;passthrough&lt;/a&gt; passes the input as it is on the final output.
This is useful for web-based outputs, for example passing raw HTML for interactive scripts or to create a live result.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Below is a very simple example with a &lt;a href=&#34;https://p5js.org/&#34;&gt;p5.js&lt;/a&gt; sketch.&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&#34;example-sketch&#34;&gt;&lt;/div&gt;
&lt;script src=&#34;https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.js&#34;&gt;&lt;/script&gt;
&lt;script&gt;
const sketchuuuuu = ( sketch ) =&gt; {
let x = 100;
let y = 100;
sketch.setup = () =&gt; {
sketch.createCanvas(300, 380);
};
sketch.draw = () =&gt; {
sketch.background(0);
sketch.fill(255);
sketch.rect(x,y,50,50);
sketch.ellipse(sketch[&#34;mouseX&#34;], sketch[&#34;mouseY&#34;], 20);
};
};
let example_sketch = new p5(sketchuuuuu, &#34;example-sketch&#34;)
&lt;/script&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Here is the input from the source code of this document.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-asciidoctor&#34; data-lang=&#34;asciidoctor&#34;&gt;++++
&amp;lt;div id=&amp;#34;example-sketch&amp;#34;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;script src=&amp;#34;https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
const sketchuuuuu = ( sketch ) =&amp;gt; {
let x = 100;
let y = 100;
sketch.setup = () =&amp;gt; {
sketch.createCanvas(300, 380);
};
sketch.draw = () =&amp;gt; {
sketch.background(0);
sketch.fill(255);
sketch.rect(x,y,50,50);
sketch.ellipse(sketch[&amp;#34;mouseX&amp;#34;], sketch[&amp;#34;mouseY&amp;#34;], 20);
};
};
let example_sketch = new p5(sketchuuuuu, &amp;#34;example-sketch&amp;#34;)
&amp;lt;/script&amp;gt;
++++&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;This is the closest instance of &lt;a href=&#34;https://en.wikipedia.org/wiki/Literate_programming&#34;&gt;literate programming&lt;/a&gt; in the web when using Asciidoctor.
(Sadly, not as flexible or cool as &lt;a href=&#34;https://orgmode.org/&#34;&gt;Org-Mode&lt;/a&gt; or &lt;a href=&#34;https://jupyter.org/&#34;&gt;Jupyter Notebooks&lt;/a&gt;.)&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content>
</entry></feed>

File diff suppressed because one or more lines are too long

View File

@ -4,13 +4,23 @@
<title>Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/</link>
<description>Recent content on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 21:36:34 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.rss" rel="self" type="application/rss+xml" />
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/" rel="canonical" type="text/html" />
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.json" rel="alternate" type="application/feed+json" />
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.atom" rel="alternate" type="application/atom+xml" />
<item>
<title>Extending Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</link>
<category>theme</category>
<category>extending</category>
<pubDate>Tue, 12 May 2020 17:25:55 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</guid>
<description></description>
</item>
<item>
<title>RSS, Atom, and JSON Feed Support</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</link>
@ -21,15 +31,5 @@
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/</guid>
<description></description>
</item>
<item>
<title>Asciidoctor Extended Syntax Guide</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</link>
<category>asciidoctor</category>
<category>guide</category>
<pubDate>Thu, 29 Aug 2019 22:09:16 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/" /></head></html>
<!DOCTYPE html>
<html lang="tl">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tl/articles/rss-atom-and-json-feed-support/">
</head>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Contentful</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Contentful" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/" /><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.json" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.rss" /><link rel="alternate" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.atom" />
<meta itemprop="name" content="Contentful">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/" /><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.json" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.rss" /><link rel="alternate" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/feed.atom" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -45,67 +37,106 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" aria-label="Hidden post test">Hidden post test</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" aria-label="Extending Contentful">Extending Contentful</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" aria-label="RSS, Atom, and JSON Feed Support">RSS, Atom, and JSON Feed Support</a></h1>
<div class="post__meta">
<time datetime="2019-09-04">2019-09-04</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">
2019-09-04
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
<span data-authors="[{&#34;name&#34;:&#34;John Doe&#34;},{&#34;name&#34;:&#34;Jane Doe&#34;}]">John Doe, et al.</span>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" aria-label="Asciidoctor Extended Syntax Guide">Asciidoctor Extended Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-29">2019-08-29</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">
2019-08-29
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" aria-label="Emoji Support">Emoji Support</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" aria-label="MathJax Support for Asciidoctor">MathJax Support for Asciidoctor</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" aria-label="MathJax Support for Markdown">MathJax Support for Markdown</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" aria-label="Asciidoctor Syntax Guide">Asciidoctor Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-27">2019-08-27</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">
2019-08-27
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" aria-label="Markdown Syntax Guide">Markdown Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-26">2019-08-26</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">
2019-08-26
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" aria-label="Asciidoctor Article Template">Asciidoctor Article Template</a></h1>
<div class="post__meta">
<time datetime="2019-08-25">2019-08-25</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">
2019-08-25
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -134,6 +165,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/">
</head>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Configurable list of contacts</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Most themes offer quick social media links with site configuration. However, it is only limited to popular media sites such as Facebook, Twitter, Instagram, GitHub, etc.
@ -20,17 +21,20 @@
The data is a top-level dictionary/object with each key contains an object with the following fields.
url is the… contact link itself and it is required to have it." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" /><meta property="article:section" content="recipes" />
<meta property="article:published_time" content="2020-10-20T20:38:24+08:00" />
<meta property="article:modified_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Configurable list of contacts">
<meta itemprop="description" content="Most themes offer quick social media links with site configuration. However, it is only limited to popular media sites such as Facebook, Twitter, Instagram, GitHub, etc.
To get around this, well make use of data templates. Lets create a quick game plan how does it work.
The data is a top-level dictionary/object with each key contains an object with the following fields.
url is the… contact link itself and it is required to have it."><meta itemprop="datePublished" content="2020-10-20T20:38:24+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="259">
<meta itemprop="keywords" content="" /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -41,11 +45,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -53,29 +52,21 @@
<header>
<h1>Configurable list of contacts</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-10-20 20:38:24 &#43;0800 &#43;0800">Created: <time datetime="2020-10-20">2020-10-20</time></p>
<p data-content-modification-date="2020-10-24 15:49:14 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -172,6 +163,6 @@ The <code>name</code> would now be the image alternative text.</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Creating an archive page</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="This will add an archive page similar to archive pages like these.
@ -14,17 +15,18 @@
<meta property="og:description" content="This will add an archive page similar to archive pages like these.
{{- define &#34;main&#34; -}} &lt;h1&gt;{{ .Title }}&lt;/h1&gt; {{ .Content }} &lt;hr&gt; {{- /* Creating a section that lists out regular pages by year */ -}} {{ range $.Site.RegularPages.GroupByPublishDate &#34;2006&#34; }} {{- /* Skip regular pages with an invalid creation date string. */ -}} {{- /* This is convenient if we want to exclude certain posts to be listed by giving no value to `date` in the frontmatter." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/" /><meta property="article:section" content="recipes" />
<meta property="article:published_time" content="2020-10-20T20:36:55+08:00" />
<meta property="article:modified_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Creating an archive page">
<meta itemprop="description" content="This will add an archive page similar to archive pages like these.
{{- define &#34;main&#34; -}} &lt;h1&gt;{{ .Title }}&lt;/h1&gt; {{ .Content }} &lt;hr&gt; {{- /* Creating a section that lists out regular pages by year */ -}} {{ range $.Site.RegularPages.GroupByPublishDate &#34;2006&#34; }} {{- /* Skip regular pages with an invalid creation date string. */ -}} {{- /* This is convenient if we want to exclude certain posts to be listed by giving no value to `date` in the frontmatter."><meta itemprop="datePublished" content="2020-10-20T20:36:55+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="233">
<meta itemprop="keywords" content="" /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -35,11 +37,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -47,29 +44,21 @@
<header>
<h1>Creating an archive page</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-10-20 20:36:55 &#43;0800 &#43;0800">Created: <time datetime="2020-10-20">2020-10-20</time></p>
<p data-content-modification-date="2020-10-24 15:49:14 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -151,6 +140,6 @@ This is the archives of the century.</code></pre>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Customizing your head</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Lets start with the most basic and perhaps most useful customization: modifying the &lt;head&gt;. This is useful for adding your own CSS and JavaScript files, changing certain metadata, or adding icons.
@ -17,17 +18,19 @@
First, copy the head partial from the theme (theme/contentful/layouts/partials/head.html) to your own (layouts/partials/head.html). Were simply taking advantage of Hugos lookup order where weve override the head partial with our own copy.
Then, feel free to add your own (or others&#39;) scripts and stylesheets, icons and other metadata, or whatever suitable things." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" /><meta property="article:section" content="recipes" />
<meta property="article:published_time" content="2020-10-20T20:29:42+08:00" />
<meta property="article:modified_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Customizing your head">
<meta itemprop="description" content="Lets start with the most basic and perhaps most useful customization: modifying the &lt;head&gt;. This is useful for adding your own CSS and JavaScript files, changing certain metadata, or adding icons.
First, copy the head partial from the theme (theme/contentful/layouts/partials/head.html) to your own (layouts/partials/head.html). Were simply taking advantage of Hugos lookup order where weve override the head partial with our own copy.
Then, feel free to add your own (or others&#39;) scripts and stylesheets, icons and other metadata, or whatever suitable things."><meta itemprop="datePublished" content="2020-10-20T20:29:42+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="296">
<meta itemprop="keywords" content="seo," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -38,11 +41,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -50,29 +48,21 @@
<header>
<h1>Customizing your head</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-10-20 20:29:42 &#43;0800 &#43;0800">Created: <time datetime="2020-10-20">2020-10-20</time></p>
<p data-content-modification-date="2020-10-24 15:49:14 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -151,6 +141,6 @@ Though, you have to set it as the default Markdown parser.</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -2,8 +2,8 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Contentful</title>
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.rss"/><rights>© 2021 </rights>
<generator uri="https://gohugo.io/" version="0.76.0">Hugo</generator>
<link rel="self" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.atom"/><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/"/><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.json"/><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.rss"/><rights>© 2022 </rights>
<generator uri="https://gohugo.io/" version="0.98.0">Hugo</generator>
<updated>2020-05-12T17:25:55+08:00</updated>
<id>https://foo-dogsquared.github.io/hugo-theme-contentful/</id><icon>https://foo-dogsquared.github.io/hugo-theme-contentful/icon.png</icon>
<author>
@ -14,7 +14,7 @@
<title type="text">Simple Icons integration with Hugo modules</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" hreflang="en" title="Simple Icons integration with Hugo modules"/><category term="tag1"/><category term="tag2"/>
<published>2020-10-20T21:36:34+08:00</published>
<updated>2020-10-24T15:49:14+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
<updated>2022-05-13T18:08:06+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/simple-icons/simple-icons&#34;&gt;Simple Icons&lt;/a&gt; is a free and open source icon set for popular brands including social media sites such as Twitter, YouTube, Twitch, GitHub, and so on.
This is a perfect component for getting social media icons.&lt;/p&gt;
&lt;/div&gt;
@ -105,7 +105,7 @@ For now, well use text as our fallback even though its not going to be pre
<title type="text">Configurable list of contacts</title>
<link rel="alternate" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" hreflang="en" title="Configurable list of contacts"/>
<published>2020-10-20T20:38:24+08:00</published>
<updated>2020-10-24T15:49:14+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
<updated>2022-05-13T18:08:06+08:00</updated><content type="html">&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Most themes offer quick social media links with site configuration.
However, it is only limited to popular media sites such as Facebook, Twitter, Instagram, GitHub, etc.&lt;/p&gt;
&lt;/div&gt;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<title>Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/</link>
<description>Recent content on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 12 May 2020 17:25:55 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title></title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Extending a Hugo theme is nothing new and a few places provide a place for the most common extensions. In this section, Ill be listing a few personal recipes Ive always used for extending a Hugo theme. Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.
@ -13,15 +14,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" /><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.json" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.rss" /><link rel="alternate" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.atom" />
<meta itemprop="name" content="">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" /><link rel="alternate" type="application/feed+json" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.json" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.rss" /><link rel="alternate" type="application/atom+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/feed.atom" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -32,11 +29,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -52,48 +44,60 @@ Though this only applies specifically to Contentful and may need some tweaking w
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" aria-label="Simple Icons integration with Hugo modules">Simple Icons integration with Hugo modules</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/configurable-list-of-contacts/" aria-label="Configurable list of contacts">Configurable list of contacts</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:38:24 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/creating-an-archive-page/" aria-label="Creating an archive page">Creating an archive page</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:36:55 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" aria-label="Open graph protocol">Open graph protocol</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" aria-label="Twitter cards">Twitter cards</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" aria-label="Customizing your head">Customizing your head</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:29:42 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -122,6 +126,6 @@ Though this only applies specifically to Contentful and may need some tweaking w
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Open graph protocol</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Next up, were implementing Open Graph protocol for our webpages. Commonly used for making suitable format when sharing the content on certain sites like Facebook. (Be sure to copy the head partial first in your own layout folder.)
@ -14,17 +15,18 @@
<meta property="og:description" content="Next up, were implementing Open Graph protocol for our webpages. Commonly used for making suitable format when sharing the content on certain sites like Facebook. (Be sure to copy the head partial first in your own layout folder.)
Similar to Twitter cards, Hugo has an internal template for this. Simply add {{- template &#34;_internal/opengraph.html&#34; . -}} somewhere in your own copy. (For reference, heres the source code for the internal template." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" /><meta property="article:section" content="recipes" />
<meta property="article:published_time" content="2020-10-20T20:35:39+08:00" />
<meta property="article:modified_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Open graph protocol">
<meta itemprop="description" content="Next up, were implementing Open Graph protocol for our webpages. Commonly used for making suitable format when sharing the content on certain sites like Facebook. (Be sure to copy the head partial first in your own layout folder.)
Similar to Twitter cards, Hugo has an internal template for this. Simply add {{- template &#34;_internal/opengraph.html&#34; . -}} somewhere in your own copy. (For reference, heres the source code for the internal template."><meta itemprop="datePublished" content="2020-10-20T20:35:39+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="98">
<meta itemprop="keywords" content="seo,social media," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -35,11 +37,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -47,29 +44,21 @@
<header>
<h1>Open graph protocol</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-10-20 20:35:39 &#43;0800 &#43;0800">Created: <time datetime="2020-10-20">2020-10-20</time></p>
<p data-content-modification-date="2020-10-24 15:49:14 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -109,6 +98,6 @@ Simply add <code>{{- template &#34;_internal/opengraph.html&#34; . -}}</code> s
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/">
</head>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Simple Icons integration with Hugo modules</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Simple Icons is a free and open source icon set for popular brands including social media sites such as Twitter, YouTube, Twitch, GitHub, and so on. This is a perfect component for getting social media icons.
@ -14,17 +15,18 @@
<meta property="og:description" content="Simple Icons is a free and open source icon set for popular brands including social media sites such as Twitter, YouTube, Twitch, GitHub, and so on. This is a perfect component for getting social media icons.
Usually to make use of this icon set in Hugo, you would have to download each icon you need. Luckily, theres an easier way to make use of the set with Hugo modules. In the future, Hugo will have an easier way to integrate with JavaScript modules." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" /><meta property="article:section" content="recipes" />
<meta property="article:published_time" content="2020-10-20T21:36:34+08:00" />
<meta property="article:modified_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Simple Icons integration with Hugo modules">
<meta itemprop="description" content="Simple Icons is a free and open source icon set for popular brands including social media sites such as Twitter, YouTube, Twitch, GitHub, and so on. This is a perfect component for getting social media icons.
Usually to make use of this icon set in Hugo, you would have to download each icon you need. Luckily, theres an easier way to make use of the set with Hugo modules. In the future, Hugo will have an easier way to integrate with JavaScript modules."><meta itemprop="datePublished" content="2020-10-20T21:36:34+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="412">
<meta itemprop="keywords" content="tag1,tag2," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -35,11 +37,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -47,29 +44,21 @@
<header>
<h1>Simple Icons integration with Hugo modules</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-10-20 21:36:34 &#43;0800 &#43;0800">Created: <time datetime="2020-10-20">2020-10-20</time></p>
<p data-content-modification-date="2020-10-24 15:49:14 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -181,6 +170,6 @@ For now, well use text as our fallback even though its not going to be pre
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Twitter cards</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="This will add Twitter cards for your webpages. (Be sure to copy the head partial first in your own layout folder.)
@ -17,17 +18,19 @@
Thankfully, Hugo already has an internal template for Twitter cards. Simply add {{- template &#34;_internal/twitter_cards.html&#34; . -}} somewhere in your own copy. (For reference, heres the source code for the internal template.)
You could also roll your own Twitter cards but I recommend to modify the internal template instead fitting your specific needs." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" /><meta property="article:section" content="recipes" />
<meta property="article:published_time" content="2020-10-20T20:31:32+08:00" />
<meta property="article:modified_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="Twitter cards">
<meta itemprop="description" content="This will add Twitter cards for your webpages. (Be sure to copy the head partial first in your own layout folder.)
Thankfully, Hugo already has an internal template for Twitter cards. Simply add {{- template &#34;_internal/twitter_cards.html&#34; . -}} somewhere in your own copy. (For reference, heres the source code for the internal template.)
You could also roll your own Twitter cards but I recommend to modify the internal template instead fitting your specific needs."><meta itemprop="datePublished" content="2020-10-20T20:31:32+08:00" />
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="100">
<meta itemprop="keywords" content="twitter,social media," /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -38,11 +41,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -50,29 +48,21 @@
<header>
<h1>Twitter cards</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-publication-date="2020-10-20 20:31:32 &#43;0800 &#43;0800">Created: <time datetime="2020-10-20">2020-10-20</time></p>
<p data-content-modification-date="2020-10-24 15:49:14 &#43;0800 &#43;0800">Updated: <time datetime="2020-10-24">2020-10-24</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
</div>
<hr>
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -112,6 +102,6 @@ Simply add <code>{{- template &#34;_internal/twitter_cards.html&#34; . -}}</cod
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -4,14 +4,14 @@
<sitemap>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/en/sitemap.xml</loc>
<lastmod>2020-10-24T16:00:52+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</sitemap>
<sitemap>
<loc>https://foo-dogsquared.github.io/hugo-theme-contentful/tl/sitemap.xml</loc>
<lastmod>2020-05-12T16:40:21+08:00</lastmod>
<lastmod>2022-05-13T18:08:06+08:00</lastmod>
</sitemap>

View File

@ -4,7 +4,7 @@
<title>asciidoctor on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/</link>
<description>Recent content in asciidoctor on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Thu, 29 Aug 2019 22:09:16 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>asciidoctor</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/feed.rss" />
<meta itemprop="name" content="asciidoctor">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,32 +38,40 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" aria-label="Asciidoctor Extended Syntax Guide">Asciidoctor Extended Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-29">2019-08-29</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">
2019-08-29
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" aria-label="MathJax Support for Asciidoctor">MathJax Support for Asciidoctor</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" aria-label="Asciidoctor Syntax Guide">Asciidoctor Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-27">2019-08-27</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">
2019-08-27
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" aria-label="Asciidoctor Article Template">Asciidoctor Article Template</a></h1>
<div class="post__meta">
<time datetime="2019-08-25">2019-08-25</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">
2019-08-25
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -100,6 +100,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/asciidoctor/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>emoji on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/</link>
<description>Recent content in emoji on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Wed, 28 Aug 2019 12:11:22 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>emoji</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/feed.rss" />
<meta itemprop="name" content="emoji">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,10 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" aria-label="Emoji Support">Emoji Support</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -76,6 +70,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/emoji/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>extending on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/</link>
<description>Recent content in extending on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 12 May 2020 17:25:55 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/feed.rss" rel="self" type="application/rss+xml" />
@ -19,5 +19,15 @@
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/</guid>
<description></description>
</item>
<item>
<title>Extending Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</link>
<category>theme</category>
<category>extending</category>
<pubDate>Tue, 12 May 2020 17:25:55 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>extending</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/feed.rss" />
<meta itemprop="name" content="extending">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" aria-label=""></a></h1>
<div class="post__meta">
<time datetime="2020-05-12">2020-05-12</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" aria-label="Extending Contentful">Extending Contentful</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -76,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/extending/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>Tags on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/</link>
<description>Recent content in Tags on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 21:36:34 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -4,7 +4,7 @@
<title>guide on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/</link>
<description>Recent content in guide on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Thu, 29 Aug 2019 22:09:16 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>guide</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/feed.rss" />
<meta itemprop="name" content="guide">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,56 +38,70 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/" aria-label="Asciidoctor Extended Syntax Guide">Asciidoctor Extended Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-29">2019-08-29</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">
2019-08-29
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/" aria-label="Emoji Support">Emoji Support</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" aria-label="MathJax Support for Asciidoctor">MathJax Support for Asciidoctor</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" aria-label="MathJax Support for Markdown">MathJax Support for Markdown</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/" aria-label="Asciidoctor Syntax Guide">Asciidoctor Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-27">2019-08-27</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">
2019-08-27
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" aria-label="Markdown Syntax Guide">Markdown Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-26">2019-08-26</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">
2019-08-26
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/" aria-label="Asciidoctor Article Template">Asciidoctor Article Template</a></h1>
<div class="post__meta">
<time datetime="2019-08-25">2019-08-25</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">
2019-08-25
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -124,6 +130,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/guide/">
</head>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>Tags</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/feed.rss" />
<meta itemprop="name" content="Tags">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,72 +28,239 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<h1>Tags</h1>
<ul>
<li>
<a href="/hugo-theme-contentful/tags/asciidoctor/">asciidoctor</a> (4)
</li>
<li>
<a href="/hugo-theme-contentful/tags/emoji/">emoji</a> (1)
</li>
<li>
<a href="/hugo-theme-contentful/tags/extending/">extending</a> (1)
</li>
<li>
<a href="/hugo-theme-contentful/tags/guide/">guide</a> (7)
</li>
<li>
<a href="/hugo-theme-contentful/tags/markdown/">markdown</a> (2)
</li>
<li>
<a href="/hugo-theme-contentful/tags/mathjax/">mathjax</a> (2)
</li>
<li>
<a href="/hugo-theme-contentful/tags/seo/">seo</a> (2)
</li>
<li>
<a href="/hugo-theme-contentful/tags/social-media/">social media</a> (2)
</li>
<li>
<a href="/hugo-theme-contentful/tags/tag1/">tag1</a> (2)
</li>
<li>
<a href="/hugo-theme-contentful/tags/tag2/">tag2</a> (3)
</li>
<li>
<a href="/hugo-theme-contentful/tags/theme/">theme</a> (1)
</li>
<li>
<a href="/hugo-theme-contentful/tags/this-is-a-test-tag/">this is a test tag</a> (1)
</li>
<li>
<a href="/hugo-theme-contentful/tags/twitter/">twitter</a> (1)
</li>
</ul>
<section id="asciidoctor">
<header class="taxonomy__header">
<h2>asciidoctor</h2>
<small>(<a href="/hugo-theme-contentful/tags/asciidoctor/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">2019-08-29</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/">Asciidoctor Extended Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/">MathJax Support for Asciidoctor</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">2019-08-27</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/">Asciidoctor Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">2019-08-25</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/">Asciidoctor Article Template</a>
</li>
</ul>
</section>
<section id="emoji">
<header class="taxonomy__header">
<h2>emoji</h2>
<small>(<a href="/hugo-theme-contentful/tags/emoji/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/">Emoji Support</a>
</li>
</ul>
</section>
<section id="extending">
<header class="taxonomy__header">
<h2>extending</h2>
<small>(<a href="/hugo-theme-contentful/tags/extending/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/"></a>
</li>
<li class="taxonomy__page">
<date datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/">Extending Contentful</a>
</li>
</ul>
</section>
<section id="guide">
<header class="taxonomy__header">
<h2>guide</h2>
<small>(<a href="/hugo-theme-contentful/tags/guide/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-29 22:09:16 &#43;0800 &#43;0800">2019-08-29</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-extended-syntax-guide/">Asciidoctor Extended Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 12:11:22 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/emoji-support/">Emoji Support</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/">MathJax Support for Asciidoctor</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/">MathJax Support for Markdown</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-27 01:03:09 &#43;0800 &#43;0800">2019-08-27</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-syntax-guide/">Asciidoctor Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">2019-08-26</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/">Markdown Syntax Guide</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-25 21:06:56 &#43;0800 &#43;0800">2019-08-25</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/asciidoctor-article-template/">Asciidoctor Article Template</a>
</li>
</ul>
</section>
<section id="markdown">
<header class="taxonomy__header">
<h2>markdown</h2>
<small>(<a href="/hugo-theme-contentful/tags/markdown/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/">MathJax Support for Markdown</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">2019-08-26</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/">Markdown Syntax Guide</a>
</li>
</ul>
</section>
<section id="mathjax">
<header class="taxonomy__header">
<h2>mathjax</h2>
<small>(<a href="/hugo-theme-contentful/tags/mathjax/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/">MathJax Support for Asciidoctor</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">2019-08-28</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/">MathJax Support for Markdown</a>
</li>
</ul>
</section>
<section id="seo">
<header class="taxonomy__header">
<h2>seo</h2>
<small>(<a href="/hugo-theme-contentful/tags/seo/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/">Open graph protocol</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:29:42 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/">Customizing your head</a>
</li>
</ul>
</section>
<section id="social-media">
<header class="taxonomy__header">
<h2>social media</h2>
<small>(<a href="/hugo-theme-contentful/tags/social-media/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/">Open graph protocol</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/">Twitter cards</a>
</li>
</ul>
</section>
<section id="tag1">
<header class="taxonomy__header">
<h2>tag1</h2>
<small>(<a href="/hugo-theme-contentful/tags/tag1/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/">Simple Icons integration with Hugo modules</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/">Hidden post test</a>
</li>
</ul>
</section>
<section id="tag2">
<header class="taxonomy__header">
<h2>tag2</h2>
<small>(<a href="/hugo-theme-contentful/tags/tag2/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/">Simple Icons integration with Hugo modules</a>
</li>
<li class="taxonomy__page">
<date datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/">Hidden post test</a>
</li>
<li class="taxonomy__page">
<date datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">2019-09-04</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/">RSS, Atom, and JSON Feed Support</a>
</li>
</ul>
</section>
<section id="theme">
<header class="taxonomy__header">
<h2>theme</h2>
<small>(<a href="/hugo-theme-contentful/tags/theme/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/"></a>
</li>
<li class="taxonomy__page">
<date datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">2020-05-12</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/">Extending Contentful</a>
</li>
</ul>
</section>
<section id="this-is-a-test-tag">
<header class="taxonomy__header">
<h2>this is a test tag</h2>
<small>(<a href="/hugo-theme-contentful/tags/this-is-a-test-tag/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">2019-09-04</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/">RSS, Atom, and JSON Feed Support</a>
</li>
</ul>
</section>
<section id="twitter">
<header class="taxonomy__header">
<h2>twitter</h2>
<small>(<a href="/hugo-theme-contentful/tags/twitter/">Permalink</a>)</small>
</header>
<ul class="taxonomy__pages">
<li class="taxonomy__page">
<date datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">2020-10-20</date>
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/">Twitter cards</a>
</li>
</ul>
</section>
<hr>
<footer>
@ -118,6 +282,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -4,7 +4,7 @@
<title>markdown on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/</link>
<description>Recent content in markdown on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Wed, 28 Aug 2019 00:09:56 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>markdown</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/feed.rss" />
<meta itemprop="name" content="markdown">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,16 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" aria-label="MathJax Support for Markdown">MathJax Support for Markdown</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/markdown-syntax-guide/" aria-label="Markdown Syntax Guide">Markdown Syntax Guide</a></h1>
<div class="post__meta">
<time datetime="2019-08-26">2019-08-26</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-26 00:08:27 &#43;0800 &#43;0800">
2019-08-26
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -84,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/markdown/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>mathjax on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/</link>
<description>Recent content in mathjax on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Wed, 28 Aug 2019 01:47:02 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>mathjax</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/" />
<meta property="og:updated_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/feed.rss" />
<meta itemprop="name" content="mathjax">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,16 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-asciidoctor/" aria-label="MathJax Support for Asciidoctor">MathJax Support for Asciidoctor</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 01:47:02 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/mathjax-support-for-markdown/" aria-label="MathJax Support for Markdown">MathJax Support for Markdown</a></h1>
<div class="post__meta">
<time datetime="2019-08-28">2019-08-28</time>
(Modified on <time datetime="2020-05-12">2020-05-12</time>)
<time datetime="2019-08-28 00:09:56 &#43;0800 &#43;0800">
2019-08-28
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -84,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/mathjax/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>seo on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/</link>
<description>Recent content in seo on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 20:35:39 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>seo</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/feed.rss" />
<meta itemprop="name" content="seo">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,16 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" aria-label="Open graph protocol">Open graph protocol</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/customizing-your-head/" aria-label="Customizing your head">Customizing your head</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:29:42 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -84,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/seo/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>social media on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/</link>
<description>Recent content in social media on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 20:35:39 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>social media</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/feed.rss" />
<meta itemprop="name" content="social media">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,16 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/open-graph-protocol/" aria-label="Open graph protocol">Open graph protocol</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:35:39 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" aria-label="Twitter cards">Twitter cards</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -84,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/social-media/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>tag1 on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/</link>
<description>Recent content in tag1 on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 21:36:34 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>tag1</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/feed.rss" />
<meta itemprop="name" content="tag1">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" aria-label="Simple Icons integration with Hugo modules">Simple Icons integration with Hugo modules</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" aria-label="Hidden post test">Hidden post test</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -76,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag1/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>tag2 on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/</link>
<description>Recent content in tag2 on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 21:36:34 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>tag2</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/feed.rss" />
<meta itemprop="name" content="tag2">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,16 +38,33 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/simple-icons-integration/" aria-label="Simple Icons integration with Hugo modules">Simple Icons integration with Hugo modules</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 21:36:34 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/hidden-post-test/" aria-label="Hidden post test">Hidden post test</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 21:29:52 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" aria-label="RSS, Atom, and JSON Feed Support">RSS, Atom, and JSON Feed Support</a></h1>
<div class="post__meta">
<time datetime="2019-09-04">2019-09-04</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">
2019-09-04
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
<span data-authors="[{&#34;name&#34;:&#34;John Doe&#34;},{&#34;name&#34;:&#34;Jane Doe&#34;}]">John Doe, et al.</span>
</div>
</article>
@ -84,6 +93,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/tag2/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>theme on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/</link>
<description>Recent content in theme on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 12 May 2020 17:25:55 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/feed.rss" rel="self" type="application/rss+xml" />
@ -19,5 +19,15 @@
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/</guid>
<description></description>
</item>
<item>
<title>Extending Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</link>
<category>theme</category>
<category>extending</category>
<pubDate>Tue, 12 May 2020 17:25:55 +0800</pubDate>
<guid>https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>theme</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/feed.rss" />
<meta itemprop="name" content="theme">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,20 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/" aria-label=""></a></h1>
<div class="post__meta">
<time datetime="2020-05-12">2020-05-12</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/extending-contentful/" aria-label="Extending Contentful">Extending Contentful</a></h1>
<div class="post__meta">
<time datetime="2020-05-12 17:25:55 &#43;0800 &#43;0800">
2020-05-12
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -76,6 +80,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/theme/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>this is a test tag on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/</link>
<description>Recent content in this is a test tag on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Wed, 04 Sep 2019 17:22:44 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>this is a test tag</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/" />
<meta property="og:updated_time" content="2020-10-24T16:00:52+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/feed.rss" />
<meta itemprop="name" content="this is a test tag">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,13 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/articles/rss-atom-and-json-feed-support/" aria-label="RSS, Atom, and JSON Feed Support">RSS, Atom, and JSON Feed Support</a></h1>
<div class="post__meta">
<time datetime="2019-09-04">2019-09-04</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2019-09-04 17:22:44 &#43;0800 &#43;0800">
2019-09-04
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
<span data-authors="[{&#34;name&#34;:&#34;John Doe&#34;},{&#34;name&#34;:&#34;Jane Doe&#34;}]">John Doe, et al.</span>
</div>
</article>
@ -76,6 +73,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/this-is-a-test-tag/">
</head>
</html>

View File

@ -4,7 +4,7 @@
<title>twitter on Contentful</title>
<link>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/</link>
<description>Recent content in twitter on Contentful</description>
<generator>Hugo v0.76.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2021 to the author(s) behind Contentful</copyright>
<generator>Hugo v0.98.0 -- gohugo.io</generator><language>en-us</language><copyright>© 2022 to the author(s) behind Contentful</copyright>
<lastBuildDate>Tue, 20 Oct 2020 20:31:32 +0800</lastBuildDate>
<docs>https://www.rssboard.org/rss-2-0-1</docs>
<atom:link href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/feed.rss" rel="self" type="application/rss+xml" />

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="en-us"><title>twitter</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -12,15 +13,11 @@
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/" />
<meta property="og:updated_time" content="2020-10-24T15:49:14+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/feed.rss" />
<meta itemprop="name" content="twitter">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/" /><link rel="alternate" type="application/rss+xml" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/feed.rss" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/">Contentful</a>
<div class="site__links">
@ -31,11 +28,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<hr>
@ -46,8 +38,10 @@
<article class="post">
<h1><a href="https://foo-dogsquared.github.io/hugo-theme-contentful/recipes/twitter-cards/" aria-label="Twitter cards">Twitter cards</a></h1>
<div class="post__meta">
<time datetime="2020-10-20">2020-10-20</time>
(Modified on <time datetime="2020-10-24">2020-10-24</time>)
<time datetime="2020-10-20 20:31:32 &#43;0800 &#43;0800">
2020-10-20
</time>
<time datetime="2022-05-13 18:08:06 &#43;0800 &#43;0800">2022-05-13</time>
</div>
</article>
@ -76,6 +70,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1 +1,10 @@
<!DOCTYPE html><html><head><title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/</title><link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/" /></head></html>
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/</title>
<link rel="canonical" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://foo-dogsquared.github.io/hugo-theme-contentful/tags/twitter/">
</head>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="tl"><title>404 Page not found</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="" /><meta name="twitter:card" content="summary"/>
@ -13,14 +14,10 @@
<meta property="og:type" content="website" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/404.html" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/404.html" />
<meta itemprop="name" content="404 Page not found">
<meta itemprop="description" content=""><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/404.html" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/">Contentful</a>
<div class="site__links">
@ -30,11 +27,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
<h2>404</h2>
@ -59,6 +51,6 @@
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

View File

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html lang="tl"><title>About</title>
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/main.min.ac4668a81007ca38fcac8e88436ad4fa6a969ee4ce9352f52f795abf04e1624a.css" /><meta name="generator" content="Hugo 0.76.0" />
<link rel="stylesheet" href="https://foo-dogsquared.github.io/hugo-theme-contentful/css/index.min.11618edd7e3b000c8d9629ad7f78c9229d907cb12f420c0242dfb9185eb5ff8e.css" /><meta name="generator" content="Hugo 0.98.0" />
<meta charset="utf-8">
<meta name="author" content="" />
<meta name="author" content="John Doe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="no-referrer" />
<meta name="description" content="Ito ay Contentful, isang Hugo theme nakapokus para sa iyong mga kuntento. Para sa layunin na ito, initinamtampok ng temang ito ang mga maaayos na default settings at magagandang layout. Ang temang ito ay inaplika rin ang mga typographic rules galing sa mga aralin ng Practical Typography, akda ni Matthew Butterick.
@ -14,16 +15,18 @@
<meta property="og:description" content="Ito ay Contentful, isang Hugo theme nakapokus para sa iyong mga kuntento. Para sa layunin na ito, initinamtampok ng temang ito ang mga maaayos na default settings at magagandang layout. Ang temang ito ay inaplika rin ang mga typographic rules galing sa mga aralin ng Practical Typography, akda ni Matthew Butterick.
Naitindihan ng Contentful na hindi lahat ng kaso ay puwedeng mailagay. Kaya naman ang temang ito ay may isa pang layunin na madaling mapalawak/baguhin ayon sa mga pangangailangan ng may-akda." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/about/" />
<meta property="article:modified_time" content="2020-05-12T16:40:21+08:00" />
<link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/about/" />
<meta property="og:url" content="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/about/" /><meta property="article:section" content="" />
<meta property="article:modified_time" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="name" content="About">
<meta itemprop="description" content="Ito ay Contentful, isang Hugo theme nakapokus para sa iyong mga kuntento. Para sa layunin na ito, initinamtampok ng temang ito ang mga maaayos na default settings at magagandang layout. Ang temang ito ay inaplika rin ang mga typographic rules galing sa mga aralin ng Practical Typography, akda ni Matthew Butterick.
Naitindihan ng Contentful na hindi lahat ng kaso ay puwedeng mailagay. Kaya naman ang temang ito ay may isa pang layunin na madaling mapalawak/baguhin ayon sa mga pangangailangan ng may-akda.">
<meta itemprop="dateModified" content="2022-05-13T18:08:06+08:00" />
<meta itemprop="wordCount" content="193">
<meta itemprop="keywords" content="" /><link rel="canonical" type="text/html" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/about/" />
<script>
const theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body><nav aria-label="Primary navigation">
<a class="site__title" href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/">Contentful</a>
<div class="site__links">
@ -33,11 +36,6 @@
<a href="https://foo-dogsquared.github.io/hugo-theme-contentful/tl/tags/">Tags</a> |
</div>
<button class="site__theme-btn" aria-label="theme-toggle" onclick="const theme = window.localStorage.getItem('theme') == 'dark' ? 'light' : 'dark'; window.localStorage.setItem('theme', theme); document.documentElement.dataset.theme = theme">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 12c0 6.627 5.373 12 12 12s12-5.373 12-12-5.373-12-12-12-12 5.373-12 12zm2 0c0-5.514 4.486-10 10-10v20c-5.514 0-10-4.486-10-10z"></path>
</svg>
</button>
</nav>
@ -45,15 +43,15 @@
<header>
<h1>About</h1>
</header>
<div class="post__meta">
<div class="post__meta--single">
<p data-content-modification-date="2020-05-12 16:40:21 &#43;0800 &#43;0800">Updated: <time datetime="2020-05-12">2020-05-12</time></p>
<p data-content-modification-date="2022-05-13 18:08:06 &#43;0800 &#43;0800">Updated: <time datetime="2022-05-13">2022-05-13</time></p>
<p data-content-translations="[&#34;English&#34;]">Translations: <a href=https://foo-dogsquared.github.io/hugo-theme-contentful/about/>English</a></p>
@ -62,14 +60,6 @@
<style>
#TableOfContents:not(:empty)::before {
content: "Table of contents";
font-weight: bold;
}
</style>
<nav id="TableOfContents"></nav>
<main>
<div class="paragraph">
@ -135,6 +125,6 @@ O, ang malikhaing bahagi ng paggawa ng mga tema at mga kuntento!</p>
<p>© 2021 Contentful</p>
<p>© 2022 Contentful</p>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More