mirror of
https://github.com/foo-dogsquared/hugo-theme-contentful.git
synced 2025-02-07 12:19:17 +00:00
128 lines
6.0 KiB
HTML
128 lines
6.0 KiB
HTML
![]() |
<!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" />
|
|||
|
<meta charset="utf-8">
|
|||
|
<meta name="author" content="" />
|
|||
|
<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, I’ll be listing a few personal recipes I’ve always used for extending a Hugo theme. Though this only applies specifically to Contentful and may need some tweaking when applying it other themes.
|
|||
|
" /><meta name="twitter:card" content="summary"/>
|
|||
|
<meta name="twitter:title" content=""/>
|
|||
|
<meta name="twitter:description" content=""/>
|
|||
|
<meta property="og:title" content="" />
|
|||
|
<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" />
|
|||
|
|
|||
|
<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">
|
|||
|
|
|
|||
|
<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>
|
|||
|
<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>
|
|||
|
<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 section, I’ll be listing a few personal recipes I’ve 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>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<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>)
|
|||
|
</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>)
|
|||
|
</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>)
|
|||
|
</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>)
|
|||
|
</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>)
|
|||
|
</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>)
|
|||
|
</div>
|
|||
|
</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>© 2021 Contentful</p>
|
|||
|
</body>
|
|||
|
</html>
|