hugo-theme-more-contentful/archives/index.html

276 lines
7.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en-us"><title>Archives | More Contentful</title>
<link rel="stylesheet" href="https://example.com/css/main.min.5d090a66d48ba0fbc708c638ff5378c00764130d0d5b2c89505d249cd84d663b.css" /><meta name="generator" content="Hugo 0.96.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="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Archives"/>
<meta name="twitter:description" content=""/>
<meta property="og:title" content="Archives" />
<meta property="og:description" content="" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://example.com/archives/" /><meta property="article:section" content="" />
<meta property="article:modified_time" content="2022-04-30T20:40:56+08:00" />
<link rel="canonical" type="text/html" href="https://example.com/archives/" />
<script>
let theme = window.localStorage.getItem('theme');
if (theme) {
document.documentElement.dataset.theme = theme;
}
</script>
<body>
<div class="site__theme-btn" aria-label="Theme toggle">
<svg class="icon">
<use href="https://example.com/icons/generic/color-swatch.svg#color-swatch"></use>
</svg>
<div class="site__theme-dropdown">
<div class="site__theme-dropdown-list">
<div class="site__theme-item"
data-theme="Default Dark"
data-theme-dark
>Dark</div>
<div class="site__theme-item"
data-theme="Default Light"
data-theme-light
>Light</div>
<div class="site__theme-item"
data-theme="Dracula"
>Dracula</div>
<div class="site__theme-item"
data-theme="Nord"
>Nord</div>
<div class="site__theme-item"
data-theme="Solarized Dark"
>Solarized Dark</div>
<div class="site__theme-item"
data-theme="Solarized Light"
>Solarized Light</div>
<div class="site__theme-item" data-theme-system>
OS default
</div>
</div>
</div>
</div>
<script defer>
const themeDropdown = document.querySelector('.site__theme-btn');
themeDropdown.addEventListener('click', (event) => {
const { target } = event;
if (target.classList.contains("site__theme-item")) {
if (target.dataset.theme) {
theme = target.dataset.theme;
window.localStorage.setItem("theme", theme);
document.documentElement.dataset.theme = theme;
} else {
window.localStorage.removeItem("theme");
delete document.documentElement.dataset.theme;
}
}
});
</script>
<nav aria-label="Site header">
<a class="site__title" href="https://example.com">More Contentful</a>
<div class="list site__links">
<a href="https://example.com/about/">About</a>
<a href="https://example.com/categories/">Categories</a>
<a href="https://example.com/recipes/">Recipes</a>
<a href="https://example.com/tags/">Tags</a>
</div>
</nav>
<hr>
<article class="post--single">
<header>
<h1>Archives</h1>
</header>
<div class="list post__meta">
<time datetime="2022-04-30 20:40:56 &#43;0800 &#43;0800">
<svg class="icon">
<use href="https://example.com/icons/generic/refresh.svg#refresh"></use>
</svg>
<span style="margin-left: 0.5em;">2022-04-30</span>
</time>
</div>
<main>
</main>
<hr>
<div class="post__meta--single">
<p data-content-modification-date="2022-04-30 20:40:56 &#43;0800 &#43;0800">Updated: <time datetime="2022-04-30">2022-04-30</time></p>
<p data-content-translations="[&#34;Tagalog&#34;]">Translations: <a href=https://example.com/tl/archives/>Tagalog</a></p>
</div>
</article>
<hr><footer aria-label="Site footer">
<p><a href="#top">Back to top</a></p>
<p>Available in other languages:
<span class="list site__languages">
<a href="/en" hreflang="en">English</a>
<a href="/tl" hreflang="tl">Tagalog</a>
</span>
</p>
<ul class="list site__socials">
<li>
<a class="site__social-icon" rel="me" href="https://example.org/gmail" aria-label="E-mail">
<svg class="icon">
<use href="https://example.com/icons/brand/gmail.svg#gmail"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/keybase" aria-label="Keybase">
<svg class="icon">
<use href="https://example.com/icons/brand/keybase.svg#keybase"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/devdotto" aria-label="Dev.to">
<svg class="icon">
<use href="https://example.com/icons/brand/devdotto.svg#devdotto"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/github/" aria-label="GitHub">
<svg class="icon">
<use href="https://example.com/icons/brand/github.svg#github"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/gitlab" aria-label="GitLab">
<svg class="icon">
<use href="https://example.com/icons/brand/gitlab.svg#gitlab"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/lichess" aria-label="Lichess">
<svg class="icon">
<use href="https://example.com/icons/brand/lichess.svg#lichess"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/picartodottv" aria-label="Picarto.tv">
<svg class="icon">
<use href="https://example.com/icons/brand/picartodottv.svg#picartodottv"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/pixiv" aria-label="Pixiv">
<svg class="icon">
<use href="https://example.com/icons/brand/pixiv.svg#pixiv"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/twitch" aria-label="Twitch">
<svg class="icon">
<use href="https://example.com/icons/brand/twitch.svg#twitch"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/twitter" aria-label="Twitter">
<svg class="icon">
<use href="https://example.com/icons/brand/twitter.svg#twitter"></use>
</svg>
</a>
</li><li>
<a class="site__social-icon" rel="me" href="https://example.org/youtube" aria-label="YouTube">
<svg class="icon">
<use href="https://example.com/icons/brand/youtube.svg#youtube"></use>
</svg>
</a>
</li></ul>
<p>© 2022 More Contentful</p>
</footer>
</body>
</html>