about me update
This commit is contained in:
parent
e5c1edaff8
commit
7cd4c4a01d
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[submodule "themes/hugo-classic"]
|
||||
path = themes/hugo-classic
|
||||
url = https://github.com/goodroot/hugo-classic.git
|
||||
[submodule "themes/terminal"]
|
||||
path = themes/terminal
|
||||
url = https://github.com/panr/hugo-theme-terminal.git
|
||||
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
@ -0,0 +1,5 @@
|
||||
+++
|
||||
date = '{{ .Date }}'
|
||||
draft = true
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
+++
|
||||
40
content/_index.md
Normal file
40
content/_index.md
Normal file
@ -0,0 +1,40 @@
|
||||
+++
|
||||
draft = false
|
||||
title = 'Home'
|
||||
description = "Something about me qwq"
|
||||
+++
|
||||
|
||||
# {{< typed text="欢迎来到互联网的尽头。<br>Welcome to the end of the Internet." speed="13" loop="false" >}}
|
||||
|
||||
|
||||
TL;DR
|
||||
============
|
||||
| 项目/Item | 内容/Details |
|
||||
| :---------------- | :----------------------------------------- |
|
||||
| 姓名/Name | Peter Alex Wain A.K.A **paw** |
|
||||
| 邮箱/Mail | crgrenyrkjnva#ubgznvy.pbz (ROT13) |
|
||||
| 地址/Addr | 木分镇,白完 Fragrance Town, Anhui Province |
|
||||
| 性别/Sex | 男 Boi |
|
||||
| 身高/Length | 150cm |
|
||||
| 体重/Weight | 300kg |
|
||||
| 性取向/S.O. | 可爱 qte thing qwq |
|
||||
| 发情时间/PornTime | 7d x 24h |
|
||||
| 主页/Page | http://b.peteralexwain.me/ |
|
||||
|
||||
¿What's more?
|
||||
============
|
||||
这里(暂时)由木分镇的PeterAlexWain A.K.A paw维护。
|
||||
这里(暂时或者很长一段时间)可能会充满低创与牢骚一类的没有任何营养价值的东西。
|
||||
paw很希望与你交换友链,(如果你不嫌弃的话,)请偷偷联系他交换友链。
|
||||
paw喜欢猫科动物,喜欢Unix,喜欢计算器,喜欢Ruby,喜欢沿着没有阳光的角落阴暗爬行,喜欢一切可爱的东西(,当然还有你)。
|
||||
paw喜欢很多东西但是又无能为力,他的技术水平令人汗颜。
|
||||
为什么说这里是互联网的尽头呢?因为这里既不有趣也没有知识,访问这里可能会让你痛苦(,就像paw活在现实世界一样)。
|
||||
可以逗一逗活在这个页面左上角的黑猫玩,黑猫特别可爱(,就像是你)。
|
||||
(如果没有特别说明,)这里的所有文章都属于CC BY-NC-ND 4.0授权。
|
||||
如果你做了一些让他难过的事,paw就只能躲在他(桥洞底下)的家里,抱着捡来的(不是浅色的)被单哭泣。
|
||||
By the way,paw iz bad at inglish,just lik hiz chinglish.
|
||||
|
||||
---
|
||||
|
||||
Something sucks
|
||||
============
|
||||
154
content/post/helloworld.md
Normal file
154
content/post/helloworld.md
Normal file
@ -0,0 +1,154 @@
|
||||
+++
|
||||
date = '2025-04-28T00:44:05+08:00'
|
||||
draft = false
|
||||
author= "PeterAlexWain"
|
||||
title = 'Helloworld'
|
||||
categories = ["Example"]
|
||||
tags = ["Markdown"]
|
||||
+++
|
||||
|
||||
An h1 header
|
||||
============
|
||||
|
||||
Paragraphs are separated by a blank line.
|
||||
|
||||
2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists
|
||||
look like:
|
||||
|
||||
* this one
|
||||
* that one
|
||||
* the other one
|
||||
|
||||
Note that --- not considering the asterisk --- the actual text
|
||||
content starts at 4-columns in.
|
||||
|
||||
> Block quotes are
|
||||
> written like so.
|
||||
>
|
||||
> They can span multiple paragraphs,
|
||||
> if you like.
|
||||
|
||||
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
|
||||
in chapters 12--14"). Three dots ... will be converted to an ellipsis.
|
||||
Unicode is supported. ☺
|
||||
|
||||
|
||||
|
||||
An h2 header
|
||||
------------
|
||||
|
||||
Here's a numbered list:
|
||||
|
||||
1. first item
|
||||
2. second item
|
||||
3. third item
|
||||
|
||||
Note again how the actual text starts at 4 columns in (4 characters
|
||||
from the left side). Here's a code sample:
|
||||
|
||||
# Let me re-iterate ...
|
||||
for i in 1 .. 10 { do-something(i) }
|
||||
|
||||
As you probably guessed, indented 4 spaces. By the way, instead of
|
||||
indenting the block, you can use delimited blocks, if you like:
|
||||
|
||||
~~~
|
||||
define foobar() {
|
||||
print "Welcome to flavor country!";
|
||||
}
|
||||
~~~
|
||||
|
||||
(which makes copying & pasting easier). You can optionally mark the
|
||||
delimited block for Pandoc to syntax highlight it:
|
||||
|
||||
~~~python
|
||||
import time
|
||||
# Quick, count to ten!
|
||||
for i in range(10):
|
||||
# (but not *too* quick)
|
||||
time.sleep(0.5)
|
||||
print i
|
||||
~~~
|
||||
|
||||
|
||||
|
||||
### An h3 header ###
|
||||
|
||||
Now a nested list:
|
||||
|
||||
1. First, get these ingredients:
|
||||
|
||||
* carrots
|
||||
* celery
|
||||
* lentils
|
||||
|
||||
2. Boil some water.
|
||||
|
||||
3. Dump everything in the pot and follow
|
||||
this algorithm:
|
||||
|
||||
find wooden spoon
|
||||
uncover pot
|
||||
stir
|
||||
cover pot
|
||||
balance wooden spoon precariously on pot handle
|
||||
wait 10 minutes
|
||||
goto first step (or shut off burner when done)
|
||||
|
||||
Do not bump wooden spoon or it will fall.
|
||||
|
||||
Notice again how text always lines up on 4-space indents (including
|
||||
that last line which continues item 3 above).
|
||||
|
||||
Here's a link to [a website](http://foo.bar), to a [local
|
||||
doc](local-doc.html), and to a [section heading in the current
|
||||
doc](#an-h2-header). Here's a footnote [^1].
|
||||
|
||||
[^1]: Footnote text goes here.
|
||||
|
||||
Tables can look like this:
|
||||
|
||||
size|material |color
|
||||
----|------------|------------
|
||||
9 |leather |brown
|
||||
10 |hemp canvas |natural
|
||||
11 |glass |transparent
|
||||
|
||||
Table: Shoes, their sizes, and what they're made of
|
||||
|
||||
(The above is the caption for the table.)
|
||||
|
||||
A horizontal rule follows.
|
||||
|
||||
***
|
||||
|
||||
Here's a definition list:
|
||||
|
||||
apples
|
||||
: Good for making applesauce.
|
||||
|
||||
oranges
|
||||
: Citrus!
|
||||
|
||||
tomatoes
|
||||
: There's no "e" in tomatoe.
|
||||
|
||||
(Put a blank line between each term/definition pair to spread
|
||||
things out more.)
|
||||
|
||||
and images can be specified like so:
|
||||
|
||||

|
||||
|
||||
Inline math equations go in like so: \\(\omega = d\phi / dt\\).
|
||||
Display math should get its own line and be put in in
|
||||
double-dollarsigns:
|
||||
|
||||
$$I = \int \rho R^{2} dV$$
|
||||
|
||||
And note that you can backslash-escape any punctuation characters
|
||||
which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.
|
||||
|
||||
#### Images auto center:
|
||||
|
||||

|
||||
46
hugo.toml
Normal file
46
hugo.toml
Normal file
@ -0,0 +1,46 @@
|
||||
baseurl = "https://b.peteralexwain.me"
|
||||
enableEmoji = true
|
||||
footnotereturnlinkcontents = "↩"
|
||||
#googleAnalytics = ""
|
||||
ignoreFiles = ["\\.Rmd$", "_files$", "_cache$"]
|
||||
languageCode = "en-us"
|
||||
theme = "hugo-classic"
|
||||
title = "Let's fall in love"
|
||||
#enableGitInfo = true
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[markup.highlight]
|
||||
anchorLineNos = false
|
||||
codeFences = true
|
||||
guessSyntax = false
|
||||
hl_Lines = ""
|
||||
lineAnchors = ""
|
||||
lineNoStart = 1
|
||||
lineNos = false
|
||||
lineNumbersInTable = true
|
||||
noClasses = true
|
||||
style = "monokai"
|
||||
tabWidth = 4
|
||||
|
||||
[permalinks]
|
||||
post = "/post/:year/:month/:day/:slug/"
|
||||
|
||||
[[menu.main]]
|
||||
name = "Categories"
|
||||
url = "/categories/"
|
||||
weight = 1
|
||||
custom_css = ["css/theme-override.css"]
|
||||
[[menu.main]]
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
weight = 2
|
||||
[[menu.feed]]
|
||||
name = "Subscribe"
|
||||
url = "/index.xml"
|
||||
|
||||
[params]
|
||||
custom_css = ["css/theme-override.css"]
|
||||
description = "A simple, minimal blog for those who love text."
|
||||
footer = "© 2025 PeterAlexWain | [Github](https://github.com/goodroot/hugo-classic) | [Keybase](https://keybase.io/goodroot)"
|
||||
18
layouts/partials/head_custom.html
Normal file
18
layouts/partials/head_custom.html
Normal file
@ -0,0 +1,18 @@
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
32
layouts/shortcodes/typed.html
Normal file
32
layouts/shortcodes/typed.html
Normal file
@ -0,0 +1,32 @@
|
||||
{{- $text := .Get "text" | default "Hello World" -}}
|
||||
{{- $speed := .Get "speed" | default "30" -}}
|
||||
{{- $loop := .Get "loop" | default "true" -}}
|
||||
{{- $breakLines := .Get "breakLines" | default "false" -}}
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typeit@8.7.1/dist/index.umd.js"></script>
|
||||
|
||||
<div id="typeit-{{ .Ordinal }}"></div>
|
||||
|
||||
{{- if eq .Ordinal 1 -}}
|
||||
<script src="https://cdn.jsdelivr.net/npm/typeit@8.7.1/dist/index.umd.js"></script>
|
||||
{{- end -}}
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
new TypeIt("#typeit-{{ .Ordinal }}", {
|
||||
strings: {{- if hasPrefix $text "[" -}} {{ $text | safeJS }} {{- else -}} "{{ $text }}" {{- end -}},
|
||||
speed: {{ $speed }},
|
||||
loop: {{ $loop }},
|
||||
breakLines: {{ $breakLines }},
|
||||
waitUntilVisible: true,
|
||||
lifeLike: true, // 打字更自然(可选)
|
||||
})
|
||||
{{- if eq $loop "false" }}
|
||||
.exec(() => {
|
||||
// 打完以后销毁 TypeIt 实例
|
||||
instance.destroy();
|
||||
})
|
||||
{{- end }}
|
||||
.go();
|
||||
});
|
||||
</script>
|
||||
108
public/404.html
Normal file
108
public/404.html
Normal file
@ -0,0 +1,108 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>404 Page not found | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
404 - You once were found. But now you're lost. We might wrong, but we still alive.
|
||||
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
BIN
public/apple-touch-icon.png
Normal file
BIN
public/apple-touch-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 190 B |
3
public/bundle.min.js
vendored
Normal file
3
public/bundle.min.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
(()=>{var t=document.querySelector(".container"),e=document.querySelectorAll(".menu");document.body.addEventListener("click",()=>{e.forEach(e=>{e.classList.contains("open")&&e.classList.remove("open")})}),window.addEventListener("resize",()=>{e.forEach(e=>{e.classList.remove("open")})}),e.forEach(n=>{const o=n.querySelector(".menu__trigger"),s=n.querySelector(".menu__dropdown");o.addEventListener("click",o=>{o.stopPropagation(),n.classList.contains("open")?n.classList.remove("open"):(e.forEach(e=>e.classList.remove("open")),n.classList.add("open")),s.getBoundingClientRect().right>t.getBoundingClientRect().right&&(s.style.left="auto",s.style.right=0)}),s.addEventListener("click",e=>e.stopPropagation())})})(),(()=>{var e=document.querySelectorAll(".chroma code[data-lang]");for(const n of e){const s=n.parentElement,o=n.innerText.split(`
|
||||
`).filter(Boolean).join(`
|
||||
`),t=document.createElement("div"),i=n.dataset.lang;if(t.classList.add("code-title"),t.innerText=i,navigator.clipboard!==void 0){const e=document.createElement("button");e.classList.add("copy-button"),e.innerText="Copy",e.addEventListener("click",()=>{e.innerText="Copied",setTimeout(()=>{e.innerText="Copy"},1e3),navigator.clipboard.writeText(o)}),t.append(e)}s.closest(".highlight").prepend(t)}})()
|
||||
124
public/categories/example/index.html
Normal file
124
public/categories/example/index.html
Normal file
@ -0,0 +1,124 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Example | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left current">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
<h1>Example</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<span class="date">2025/04/28</span>
|
||||
<a href="/post/2025/04/28/helloworld/">Helloworld</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
19
public/categories/example/index.xml
Normal file
19
public/categories/example/index.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Example on Let's fall in love</title>
|
||||
<link>http://localhost:1313/categories/example/</link>
|
||||
<description>Recent content in Example on Let's fall in love</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 28 Apr 2025 00:44:05 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/categories/example/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Helloworld</title>
|
||||
<link>http://localhost:1313/post/2025/04/28/helloworld/</link>
|
||||
<pubDate>Mon, 28 Apr 2025 00:44:05 +0800</pubDate>
|
||||
<guid>http://localhost:1313/post/2025/04/28/helloworld/</guid>
|
||||
<description><h1 id="an-h1-header">An h1 header</h1>
<p>Paragraphs are separated by a blank line.</p>
<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
look like:</p>
<ul>
<li>this one</li>
<li>that one</li>
<li>the other one</li>
</ul>
<p>Note that &mdash; not considering the asterisk &mdash; the actual text
content starts at 4-columns in.</p>
<blockquote>
<p>Block quotes are
written like so.</p>
<p>They can span multiple paragraphs,
if you like.</p></blockquote>
<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &ldquo;it&rsquo;s all
in chapters 12&ndash;14&rdquo;). Three dots &hellip; will be converted to an ellipsis.
Unicode is supported. ☺</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
116
public/categories/index.html
Normal file
116
public/categories/index.html
Normal file
@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Categories | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left current">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<h1>Categories</h1>
|
||||
|
||||
<ul class="terms">
|
||||
|
||||
<li>
|
||||
<a href="http://localhost:1313/categories/example/">Example</a> (1)
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
19
public/categories/index.xml
Normal file
19
public/categories/index.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on Let's fall in love</title>
|
||||
<link>http://localhost:1313/categories/</link>
|
||||
<description>Recent content in Categories on Let's fall in love</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 28 Apr 2025 00:44:05 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Example</title>
|
||||
<link>http://localhost:1313/categories/example/</link>
|
||||
<pubDate>Mon, 28 Apr 2025 00:44:05 +0800</pubDate>
|
||||
<guid>http://localhost:1313/categories/example/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
@ -0,0 +1 @@
|
||||
.button-container{display:table;margin-left:auto;margin-right:auto}button,.button,a.button{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:8px 18px;text-decoration:none;text-align:center;font:inherit;font-weight:700;appearance:none;cursor:pointer;outline:none}button.outline,.button.outline,a.button.outline{background:0 0;box-shadow:none;padding:8px 18px}button.outline :hover,.button.outline :hover,a.button.outline :hover{transform:none;box-shadow:none}button.link,.button.link,a.button.link{background:0 0;font-size:var(--font-size)}button.small,.button.small,a.button.small{font-size:calc(var(--font-size) * .8)}button.wide,.button.wide,a.button.wide{min-width:200px;padding:14px 24px}a.button.inline{background:0 0;color:var(--accent);padding:initial;margin:initial;border:initial;font-weight:initial;text-decoration:none}a.button.inline:active,a.button.inline:hover{background:0 0}a.read-more,a.read-more:hover,a.read-more:active{display:inline-flex;border:none;background:0 0;box-shadow:none;padding:0;max-width:100%;text-decoration:none}
|
||||
@ -0,0 +1 @@
|
||||
:root{--code-border:color-mix(in srgb, var(--foreground) 10%, transparent)}pre:not(.chroma){margin:20px 0;padding:10px}pre.chroma{margin:0;padding:10px 0;color:var(--foreground)}pre code{color:var(--foreground);border:none}code{color:var(--accent);text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}.highlight{position:relative;margin:20px 0;border:1px solid var(--code-border)}.highlight pre{border:none}.code-title{display:flex;align-items:center;justify-content:space-between;background:color-mix(in srgb,var(--foreground) 5%,transparent);border-bottom:1px solid var(--code-border);color:var(--comment);text-transform:uppercase;font-size:calc(var(--font-size) * .8);padding:6px 10px;line-height:1}.copy-button{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;text-decoration:none;text-align:center;font-size:13px;font-weight:500;border:1px solid color-mix(in srgb,var(--accent) 15%,transparent);appearance:none;cursor:pointer;outline:none}.code-title .copy-button{z-index:1;background:color-mix(in srgb,var(--foreground) 5%,var(--background))}.code-title:hover .copy-button{display:inline-block}.code-title .copy-button:hover{background:color-mix(in srgb,var(--accent) 10%,var(--background))}.collapsable-code{position:relative;width:100%;margin:20px 0;border:1px solid var(--accent);.highlight { margin: 0; }}.collapsable-code__title{display:inline-flex;align-items:center;flex:1;color:var(--accent);padding:3px 10px;font-size:calc(var(--font-size) * .9);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.collapsable-code__language{color:var(--accent);border:1px solid var(--accent);border-bottom:none;text-transform:uppercase;padding:3px 10px}.collapsable-code summary{color:var(--accent);padding:0 10px;cursor:pointer}.collapsable-code summary:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}.collapsable-code pre{margin-top:0}.collapsable-code pre::first-line{line-height:0}
|
||||
31
public/css/fonts.css
Normal file
31
public/css/fonts.css
Normal file
@ -0,0 +1,31 @@
|
||||
@import url('https://rsms.me/inter/inter.css');
|
||||
html { font-family:
|
||||
'Inter',
|
||||
sans-serif,
|
||||
'Apple Color Emoji',
|
||||
'Segoe UI Emoji',
|
||||
'Segoe UI Symbol';
|
||||
}
|
||||
@supports (font-variation-settings: normal) {
|
||||
html { font-family:
|
||||
'Inter var',
|
||||
sans-serif,
|
||||
'Apple Color Emoji',
|
||||
'Segoe UI Emoji',
|
||||
'Segoe UI Symbol';
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
font-family:
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
"Segoe UI",
|
||||
Helvetica,
|
||||
Arial,
|
||||
sans-serif,
|
||||
"Apple Color Emoji",
|
||||
"Segoe UI Emoji",
|
||||
"Segoe UI Symbol";
|
||||
font-size: 85%;
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
@font-face{font-family:fira code;font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/FiraCode-LatinExt.woff2)format('woff2');unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:fira code;font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/FiraCode-Latin.woff2)format('woff2');unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|
||||
@ -0,0 +1 @@
|
||||
.footer{padding:40px 0;flex-grow:0;opacity:.65}.footer__inner{display:flex;align-items:center;justify-content:space-between;margin:0;max-width:100%}.footer a{color:inherit}.footer .copyright{display:flex;flex-flow:row wrap;flex:1;align-items:center;justify-content:center}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>*:first-child:not(:only-child){margin-right:10px}.footer .copyright span{white-space:nowrap}@media(max-width:900px){.footer__inner{flex-direction:column}}
|
||||
@ -0,0 +1 @@
|
||||
body .gist .blob-num,body .gist .blob-code-inner{border:none}
|
||||
@ -0,0 +1 @@
|
||||
.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo::after{content:"";background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);display:block;width:100%;right:10px}.header__logo a{flex:none;max-width:100%;text-decoration:none}.logo{display:flex;align-items:center;text-decoration:none;background:var(--accent);color:var(--background);font-weight:700;padding:5px 10px}@media print{.header{display:none}}
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
.navigation-menu{display:flex;align-items:flex-start;justify-content:space-between;margin:20px 1px}.navigation-menu__inner{display:flex;flex:1;flex-wrap:wrap;list-style:none;margin:0;padding:0}.navigation-menu__inner>li{flex:none;margin-bottom:10px;white-space:nowrap}.navigation-menu__inner>li:not(:last-of-type){margin-right:20px}.navigation-menu .spacer{flex-grow:1!important}.menu{display:flex;flex-direction:column;position:relative;list-style:none;padding:0;margin:0}.menu__trigger{margin-right:0!important;color:var(--accent);user-select:none;cursor:pointer}.menu__dropdown{display:none;flex-direction:column;position:absolute;background:var(--background);box-shadow:0 10px var(--background),-10px 10px var(--background),10px 10px var(--background);color:var(--accent);border:2px solid var(--accent);margin:0;padding:10px;top:10px;left:0;list-style:none;z-index:99}.open .menu__dropdown{display:flex}.menu__dropdown>li{flex:none}.menu__dropdown>li:not(:last-of-type){margin-bottom:10px}.menu__dropdown>li a{display:flex;padding:5px}.menu--mobile .menu__trigger{color:var(--accent);border:2px solid;margin-left:10px;height:100%;padding:3px 8px;margin-bottom:0!important;position:relative;cursor:pointer;display:none}.menu--mobile li{flex:none}.menu--mobile li:not(:last-of-type){margin-bottom:10px}.menu--language-selector .menu__trigger{color:var(--accent);border:2px solid;margin-left:5px;height:100%;padding:3px 8px;margin-bottom:0!important;position:relative;cursor:pointer}.menu--language-selector .menu__dropdown{left:auto;right:0}@media(max-width:684px){.navigation-menu{margin:0}.navigation-menu__inner{flex-direction:column;align-items:flex-start;padding:0}.navigation-menu__inner li{margin:0;padding:5px}.menu--desktop{display:none}.menu--mobile .menu__trigger{display:block}.menu--mobile .menu__dropdown{left:auto;right:0}.menu--language-selector .menu__trigger{display:none}}
|
||||
@ -0,0 +1 @@
|
||||
.pagination{margin-top:50px}.pagination__title{display:flex;text-align:center;position:relative;margin:100px 0 20px}.pagination__title-h{text-align:center;margin:0 auto;padding:5px 10px;background:var(--background);color:color-mix(in srgb var(--foreground) 30%,transparent);font-size:calc(var(--font-size) * .8);text-transform:uppercase;text-decoration:none;letter-spacing:.1em;z-index:1}.pagination__title hr{position:absolute;left:0;right:0;width:100%;margin-top:15px;z-index:0}.pagination__buttons{display:flex;align-items:center;justify-content:center;flex-flow:row wrap;gap:10px}.pagination__buttons a{display:inline-flex;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none}.button{position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:inherit;padding:0;appearance:none}.button a{display:flex;justify-content:center;flex:1;padding:8px 16px}.button__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.next .button__icon{margin-left:8px}.prev .button__icon{margin-right:8px}@media print{.pagination{display:none}}
|
||||
@ -0,0 +1 @@
|
||||
.index-content{margin:25px 0}.framed{border:1px solid var(--accent);padding:20px}.framed *:first-child{margin-top:0}.framed *:last-child{margin-bottom:0}.posts{width:100%}.post{width:100%;text-align:left;padding:30px 0}.post:not(:last-of-type){border-bottom:1px solid color-mix(in srgb,var(--foreground) 10%,transparent)}.post-meta{font-size:inherit;margin-bottom:10px;color:color-mix(in srgb,var(--foreground) 65%,transparent)}.post-meta>*:not(:first-child)::before{content:"::";display:inline-block;margin:0 8px}.post-title{position:relative;color:var(--accent);margin-top:0!important;margin-bottom:15px!important;padding-bottom:15px;border-bottom:3px dotted var(--accent);text-decoration:none!important}.post-title::after{content:"";position:absolute;bottom:2px;display:block;width:100%;border-bottom:3px dotted var(--accent)}.post-title a{text-decoration:none}.post-tags{display:block;margin-bottom:20px;font-size:inherit;color:var(--accent)}.table-of-contents{margin:40px 0}.post-content{margin-top:25px}.post-cover{margin:25px 0}.post ul{list-style:none}.post ul li:not(:empty)::before{content:"-";position:absolute;left:-20px;color:var(--accent)}.post--regulation h1{justify-content:center}.post--regulation h2{justify-content:center;margin-bottom:10px}.post--regulation h2+h2{margin-top:-10px;margin-bottom:20px}.hanchor{position:absolute;color:var(--accent);text-decoration:none;margin-left:10px;visibility:hidden}h1:hover .hanchor,h2:hover .hanchor,h3:hover .hanchor,h4:hover .hanchor,h5:hover .hanchor,h6:hover .hanchor{visibility:visible}.footnotes{color:color-mix(in srgb,var(--foreground) 50%,transparent)}.footnotes hr{background:color-mix(in srgb,var(--foreground) 50%,transparent)}@media(max-width:684px){.post-cover{padding:10px;border-width:10px}}
|
||||
239
public/css/style.css
Normal file
239
public/css/style.css
Normal file
@ -0,0 +1,239 @@
|
||||
/* Dark mode */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #393E41;
|
||||
color: white;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: #393E41;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #EBC3DB;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #393E41;
|
||||
border-bottom: 2px dotted #EBC3DB;
|
||||
|
||||
}
|
||||
|
||||
.article-meta, .menu a {
|
||||
background: #393E41;
|
||||
color: white;
|
||||
}
|
||||
|
||||
table {
|
||||
margin: auto;
|
||||
border-top: 1px solid #666;
|
||||
border-bottom: 1px solid #666;
|
||||
}
|
||||
table thead th { border-bottom: 1px solid #666; }
|
||||
th, td { padding: 5px; }
|
||||
tr:nth-child(even) { background: #666 }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Light mode */
|
||||
@media (prefers-color-scheme: light) {
|
||||
blockquote {
|
||||
background: #f9f9f9;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #613DC1;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #613DC1;
|
||||
}
|
||||
|
||||
.article-meta, .menu a {
|
||||
background: #E8DBC5;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
table {
|
||||
margin: auto;
|
||||
border-top: 1px solid #666;
|
||||
border-bottom: 1px solid #666;
|
||||
}
|
||||
table thead th { border-bottom: 1px solid #ddd; }
|
||||
th, td { padding: 5px; }
|
||||
tr:nth-child(even) { background: #eee }
|
||||
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
max-width: 800px;
|
||||
margin: auto;
|
||||
padding: .2em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
/* Table of Contents, if wanted
|
||||
|
||||
Add to yaml:
|
||||
|
||||
output:
|
||||
blogdown::html_page:
|
||||
toc: true
|
||||
|
||||
*/
|
||||
|
||||
#TableOfContents, #TOC {
|
||||
border: 1px solid #eee;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* Header and Footer */
|
||||
.menu li { display: inline-block; }
|
||||
.article-meta, .menu a {
|
||||
text-decoration: none;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
border-style: dotted;
|
||||
border-width: 1px;
|
||||
margin: 20px 0px 20px 0px;
|
||||
}
|
||||
|
||||
.terms { font-size: .9em; }
|
||||
.menu, .article-meta, footer { text-align: center; }
|
||||
.title { font-size: 1.1em; }
|
||||
footer a { text-decoration: none; }
|
||||
|
||||
.pull-left {
|
||||
float: left
|
||||
}
|
||||
.pull-right {
|
||||
float: right
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Adjust background at your leisure! */
|
||||
header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 1.75rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
header ul,
|
||||
header ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none
|
||||
}
|
||||
header nav {
|
||||
padding: 0 0.5rem
|
||||
}
|
||||
|
||||
header a {
|
||||
color: #fff;
|
||||
line-height: 1.75rem;
|
||||
padding: 0 0.5rem
|
||||
}
|
||||
header a:hover,
|
||||
header .current a {
|
||||
color: #fff
|
||||
}
|
||||
|
||||
/* Code Boxes */
|
||||
pre {
|
||||
border: 2px solid #EBC3DB;
|
||||
padding: 1em;
|
||||
overflow-x: auto;
|
||||
}
|
||||
pre code { background: none; }
|
||||
|
||||
code {
|
||||
background-color: light-dark(#D6D6D6, #888);
|
||||
border-radius: 3px;
|
||||
padding: 0.2em;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
/* Images, tables, misc. */
|
||||
img, iframe, video {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
main {
|
||||
hyphens: auto;
|
||||
max-width: 650px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
line-height: 1.7em;
|
||||
hyphens: auto;
|
||||
display: block;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
main a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
||||
border-left: 5px solid #ccc;
|
||||
padding: 3px 1em 3px;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
padding: 0px 12px 0px 12px;
|
||||
}
|
||||
#foxy {
|
||||
min-width: 40px;
|
||||
float: right;
|
||||
padding: 10px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
#table-of-contents {
|
||||
}
|
||||
|
||||
/* Small devices, phones */
|
||||
@media only screen and (min-width : 480px) {
|
||||
#foxy {
|
||||
min-width: 40px;
|
||||
float: center;
|
||||
padding: 10px 10px 10px 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* 在大屏幕上应用特定样式 */
|
||||
@media screen and (min-width: 768px) {
|
||||
#table-of-contents {
|
||||
position: fixed; /* 固定定位,使其悬浮在页面上 */
|
||||
top: 50%; /* 上边距为50% */
|
||||
right: 15px; /* 右边距为0,将其放在右侧 */
|
||||
transform: translateY(-50%); /* 使用transform来垂直居中 */
|
||||
background-color: #f0f0f0; /* 设置背景颜色 */
|
||||
padding: 10px; /* 添加一些内边距以增加可读性 */
|
||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
|
||||
width: 250px; /* 设置宽度 */
|
||||
max-height: 70vh; /* 设置最大高度为视口的70% */
|
||||
overflow-y: auto; /* 添加垂直滚动条 */
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1 @@
|
||||
:root{--first-tone:var(--accent);--second-tone:color-mix(in srgb, var(--accent) 70%, transparent);--comment:color-mix(in srgb, var(--foreground) 50%, transparent)}.bg{}.chroma{overflow:auto}.chroma .x{}.chroma .err{}.chroma .cl{}.chroma .lnlinks{outline:none;text-decoration:none;color:inherit}.chroma .lntd{width:100%;vertical-align:top;padding:0;margin:0;border:0}.chroma .lntd:first-child{width:auto}.chroma .lntd code{display:grid}.chroma .lntable{width:100%;border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:color-mix(in srgb,var(--foreground) 5%,transparent)!important}.chroma .lnt{color:var(--comment);white-space:pre;-webkit-user-select:none;user-select:none;padding:0 10px}.chroma .ln{color:var(--comment);white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.8em;padding:0 .4em 0 0}.chroma .line{display:flex;padding:0 10px}.chroma .k{color:var(--second-tone)}.chroma .kc{color:var(--second-tone)}.chroma .kd{color:var(--second-tone)}.chroma .kn{color:var(--second-tone)}.chroma .kp{color:var(--second-tone)}.chroma .kr{color:var(--second-tone)}.chroma .kt{color:var(--second-tone)}.chroma .n{color:var(--first-tone)}.chroma .na{color:var(--second-tone)}.chroma .nb{color:var(--first-tone)}.chroma .bp{color:var(--first-tone)}.chroma .nc{color:var(--foreground)}.chroma .no{color:var(--first-tone)}.chroma .nd{color:var(--first-tone)}.chroma .ni{color:var(--first-tone)}.chroma .ne{color:var(--first-tone)}.chroma .nf{color:var(--first-tone)}.chroma .fm{color:var(--first-tone)}.chroma .nl{color:var(--first-tone)}.chroma .nn{color:var(--first-tone)}.chroma .nx{color:var(--first-tone)}.chroma .py{color:var(--first-tone)}.chroma .nt{color:var(--first-tone)}.chroma .nv{color:var(--first-tone)}.chroma .vc{color:var(--first-tone)}.chroma .vg{color:var(--first-tone)}.chroma .vi{color:var(--first-tone)}.chroma .vm{color:var(--first-tone)}.chroma .l{}.chroma .ld{}.chroma .s{color:var(--foreground)}.chroma .sa{color:var(--foreground)}.chroma .sb{color:var(--foreground)}.chroma .sc{color:var(--foreground)}.chroma .dl{color:var(--foreground)}.chroma .sd{color:var(--foreground)}.chroma .s2{color:var(--foreground)}.chroma .se{color:var(--foreground)}.chroma .sh{color:var(--foreground)}.chroma .si{color:var(--foreground)}.chroma .sx{color:var(--foreground)}.chroma .sr{color:var(--foreground)}.chroma .s1{color:var(--foreground)}.chroma .ss{color:var(--foreground)}.chroma .m{color:var(--first-tone)}.chroma .mb{color:var(--first-tone)}.chroma .mf{color:var(--first-tone)}.chroma .mh{color:var(--first-tone)}.chroma .mi{color:var(--first-tone)}.chroma .il{color:var(--first-tone)}.chroma .mo{color:var(--first-tone)}.chroma .o{color:var(--foreground)}.chroma .ow{color:var(--foreground)}.chroma .p{color:var(--foreground)}.chroma .c{color:var(--comment)}.chroma .ch{color:var(--comment)}.chroma .cm{color:var(--comment)}.chroma .c1{color:var(--comment)}.chroma .cs{color:var(--comment)}.chroma .cp{color:var(--comment)}.chroma .cpf{color:var(--comment)}.chroma .g{}.chroma .gd{color:var(--first-tone)}.chroma .ge{}.chroma .gr{}.chroma .gh{}.chroma .gi{color:var(--second-tone)}.chroma .go{}.chroma .gp{}.chroma .gs{}.chroma .gu{}.chroma .gt{}.chroma .gl{}.chroma .w{}.chroma .language-php .cp{color:var(--foreground)}
|
||||
@ -0,0 +1,2 @@
|
||||
/* Placeholder file for your custom settings. */
|
||||
/* You can get the color scheme variables from https://panr.github.io/terminal-css/ */
|
||||
@ -0,0 +1 @@
|
||||
.terms h3{font-size:initial}.terms ul{list-style:none}.terms ul li a{color:var(--accent)}.terms ul li:not(:empty)::before{content:"-";position:absolute;left:-20px;color:var(--accent)}
|
||||
1
public/css/theme-override.css
Normal file
1
public/css/theme-override.css
Normal file
@ -0,0 +1 @@
|
||||
footer { font-size: 90%; }
|
||||
BIN
public/favicon.png
Normal file
BIN
public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 190 B |
BIN
public/fonts/FiraCode-Latin.woff2
Normal file
BIN
public/fonts/FiraCode-Latin.woff2
Normal file
Binary file not shown.
BIN
public/fonts/FiraCode-LatinExt.woff2
Normal file
BIN
public/fonts/FiraCode-LatinExt.woff2
Normal file
Binary file not shown.
202
public/index.html
Normal file
202
public/index.html
Normal file
@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.147.0"><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Something about me qwq">
|
||||
<title>Home | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left current">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
|
||||
<h1 id="hahahugoshortcode1s0hbhb"><script src="https://cdn.jsdelivr.net/npm/typeit@8.7.1/dist/index.umd.js"></script>
|
||||
|
||||
<div id="typeit-0"></div><script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
new TypeIt("#typeit-0", {
|
||||
strings:"欢迎来到互联网的尽头。\u003cbr\u003eWelcome to the end of the Internet.",
|
||||
speed: "13",
|
||||
loop: "false",
|
||||
breakLines: "false",
|
||||
waitUntilVisible: true,
|
||||
lifeLike: true,
|
||||
})
|
||||
.exec(() => {
|
||||
|
||||
instance.destroy();
|
||||
})
|
||||
.go();
|
||||
});
|
||||
</script></h1>
|
||||
<h1 id="tldr">TL;DR</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: left">项目/Item</th>
|
||||
<th style="text-align: left">内容/Details</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: left">姓名/Name</td>
|
||||
<td style="text-align: left">Peter Alex Wain A.K.A <strong>paw</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">邮箱/Mail</td>
|
||||
<td style="text-align: left">crgrenyrkjnva#ubgznvy.pbz (ROT13)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">地址/Addr</td>
|
||||
<td style="text-align: left">木分镇,白完 Fragrance Town, Anhui Province</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">性别/Sex</td>
|
||||
<td style="text-align: left">男 Boi</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">身高/Length</td>
|
||||
<td style="text-align: left">150cm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">体重/Weight</td>
|
||||
<td style="text-align: left">300kg</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">性取向/S.O.</td>
|
||||
<td style="text-align: left">可爱 qte thing qwq</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">发情时间/PornTime</td>
|
||||
<td style="text-align: left">7d x 24h</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">主页/Page</td>
|
||||
<td style="text-align: left"><a href="http://b.peteralexwain.me/">http://b.peteralexwain.me/</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h1 id="whats-more">¿What’s more?</h1>
|
||||
<p>这里(暂时)由木分镇的PeterAlexWain A.K.A paw维护。<br>
|
||||
这里(暂时或者很长一段时间)可能会充满低创与牢骚一类的没有任何营养价值的东西。<br>
|
||||
paw很希望与你交换友链,(如果你不嫌弃的话,)请偷偷联系他交换友链。<br>
|
||||
paw喜欢猫科动物,喜欢Unix,喜欢计算器,喜欢Ruby,喜欢沿着没有阳光的角落阴暗爬行,喜欢一切可爱的东西(,当然还有你)。<br>
|
||||
paw喜欢很多东西但是又无能为力,他的技术水平令人汗颜。<br>
|
||||
为什么说这里是互联网的尽头呢?因为这里既不有趣也没有知识,访问这里可能会让你痛苦(,就像paw活在现实世界一样)。<br>
|
||||
可以逗一逗活在这个页面左上角的黑猫玩,黑猫特别可爱(,就像是你)。<br>
|
||||
(如果没有特别说明,)这里的所有文章都属于CC BY-NC-ND 4.0授权。<br>
|
||||
如果你做了一些让他难过的事,paw就只能躲在他(桥洞底下)的家里,抱着捡来的(不是浅色的)被单哭泣。<br>
|
||||
By the way,paw iz bad at inglish,just lik hiz chinglish.</p>
|
||||
<hr>
|
||||
<h1 id="something-sucks">Something sucks</h1>
|
||||
|
||||
|
||||
<ul>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<span class="date">2025/04/28</span>
|
||||
<a href="/post/2025/04/28/helloworld/">Helloworld</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
19
public/index.xml
Normal file
19
public/index.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Home on Let's fall in love</title>
|
||||
<link>http://localhost:1313/</link>
|
||||
<description>Recent content in Home on Let's fall in love</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 28 Apr 2025 00:44:05 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Helloworld</title>
|
||||
<link>http://localhost:1313/post/2025/04/28/helloworld/</link>
|
||||
<pubDate>Mon, 28 Apr 2025 00:44:05 +0800</pubDate>
|
||||
<guid>http://localhost:1313/post/2025/04/28/helloworld/</guid>
|
||||
<description><h1 id="an-h1-header">An h1 header</h1>
<p>Paragraphs are separated by a blank line.</p>
<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
look like:</p>
<ul>
<li>this one</li>
<li>that one</li>
<li>the other one</li>
</ul>
<p>Note that &mdash; not considering the asterisk &mdash; the actual text
content starts at 4-columns in.</p>
<blockquote>
<p>Block quotes are
written like so.</p>
<p>They can span multiple paragraphs,
if you like.</p></blockquote>
<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &ldquo;it&rsquo;s all
in chapters 12&ndash;14&rdquo;). Three dots &hellip; will be converted to an ellipsis.
Unicode is supported. ☺</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
14
public/js/webneko.js
Normal file
14
public/js/webneko.js
Normal file
File diff suppressed because one or more lines are too long
BIN
public/og-image.png
Normal file
BIN
public/og-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
10
public/page/1/index.html
Normal file
10
public/page/1/index.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>//localhost:1313/</title>
|
||||
<link rel="canonical" href="//localhost:1313/">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url=//localhost:1313/">
|
||||
</head>
|
||||
</html>
|
||||
252
public/post/2018/08/30/markdown-guide-modified/index.html
Normal file
252
public/post/2018/08/30/markdown-guide-modified/index.html
Normal file
@ -0,0 +1,252 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Markdown Guide (modified) | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id=nl><script src="/js/webneko.js"></script><a
|
||||
href="https://webneko.net">Neko</a></h1>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="article-meta">
|
||||
<h1><span class="title">Markdown Guide (modified)</span></h1>
|
||||
<h2 class="author">Open Source</h2>
|
||||
<h2 class="date">2018/08/30</h2>
|
||||
<p class="terms">
|
||||
|
||||
|
||||
Categories: <a href="/categories/example">Example</a>
|
||||
|
||||
|
||||
|
||||
Tags: <a href="/tags/markdown">Markdown</a>
|
||||
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<main>
|
||||
<h1 id="an-h1-header">An h1 header</h1>
|
||||
<p>Paragraphs are separated by a blank line.</p>
|
||||
<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
|
||||
look like:</p>
|
||||
<ul>
|
||||
<li>this one</li>
|
||||
<li>that one</li>
|
||||
<li>the other one</li>
|
||||
</ul>
|
||||
<p>Note that — not considering the asterisk — the actual text
|
||||
content starts at 4-columns in.</p>
|
||||
<blockquote>
|
||||
<p>Block quotes are
|
||||
written like so.</p>
|
||||
<p>They can span multiple paragraphs,
|
||||
if you like.</p></blockquote>
|
||||
<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., “it’s all
|
||||
in chapters 12–14”). Three dots … will be converted to an ellipsis.
|
||||
Unicode is supported. ☺</p>
|
||||
<h2 id="an-h2-header">An h2 header</h2>
|
||||
<p>Here’s a numbered list:</p>
|
||||
<ol>
|
||||
<li>first item</li>
|
||||
<li>second item</li>
|
||||
<li>third item</li>
|
||||
</ol>
|
||||
<p>Note again how the actual text starts at 4 columns in (4 characters
|
||||
from the left side). Here’s a code sample:</p>
|
||||
<pre><code># Let me re-iterate ...
|
||||
for i in 1 .. 10 { do-something(i) }
|
||||
</code></pre>
|
||||
<p>As you probably guessed, indented 4 spaces. By the way, instead of
|
||||
indenting the block, you can use delimited blocks, if you like:</p>
|
||||
<pre tabindex="0"><code>define foobar() {
|
||||
print "Welcome to flavor country!";
|
||||
}
|
||||
</code></pre><p>(which makes copying & pasting easier). You can optionally mark the
|
||||
delimited block for Pandoc to syntax highlight it:</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-python" data-lang="python"><span style="display:flex;"><span><span style="color:#f92672">import</span> time
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Quick, count to ten!</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">for</span> i <span style="color:#f92672">in</span> range(<span style="color:#ae81ff">10</span>):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#75715e"># (but not *too* quick)</span>
|
||||
</span></span><span style="display:flex;"><span> time<span style="color:#f92672">.</span>sleep(<span style="color:#ae81ff">0.5</span>)
|
||||
</span></span><span style="display:flex;"><span> print i
|
||||
</span></span></code></pre></div><h3 id="an-h3-header">An h3 header</h3>
|
||||
<p>Now a nested list:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>First, get these ingredients:</p>
|
||||
<ul>
|
||||
<li>carrots</li>
|
||||
<li>celery</li>
|
||||
<li>lentils</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Boil some water.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Dump everything in the pot and follow
|
||||
this algorithm:</p>
|
||||
<pre><code>find wooden spoon
|
||||
uncover pot
|
||||
stir
|
||||
cover pot
|
||||
balance wooden spoon precariously on pot handle
|
||||
wait 10 minutes
|
||||
goto first step (or shut off burner when done)
|
||||
</code></pre>
|
||||
<p>Do not bump wooden spoon or it will fall.</p>
|
||||
</li>
|
||||
</ol>
|
||||
<p>Notice again how text always lines up on 4-space indents (including
|
||||
that last line which continues item 3 above).</p>
|
||||
<p>Here’s a link to <a href="http://foo.bar">a website</a>, to a <a href="local-doc.html">local
|
||||
doc</a>, and to a <a href="#an-h2-header">section heading in the current
|
||||
doc</a>. Here’s a footnote <sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.</p>
|
||||
<p>Tables can look like this:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>size</th>
|
||||
<th>material</th>
|
||||
<th>color</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>9</td>
|
||||
<td>leather</td>
|
||||
<td>brown</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>10</td>
|
||||
<td>hemp canvas</td>
|
||||
<td>natural</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>11</td>
|
||||
<td>glass</td>
|
||||
<td>transparent</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Table: Shoes, their sizes, and what they’re made of</p>
|
||||
<p>(The above is the caption for the table.)</p>
|
||||
<p>A horizontal rule follows.</p>
|
||||
<hr>
|
||||
<p>Here’s a definition list:</p>
|
||||
<dl>
|
||||
<dt>apples</dt>
|
||||
<dd>Good for making applesauce.</dd>
|
||||
<dt>oranges</dt>
|
||||
<dd>Citrus!</dd>
|
||||
<dt>tomatoes</dt>
|
||||
<dd>There’s no “e” in tomatoe.</dd>
|
||||
</dl>
|
||||
<p>(Put a blank line between each term/definition pair to spread
|
||||
things out more.)</p>
|
||||
<p>and images can be specified like so:</p>
|
||||
<p><img src="/images/partywizard.gif" alt="example image" title="An exemplary image"></p>
|
||||
<p>Inline math equations go in like so: \(\omega = d\phi / dt\).
|
||||
Display math should get its own line and be put in in
|
||||
double-dollarsigns:</p>
|
||||
<p>$$I = \int \rho R^{2} dV$$</p>
|
||||
<p>And note that you can backslash-escape any punctuation characters
|
||||
which you wish to be displayed literally, ex.: `foo`, *bar*, etc.</p>
|
||||
<h4 id="images-auto-center">Images auto center:</h4>
|
||||
<p><img src="http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185" alt="Party"></p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>Footnote text goes here. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<a href="/"> >> Home</a>
|
||||
</main>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PAW CC BY-NC-ND 4.0 | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
267
public/post/2025/04/28/helloworld/index.html
Normal file
267
public/post/2025/04/28/helloworld/index.html
Normal file
@ -0,0 +1,267 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Helloworld | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="article-meta">
|
||||
<h1><span class="title">Helloworld</span></h1>
|
||||
<h2 class="author">PeterAlexWain</h2>
|
||||
<h2 class="date">2025/04/28</h2>
|
||||
<p class="terms">
|
||||
|
||||
|
||||
Categories: <a href="/categories/example">Example</a>
|
||||
|
||||
|
||||
|
||||
Tags: <a href="/tags/markdown">Markdown</a>
|
||||
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<main>
|
||||
<h1 id="an-h1-header">An h1 header</h1>
|
||||
<p>Paragraphs are separated by a blank line.</p>
|
||||
<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
|
||||
look like:</p>
|
||||
<ul>
|
||||
<li>this one</li>
|
||||
<li>that one</li>
|
||||
<li>the other one</li>
|
||||
</ul>
|
||||
<p>Note that — not considering the asterisk — the actual text
|
||||
content starts at 4-columns in.</p>
|
||||
<blockquote>
|
||||
<p>Block quotes are
|
||||
written like so.</p>
|
||||
<p>They can span multiple paragraphs,
|
||||
if you like.</p></blockquote>
|
||||
<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., “it’s all
|
||||
in chapters 12–14”). Three dots … will be converted to an ellipsis.
|
||||
Unicode is supported. ☺</p>
|
||||
<h2 id="an-h2-header">An h2 header</h2>
|
||||
<p>Here’s a numbered list:</p>
|
||||
<ol>
|
||||
<li>first item</li>
|
||||
<li>second item</li>
|
||||
<li>third item</li>
|
||||
</ol>
|
||||
<p>Note again how the actual text starts at 4 columns in (4 characters
|
||||
from the left side). Here’s a code sample:</p>
|
||||
<pre><code># Let me re-iterate ...
|
||||
for i in 1 .. 10 { do-something(i) }
|
||||
</code></pre>
|
||||
<p>As you probably guessed, indented 4 spaces. By the way, instead of
|
||||
indenting the block, you can use delimited blocks, if you like:</p>
|
||||
<pre tabindex="0"><code>define foobar() {
|
||||
print "Welcome to flavor country!";
|
||||
}
|
||||
</code></pre><p>(which makes copying & pasting easier). You can optionally mark the
|
||||
delimited block for Pandoc to syntax highlight it:</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-python" data-lang="python"><span style="display:flex;"><span><span style="color:#f92672">import</span> time
|
||||
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Quick, count to ten!</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">for</span> i <span style="color:#f92672">in</span> range(<span style="color:#ae81ff">10</span>):
|
||||
</span></span><span style="display:flex;"><span> <span style="color:#75715e"># (but not *too* quick)</span>
|
||||
</span></span><span style="display:flex;"><span> time<span style="color:#f92672">.</span>sleep(<span style="color:#ae81ff">0.5</span>)
|
||||
</span></span><span style="display:flex;"><span> print i
|
||||
</span></span></code></pre></div><h3 id="an-h3-header">An h3 header</h3>
|
||||
<p>Now a nested list:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>First, get these ingredients:</p>
|
||||
<ul>
|
||||
<li>carrots</li>
|
||||
<li>celery</li>
|
||||
<li>lentils</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Boil some water.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Dump everything in the pot and follow
|
||||
this algorithm:</p>
|
||||
<pre><code>find wooden spoon
|
||||
uncover pot
|
||||
stir
|
||||
cover pot
|
||||
balance wooden spoon precariously on pot handle
|
||||
wait 10 minutes
|
||||
goto first step (or shut off burner when done)
|
||||
</code></pre>
|
||||
<p>Do not bump wooden spoon or it will fall.</p>
|
||||
</li>
|
||||
</ol>
|
||||
<p>Notice again how text always lines up on 4-space indents (including
|
||||
that last line which continues item 3 above).</p>
|
||||
<p>Here’s a link to <a href="http://foo.bar">a website</a>, to a <a href="local-doc.html">local
|
||||
doc</a>, and to a <a href="#an-h2-header">section heading in the current
|
||||
doc</a>. Here’s a footnote <sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.</p>
|
||||
<p>Tables can look like this:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>size</th>
|
||||
<th>material</th>
|
||||
<th>color</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>9</td>
|
||||
<td>leather</td>
|
||||
<td>brown</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>10</td>
|
||||
<td>hemp canvas</td>
|
||||
<td>natural</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>11</td>
|
||||
<td>glass</td>
|
||||
<td>transparent</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Table: Shoes, their sizes, and what they’re made of</p>
|
||||
<p>(The above is the caption for the table.)</p>
|
||||
<p>A horizontal rule follows.</p>
|
||||
<hr>
|
||||
<p>Here’s a definition list:</p>
|
||||
<dl>
|
||||
<dt>apples</dt>
|
||||
<dd>Good for making applesauce.</dd>
|
||||
<dt>oranges</dt>
|
||||
<dd>Citrus!</dd>
|
||||
<dt>tomatoes</dt>
|
||||
<dd>There’s no “e” in tomatoe.</dd>
|
||||
</dl>
|
||||
<p>(Put a blank line between each term/definition pair to spread
|
||||
things out more.)</p>
|
||||
<p>and images can be specified like so:</p>
|
||||
<p><img src="/images/partywizard.gif" alt="example image" title="An exemplary image"></p>
|
||||
<p>Inline math equations go in like so: \(\omega = d\phi / dt\).
|
||||
Display math should get its own line and be put in in
|
||||
double-dollarsigns:</p>
|
||||
<p>$$I = \int \rho R^{2} dV$$</p>
|
||||
<p>And note that you can backslash-escape any punctuation characters
|
||||
which you wish to be displayed literally, ex.: `foo`, *bar*, etc.</p>
|
||||
<h4 id="images-auto-center">Images auto center:</h4>
|
||||
<p><img src="http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185" alt="Party"></p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
<li id="fn:1">
|
||||
<p>Footnote text goes here. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<a href="/"> >> Home</a>
|
||||
</main>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
124
public/post/index.html
Normal file
124
public/post/index.html
Normal file
@ -0,0 +1,124 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Posts | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
<h1>Posts</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<span class="date">2025/04/28</span>
|
||||
<a href="/post/2025/04/28/helloworld/">Helloworld</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
19
public/post/index.xml
Normal file
19
public/post/index.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on Let's fall in love</title>
|
||||
<link>http://localhost:1313/post/</link>
|
||||
<description>Recent content in Posts on Let's fall in love</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 28 Apr 2025 00:44:05 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/post/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Helloworld</title>
|
||||
<link>http://localhost:1313/post/2025/04/28/helloworld/</link>
|
||||
<pubDate>Mon, 28 Apr 2025 00:44:05 +0800</pubDate>
|
||||
<guid>http://localhost:1313/post/2025/04/28/helloworld/</guid>
|
||||
<description><h1 id="an-h1-header">An h1 header</h1>
<p>Paragraphs are separated by a blank line.</p>
<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
look like:</p>
<ul>
<li>this one</li>
<li>that one</li>
<li>the other one</li>
</ul>
<p>Note that &mdash; not considering the asterisk &mdash; the actual text
content starts at 4-columns in.</p>
<blockquote>
<p>Block quotes are
written like so.</p>
<p>They can span multiple paragraphs,
if you like.</p></blockquote>
<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &ldquo;it&rsquo;s all
in chapters 12&ndash;14&rdquo;). Three dots &hellip; will be converted to an ellipsis.
Unicode is supported. ☺</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
26
public/sitemap.xml
Normal file
26
public/sitemap.xml
Normal file
@ -0,0 +1,26 @@
|
||||
<?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>http://localhost:1313/categories/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/categories/example/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/post/2025/04/28/helloworld/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/tags/markdown/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/post/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/tags/</loc>
|
||||
<lastmod>2025-04-28T00:44:05+08:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
116
public/tags/index.html
Normal file
116
public/tags/index.html
Normal file
@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Tags | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left current">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<h1>Tags</h1>
|
||||
|
||||
<ul class="terms">
|
||||
|
||||
<li>
|
||||
<a href="http://localhost:1313/tags/markdown/">Markdown</a> (1)
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
19
public/tags/index.xml
Normal file
19
public/tags/index.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on Let's fall in love</title>
|
||||
<link>http://localhost:1313/tags/</link>
|
||||
<description>Recent content in Tags on Let's fall in love</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 28 Apr 2025 00:44:05 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Markdown</title>
|
||||
<link>http://localhost:1313/tags/markdown/</link>
|
||||
<pubDate>Mon, 28 Apr 2025 00:44:05 +0800</pubDate>
|
||||
<guid>http://localhost:1313/tags/markdown/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
124
public/tags/markdown/index.html
Normal file
124
public/tags/markdown/index.html
Normal file
@ -0,0 +1,124 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
||||
<link rel="manifest" href="/images/site.webmanifest">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="A simple, minimal blog for those who love text.">
|
||||
<title>Markdown | Let's fall in love</title>
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="stylesheet" href="/css/fonts.css" />
|
||||
<link rel="stylesheet" href="http://localhost:1313/css/theme-override.css">
|
||||
<script>NekoType="black"</script>
|
||||
<h1 id="nl">
|
||||
<script src="/js/webneko.js"></script>
|
||||
</h1>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js"
|
||||
onload="renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{left: '$$', right: '$$', display: true},
|
||||
{left: '$', right: '$', display: false},
|
||||
{left: '\\(', right: '\\)', display: false},
|
||||
{left: '\\[', right: '\\]', display: true}
|
||||
]
|
||||
});"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.1.0/dist/typed.umd.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="http://localhost:1313/">~/let's fall in love</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left ">
|
||||
<a href="/categories/">~/categories</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="pull-left current">
|
||||
<a href="/tags/">~/tags</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="pull-right">
|
||||
<a href="/index.xml">~/subscribe</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
<h1>Markdown</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<span class="date">2025/04/28</span>
|
||||
<a href="/post/2025/04/28/helloworld/">Helloworld</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
function center_el(tagName) {
|
||||
var tags = document.getElementsByTagName(tagName), i, tag;
|
||||
for (i = 0; i < tags.length; i++) {
|
||||
tag = tags[i];
|
||||
var parent = tag.parentElement;
|
||||
|
||||
if (parent.childNodes.length === 1) {
|
||||
|
||||
if (parent.nodeName === 'A') {
|
||||
parent = parent.parentElement;
|
||||
if (parent.childNodes.length != 1) continue;
|
||||
}
|
||||
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
|
||||
}
|
||||
}
|
||||
}
|
||||
var tagNames = ['img', 'embed', 'object'];
|
||||
for (var i = 0; i < tagNames.length; i++) {
|
||||
center_el(tagNames[i]);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
<hr/>
|
||||
© 2025 PeterAlexWain | <a href="https://github.com/goodroot/hugo-classic">Github</a> | <a href="https://keybase.io/goodroot">Keybase</a>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
19
public/tags/markdown/index.xml
Normal file
19
public/tags/markdown/index.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Markdown on Let's fall in love</title>
|
||||
<link>http://localhost:1313/tags/markdown/</link>
|
||||
<description>Recent content in Markdown on Let's fall in love</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Mon, 28 Apr 2025 00:44:05 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/tags/markdown/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Helloworld</title>
|
||||
<link>http://localhost:1313/post/2025/04/28/helloworld/</link>
|
||||
<pubDate>Mon, 28 Apr 2025 00:44:05 +0800</pubDate>
|
||||
<guid>http://localhost:1313/post/2025/04/28/helloworld/</guid>
|
||||
<description><h1 id="an-h1-header">An h1 header</h1>
<p>Paragraphs are separated by a blank line.</p>
<p>2nd paragraph. <em>Italic</em>, <strong>bold</strong>, and <code>monospace</code>. Itemized lists
look like:</p>
<ul>
<li>this one</li>
<li>that one</li>
<li>the other one</li>
</ul>
<p>Note that &mdash; not considering the asterisk &mdash; the actual text
content starts at 4-columns in.</p>
<blockquote>
<p>Block quotes are
written like so.</p>
<p>They can span multiple paragraphs,
if you like.</p></blockquote>
<p>Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &ldquo;it&rsquo;s all
in chapters 12&ndash;14&rdquo;). Three dots &hellip; will be converted to an ellipsis.
Unicode is supported. ☺</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
1
static/css/theme-override.css
Normal file
1
static/css/theme-override.css
Normal file
@ -0,0 +1 @@
|
||||
footer { font-size: 90%; }
|
||||
14
static/js/webneko.js
Normal file
14
static/js/webneko.js
Normal file
File diff suppressed because one or more lines are too long
1
themes/hugo-classic
Submodule
1
themes/hugo-classic
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 18a7c62ecc52878a086b82b109a912174222359d
|
||||
Loading…
Reference in New Issue
Block a user