260 lines
7.8 KiB
HTML
260 lines
7.8 KiB
HTML
<!doctype html>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<html
|
||
class="not-ready lg:text-base"
|
||
style="--bg:"
|
||
lang="en"
|
||
dir="ltr"
|
||
><head>
|
||
<meta charset="utf-8" />
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<meta
|
||
name="viewport"
|
||
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
||
/>
|
||
|
||
|
||
<title>Posts - </title>
|
||
|
||
|
||
<meta name="theme-color" />
|
||
|
||
|
||
<meta
|
||
name="description"
|
||
content="A personal blog"
|
||
/>
|
||
<meta name="author" content="" /><link rel="preload stylesheet" as="style" href="/main.min.css" />
|
||
|
||
|
||
<link rel="preload" as="image" href="/theme.png" />
|
||
|
||
|
||
|
||
<link rel="preload" as="image" href="/github.svg" /><link rel="preload" as="image" href="/mastodon.svg" />
|
||
|
||
|
||
|
||
|
||
<link
|
||
rel="icon"
|
||
href="/favicon.ico"
|
||
/>
|
||
<link
|
||
rel="apple-touch-icon"
|
||
href="/apple-touch-icon.png"
|
||
/>
|
||
|
||
<meta name="generator" content="Hugo 0.149.0">
|
||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZZYG7KM2RT"></script>
|
||
<script>
|
||
var doNotTrack = false;
|
||
if ( false ) {
|
||
var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
|
||
var doNotTrack = (dnt == "1" || dnt == "yes");
|
||
}
|
||
if (!doNotTrack) {
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
gtag('config', 'G-ZZYG7KM2RT');
|
||
}
|
||
</script>
|
||
<meta itemprop="name" content="Posts">
|
||
<meta itemprop="datePublished" content="2019-03-11T00:00:00+00:00">
|
||
<meta itemprop="dateModified" content="2019-03-11T00:00:00+00:00">
|
||
<meta itemprop="keywords" content="Index"><meta property="og:url" content="/post/">
|
||
<meta property="og:title" content="Posts">
|
||
<meta property="og:locale" content="en">
|
||
<meta property="og:type" content="website">
|
||
|
||
<meta name="twitter:card" content="summary">
|
||
<meta name="twitter:title" content="Posts">
|
||
<link
|
||
rel="alternate"
|
||
type="application/rss+xml"
|
||
href="/post/index.xml"
|
||
title=""
|
||
/>
|
||
<link rel="canonical" href="/post/" />
|
||
</head>
|
||
<body
|
||
class="bg-(--bg) text-black antialiased duration-200 ease-out [-webkit-tap-highlight-color:transparent] dark:text-white"
|
||
><header
|
||
class="mx-auto flex h-[4.5rem] max-w-(--w) px-8 whitespace-nowrap lg:justify-center"
|
||
>
|
||
<div class="relative z-50 flex items-center ltr:mr-auto rtl:ml-auto">
|
||
<a
|
||
class="-translate-y-[1px] text-2xl font-medium"
|
||
href="/"
|
||
></a
|
||
>
|
||
<div
|
||
class="btn-dark text-[0px] ltr:ml-4 rtl:mr-4 h-6 w-6 shrink-0 cursor-pointer [background:url(./theme.png)_left_center/_auto_theme('spacing.6')_no-repeat] [transition:_background-position_0.4s_steps(5)] dark:[background-position:right]"
|
||
role="button"
|
||
aria-label="Dark"
|
||
></div>
|
||
</div>
|
||
|
||
<div
|
||
class="btn-menu relative z-50 flex h-[4.5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden ltr:-mr-8 rtl:-ml-8"
|
||
role="button"
|
||
aria-label="Menu"
|
||
></div>
|
||
|
||
<script>
|
||
|
||
const htmlClass = document.documentElement.classList;
|
||
setTimeout(() => {
|
||
htmlClass.remove('not-ready');
|
||
}, 10);
|
||
|
||
|
||
const btnMenu = document.querySelector('.btn-menu');
|
||
btnMenu.addEventListener('click', () => {
|
||
htmlClass.toggle('open');
|
||
});
|
||
|
||
|
||
const metaTheme = document.querySelector('meta[name="theme-color"]');
|
||
const lightBg = ''.replace(/"/g, '');
|
||
const setDark = (isDark) => {
|
||
metaTheme.setAttribute('content', isDark ? '#000' : lightBg);
|
||
htmlClass[isDark ? 'add' : 'remove']('dark');
|
||
localStorage.setItem('dark', isDark);
|
||
};
|
||
|
||
|
||
const darkScheme = window.matchMedia('(prefers-color-scheme: dark)');
|
||
if (htmlClass.contains('dark')) {
|
||
setDark(true);
|
||
} else {
|
||
const darkVal = localStorage.getItem('dark');
|
||
setDark(darkVal ? darkVal === 'true' : darkScheme.matches);
|
||
}
|
||
|
||
|
||
darkScheme.addEventListener('change', (event) => {
|
||
setDark(event.matches);
|
||
});
|
||
|
||
|
||
const btnDark = document.querySelector('.btn-dark');
|
||
btnDark.addEventListener('click', () => {
|
||
setDark(localStorage.getItem('dark') !== 'true');
|
||
});
|
||
</script>
|
||
|
||
<div
|
||
class="nav-wrapper fixed inset-x-0 top-full z-40 flex h-full flex-col justify-center bg-(--bg) pb-16 duration-200 select-none lg:static lg:h-auto lg:flex-row lg:bg-transparent! lg:pb-0 lg:transition-none"
|
||
><nav
|
||
class="lg:ml-12 lg:flex lg:flex-row lg:items-center lg:space-x-10 rtl:space-x-reverse"
|
||
><a
|
||
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
|
||
href="/pages/"
|
||
>Pages</a
|
||
><a
|
||
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
|
||
href="/blogs/"
|
||
>Blogs</a
|
||
><a
|
||
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
|
||
href="/"
|
||
>Home</a
|
||
><a
|
||
class="block text-center text-xl leading-[5rem] lg:text-base lg:font-normal"
|
||
href="https://mathdoggy.gitnet.page/"
|
||
>Mathrew Xian</a
|
||
></nav><nav
|
||
class="mt-12 flex justify-center space-x-10 lg:mt-0 lg:items-center ltr:lg:ml-14 rtl:space-x-reverse rtl:lg:mr-14 dark:invert"
|
||
>
|
||
<a
|
||
class="h-7 w-7 text-[0px] [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
|
||
style="--url: url(./github.svg)"
|
||
href="https://github.com/mathdoggy"
|
||
target="_blank"
|
||
rel="me"
|
||
>github</a>
|
||
<a
|
||
class="h-7 w-7 text-[0px] [background:var(--url)_center_center/cover_no-repeat] lg:h-6 lg:w-6"
|
||
style="--url: url(./mastodon.svg)"
|
||
href="@mstdn.plus@mathdoggy"
|
||
target="_blank"
|
||
rel="me"
|
||
>mastodon</a>
|
||
</nav>
|
||
</div>
|
||
</header>
|
||
<main
|
||
class="prose prose-neutral dark:prose-invert relative mx-auto min-h-[calc(100vh-9rem)] max-w-(--w) px-8 pt-14 pb-16"
|
||
>
|
||
|
||
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><span class="mb-1 inline-block text-xs tracking-wider text-orange-500"
|
||
>Featured</span
|
||
><h2 class="my-0!">Placeholder Text</h2>
|
||
<time class="text-xs antialiased opacity-60"
|
||
>Mar 9, 2019</time
|
||
>
|
||
<a class="absolute inset-0 text-[0px]" href="/post/placeholder-text/"
|
||
>Placeholder Text</a
|
||
>
|
||
</section>
|
||
|
||
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Markdown Syntax Guide</h2>
|
||
<time class="text-xs antialiased opacity-60"
|
||
>Mar 11, 2019</time
|
||
>
|
||
<a class="absolute inset-0 text-[0px]" href="/post/markdown-syntax/"
|
||
>Markdown Syntax Guide</a
|
||
>
|
||
</section>
|
||
|
||
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Rich Content</h2>
|
||
<time class="text-xs antialiased opacity-60"
|
||
>Mar 10, 2019</time
|
||
>
|
||
<a class="absolute inset-0 text-[0px]" href="/post/rich-content/"
|
||
>Rich Content</a
|
||
>
|
||
</section>
|
||
|
||
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Math Typesetting</h2>
|
||
<time class="text-xs antialiased opacity-60"
|
||
>Mar 8, 2019</time
|
||
>
|
||
<a class="absolute inset-0 text-[0px]" href="/post/math-typesetting/"
|
||
>Math Typesetting</a
|
||
>
|
||
</section>
|
||
|
||
<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0"><h2 class="my-0!">Emoji Support</h2>
|
||
<time class="text-xs antialiased opacity-60"
|
||
>Mar 5, 2019</time
|
||
>
|
||
<a class="absolute inset-0 text-[0px]" href="/post/emoji-support/"
|
||
>Emoji Support</a
|
||
>
|
||
</section></main><footer
|
||
class="mx-auto flex h-[4.5rem] max-w-(--w) items-center px-8 text-xs tracking-wider uppercase opacity-60"
|
||
>
|
||
<div class="mr-auto">©2025
|
||
<a class="link" href="/"></a></div>
|
||
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
|
||
>powered by hugo️️</a
|
||
>️
|
||
<a
|
||
class="link"
|
||
href="https://github.com/nanxiaobei/hugo-paper"
|
||
rel="noopener"
|
||
target="_blank"
|
||
>hugo-paper</a
|
||
>
|
||
</footer>
|
||
</body>
|
||
</html>
|