关于我
+00后,湖北襄阳人,目前大三本科在读
+脾气超好,喜欢看求生类节目以及恐怖片
+性格慢热,言语幽默,喜欢独处
+喜欢用文字记录生活,是用心在写文章的宝藏博主
+ +diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index c6f3fcef..00000000 --- a/archetypes/default.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -date = {{ .Date }} -draft = true -+++ diff --git a/content/about.md b/content/about.md new file mode 100644 index 00000000..35a85175 --- /dev/null +++ b/content/about.md @@ -0,0 +1,16 @@ +--- +title: "关于" +date: 2024-07-11 +layout: "about" # 指定使用的布局文件 +draft: false # 如果你准备好了,可以将其设置为 false +--- + +## 关于我 ## + +00后,湖北襄阳人,目前大三本科在读 + +脾气超好,喜欢看求生类节目以及恐怖片 + +性格慢热,言语幽默,喜欢独处 + +喜欢用文字记录生活,是用心在写文章的宝藏博主 diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 00000000..e912a4ff --- /dev/null +++ b/content/archives.md @@ -0,0 +1,6 @@ +--- +title: "归档" +date: 2024-07-11 +layout: "archives" # 指定使用的布局文件 +draft: false # 如果你准备好了,可以将其设置为 false +--- \ No newline at end of file diff --git a/content/links.md b/content/links.md new file mode 100644 index 00000000..3065c42e --- /dev/null +++ b/content/links.md @@ -0,0 +1,6 @@ +--- +title: "友链" +date: 2024-07-11 +layout: "links" # 指定使用的布局文件 +draft: false # 如果你准备好了,可以将其设置为 false +--- \ No newline at end of file diff --git a/content/post/demo01.md b/content/post/demo01.md index eb805ad0..a9f6f084 100644 --- a/content/post/demo01.md +++ b/content/post/demo01.md @@ -1,7 +1,13 @@ +++ -title = 'Demo01' -date = 2024-07-10T17:59:30+08:00 +title = "Demo01" +date = 2024-07-11T15:27:54+08:00 draft = false +categories = [] +tags = [] +author = "小赵同学" +++ -哈哈哈哈 这个是我的第一篇文章 \ No newline at end of file +Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem. + +Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do. + diff --git a/content/post/demo03.md b/content/post/demo03.md new file mode 100644 index 00000000..0583d805 --- /dev/null +++ b/content/post/demo03.md @@ -0,0 +1,17 @@ ++++ +title = "Demo03" +date = 2024-07-11T15:30:40+08:00 +draft = false +categories = [] +tags = [] +author = "小赵同学" ++++ + +gfwuyegfvweuifvucbwieuhcwuefhcieufhweu + +cuwehfiwf + +chuewho + + + diff --git a/content/post/my-first-post.md b/content/post/my-first-post.md new file mode 100644 index 00000000..d44877e6 --- /dev/null +++ b/content/post/my-first-post.md @@ -0,0 +1,11 @@ ++++ +title = "My First Post" +date = 2024-07-11T15:19:10+08:00 +draft = false +categories = [] +tags = [] +author = "小赵同学" ++++ + +这是我的第一篇文章。 + diff --git a/content/post/my-second-post.md b/content/post/my-second-post.md new file mode 100644 index 00000000..12c65879 --- /dev/null +++ b/content/post/my-second-post.md @@ -0,0 +1,11 @@ ++++ +title = "My Second Post" +date = 2024-07-11T15:23:41+08:00 +draft = false +categories = [] +tags = [] +author = "小赵同学" ++++ + +请输入您的文章内容。 + diff --git a/content/post/test01.md b/content/post/test01.md deleted file mode 100644 index 02d4144c..00000000 --- a/content/post/test01.md +++ /dev/null @@ -1,13 +0,0 @@ -+++ -title = 'Test01' -date = 2024-07-11T11:42:53+08:00 -draft = false -+++ - -hhahhahhhhahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh - -放假了!!!!!!!!!!!!!!!!!!!!! - -``` -cccc -``` \ No newline at end of file diff --git a/content/says.md b/content/says.md new file mode 100644 index 00000000..14e10fd4 --- /dev/null +++ b/content/says.md @@ -0,0 +1,14 @@ +--- +title: "留言" +date: 2024-07-11 +layout: "says" # 指定使用的布局文件 +draft: false # 如果你准备好了,可以将其设置为 false +--- + +## 交换要求 ## + +1.资源站,资讯站,采集站等类型不交换 + +2.不要才来访博客就申请交换链接,这样很不礼貌,请先让我熟悉你,我的朋友 + +3.目前技术类博客需要夹杂生活类文章,不然博主回访,会看不懂代码而悲伤不知道评论什么 diff --git a/public/about/index.html b/public/about/index.html new file mode 100644 index 00000000..3d8e4a0c --- /dev/null +++ b/public/about/index.html @@ -0,0 +1,101 @@ + + + +
+ + + +00后,湖北襄阳人,目前大三本科在读
+脾气超好,喜欢看求生类节目以及恐怖片
+性格慢热,言语幽默,喜欢独处
+喜欢用文字记录生活,是用心在写文章的宝藏博主
+ +哈哈哈哈 这个是我的第一篇文章
+Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem.
+Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do.
hhahhahhhhahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
-放假了!!!!!!!!!!!!!!!!!!!!!
-cccc
-
+ gfwuyegfvweuifvucbwieuhcwuefhcieufhweu
+cuwehfiwf
+chuewho
+
这是我的第一篇文章。
+ +Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem.
-Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do.
+请输入您的文章内容。
1.资源站,资讯站,采集站等类型不交换
+2.不要才来访博客就申请交换链接,这样很不礼貌,请先让我熟悉你,我的朋友
+3.目前技术类博客需要夹杂生活类文章,不然博主回访,会看不懂代码而悲伤不知道评论什么
+🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:
Test
+ + +``` + +#### Code block indented with four spaces + + + + + +Test
+ + + +#### Code block with Hugo's internal highlight shortcode + +{{< highlight html >}} + + + + + +Test
+ + +{{< /highlight >}} + +## List Types + +#### Ordered List + +1. First item +2. Second item +3. Third item + +#### Unordered List + +- List item +- Another item +- And another item + +#### Nested list + +- Fruit + - Apple + - Orange + - Banana +- Dairy + - Milk + - Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/themes/paper/exampleSite/content/post/math-typesetting.md b/themes/paper/exampleSite/content/post/math-typesetting.md new file mode 100644 index 00000000..2d0ec488 --- /dev/null +++ b/themes/paper/exampleSite/content/post/math-typesetting.md @@ -0,0 +1,48 @@ +--- +author: lee.so +title: Math Typesetting +date: 2019-03-08 +description: A brief guide to setup KaTeX +math: true +--- + +Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. + + + +In this example we will be using [KaTeX](https://katex.org/) + +- Create a partial under `/layouts/partials/math.html` +- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. +- Include the partial in your templates like so: + +```bash +{{ if or .Params.math .Site.Params.math }} +{{ partial "math.html" . }} +{{ end }} +``` + +- To enable KaTeX globally set the parameter `math` to `true` in a project's configuration +- To enable KaTeX on a per page basis include the parameter `math: true` in content files + +**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) + +{{< math.inline >}} + +{{ math.inline >}} + +### Examples + +{{< math.inline >}} + ++Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\) +
+ +{{ math.inline >}} + +Block math: + +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ diff --git a/themes/paper/exampleSite/content/post/placeholder-text.md b/themes/paper/exampleSite/content/post/placeholder-text.md new file mode 100644 index 00000000..c99db5d7 --- /dev/null +++ b/themes/paper/exampleSite/content/post/placeholder-text.md @@ -0,0 +1,48 @@ ++++ +author = "lee.so" +title = "Placeholder Text" +date = "2019-03-09" +description = "Lorem Ipsum Dolor Si Amet" +tags = [ + "markdown", + "text", +] +weight = 10 ++++ + +Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. + +1. Exierant elisi ambit vivere dedere +2. Duce pollice +3. Eris modo +4. Spargitque ferrea quos palude + +Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. + +1. Comas hunc haec pietate fetum procerum dixit +2. Post torum vates letum Tiresia +3. Flumen querellas +4. Arcanaque montibus omnes +5. Quidem et + +# Vagus elidunt + + + +[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) + +## Mane refeci capiebant unda mulcebat + +Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. + +Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. + +Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. + +{{< css.inline >}} + + + +{{< /css.inline >}} diff --git a/themes/paper/exampleSite/content/post/rich-content.md b/themes/paper/exampleSite/content/post/rich-content.md new file mode 100644 index 00000000..4dbe194c --- /dev/null +++ b/themes/paper/exampleSite/content/post/rich-content.md @@ -0,0 +1,18 @@ ++++ +author = "lee.so" +title = "Rich Content" +date = "2019-03-10" +description = "A brief description of Hugo Shortcodes" +tags = [ + "shortcodes", + "privacy", +] ++++ + +Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. + +## + +## YouTube Privacy Enhanced Shortcode + +{{< youtube ZJthWmvUzzc >}} diff --git a/themes/paper/exampleSite/go.default.mod b/themes/paper/exampleSite/go.default.mod new file mode 100644 index 00000000..73c7904f --- /dev/null +++ b/themes/paper/exampleSite/go.default.mod @@ -0,0 +1,3 @@ +module hugo-paper + +go 1.11 diff --git a/themes/paper/exampleSite/go.toml b/themes/paper/exampleSite/go.toml new file mode 100644 index 00000000..59b9fd3a --- /dev/null +++ b/themes/paper/exampleSite/go.toml @@ -0,0 +1,4 @@ +# Only used for build theme demo site on vercel.com +[module] + [[module.imports]] + path = "github.com/nanxiaobei/hugo-paper" diff --git a/themes/paper/exampleSite/layouts/.gitkeep b/themes/paper/exampleSite/layouts/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/themes/paper/exampleSite/static/.gitignore b/themes/paper/exampleSite/static/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/themes/paper/go.mod b/themes/paper/go.mod new file mode 100644 index 00000000..efab6032 --- /dev/null +++ b/themes/paper/go.mod @@ -0,0 +1,3 @@ +module github.com/nanxiaobei/hugo-paper + +go 1.20 diff --git a/themes/paper/i18n/ar.yaml b/themes/paper/i18n/ar.yaml new file mode 100644 index 00000000..7fb9e166 --- /dev/null +++ b/themes/paper/i18n/ar.yaml @@ -0,0 +1,19 @@ +- id: prev_page + translation: 'الصفحة السابقة' + +- id: next_page + translation: 'الصفحة التالية' + +- id: read_time + translation: + one: 'دقيقة واحده' + other: 'دقیقه {{ .Count }}' + +- id: toc + translation: 'فهرس المحتوي' + +- id: translations + translation: 'ترجمات اخري' + +- id: home + translation: 'الصفحة الرئيسية' diff --git a/themes/paper/i18n/be.yaml b/themes/paper/i18n/be.yaml new file mode 100644 index 00000000..914a6fd4 --- /dev/null +++ b/themes/paper/i18n/be.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Папярэдняя' + +- id: next_page + translation: 'Наступная' diff --git a/themes/paper/i18n/bn.yaml b/themes/paper/i18n/bn.yaml new file mode 100644 index 00000000..292442d8 --- /dev/null +++ b/themes/paper/i18n/bn.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'পূর্ববর্তী পাতা' + +- id: next_page + translation: 'পরবর্তী পাতা' diff --git a/themes/paper/i18n/de.yaml b/themes/paper/i18n/de.yaml new file mode 100644 index 00000000..a8aebae7 --- /dev/null +++ b/themes/paper/i18n/de.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Vorherige Seite' + +- id: next_page + translation: 'Nächste Seite' diff --git a/themes/paper/i18n/en.yaml b/themes/paper/i18n/en.yaml new file mode 100644 index 00000000..028996c3 --- /dev/null +++ b/themes/paper/i18n/en.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Prev Page' + +- id: next_page + translation: 'Next Page' diff --git a/themes/paper/i18n/es.yaml b/themes/paper/i18n/es.yaml new file mode 100644 index 00000000..189ea3d8 --- /dev/null +++ b/themes/paper/i18n/es.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Página siguiente' + +- id: next_page + translation: 'Página anterior' diff --git a/themes/paper/i18n/fa.yaml b/themes/paper/i18n/fa.yaml new file mode 100644 index 00000000..d5fc4300 --- /dev/null +++ b/themes/paper/i18n/fa.yaml @@ -0,0 +1,13 @@ +- id: prev_page + translation: 'صفحه قبل' + +- id: next_page + translation: 'صفحه بعد' + +- id: read_time + translation: + one: 'یک دقیقه' + other: 'دقیقه {{ .Count }}' + +- id: home + translation: 'صفحه اصلی' diff --git a/themes/paper/i18n/fr.yaml b/themes/paper/i18n/fr.yaml new file mode 100644 index 00000000..ab0630ac --- /dev/null +++ b/themes/paper/i18n/fr.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Page précédente' + +- id: next_page + translation: 'Page suivante' diff --git a/themes/paper/i18n/he.yaml b/themes/paper/i18n/he.yaml new file mode 100644 index 00000000..97723d3a --- /dev/null +++ b/themes/paper/i18n/he.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'לעמוד הקודם' + +- id: next_page + translation: 'לעמוד הבא' diff --git a/themes/paper/i18n/id.yaml b/themes/paper/i18n/id.yaml new file mode 100644 index 00000000..c941eb67 --- /dev/null +++ b/themes/paper/i18n/id.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Sebelumnya' + +- id: next_page + translation: 'Selanjutnya' diff --git a/themes/paper/i18n/it.yaml b/themes/paper/i18n/it.yaml new file mode 100644 index 00000000..c10d42cb --- /dev/null +++ b/themes/paper/i18n/it.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Pagina Precedente' + +- id: next_page + translation: 'Pagina Successiva' diff --git a/themes/paper/i18n/ja.yaml b/themes/paper/i18n/ja.yaml new file mode 100644 index 00000000..ba4bf13b --- /dev/null +++ b/themes/paper/i18n/ja.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: '前のページ' + +- id: next_page + translation: '次のページ' diff --git a/themes/paper/i18n/ko.yaml b/themes/paper/i18n/ko.yaml new file mode 100644 index 00000000..934f730d --- /dev/null +++ b/themes/paper/i18n/ko.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: '이전 페이지' + +- id: next_page + translation: '다음 페이지' diff --git a/themes/paper/i18n/oc.yaml b/themes/paper/i18n/oc.yaml new file mode 100644 index 00000000..b42e462a --- /dev/null +++ b/themes/paper/i18n/oc.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Pagina precedenta' + +- id: next_page + translation: 'Pagina seguenta' diff --git a/themes/paper/i18n/pl.yaml b/themes/paper/i18n/pl.yaml new file mode 100644 index 00000000..0a6ebb21 --- /dev/null +++ b/themes/paper/i18n/pl.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Poprzednia strona' + +- id: next_page + translation: 'Następna strona' diff --git a/themes/paper/i18n/pt.yaml b/themes/paper/i18n/pt.yaml new file mode 100644 index 00000000..4e178b61 --- /dev/null +++ b/themes/paper/i18n/pt.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Página Anterior' + +- id: next_page + translation: 'Página Seguinte' diff --git a/themes/paper/i18n/ru.yaml b/themes/paper/i18n/ru.yaml new file mode 100644 index 00000000..f7ed4da2 --- /dev/null +++ b/themes/paper/i18n/ru.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Сюда' + +- id: next_page + translation: 'Туда' diff --git a/themes/paper/i18n/sw.yaml b/themes/paper/i18n/sw.yaml new file mode 100644 index 00000000..7dd8c743 --- /dev/null +++ b/themes/paper/i18n/sw.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: 'Ukurasa Uliotangulia' + +- id: next_page + translation: 'Ukurasa Unaofuata' diff --git a/themes/paper/i18n/zh.yaml b/themes/paper/i18n/zh.yaml new file mode 100644 index 00000000..be76196b --- /dev/null +++ b/themes/paper/i18n/zh.yaml @@ -0,0 +1,5 @@ +- id: prev_page + translation: '上一页' + +- id: next_page + translation: '下一页' diff --git a/themes/paper/images/pagespeed.png b/themes/paper/images/pagespeed.png new file mode 100644 index 00000000..27ff7878 Binary files /dev/null and b/themes/paper/images/pagespeed.png differ diff --git a/themes/paper/images/screenshot.png b/themes/paper/images/screenshot.png new file mode 100644 index 00000000..436e5299 Binary files /dev/null and b/themes/paper/images/screenshot.png differ diff --git a/themes/paper/images/screenshot_dark.png b/themes/paper/images/screenshot_dark.png new file mode 100644 index 00000000..fdeb103c Binary files /dev/null and b/themes/paper/images/screenshot_dark.png differ diff --git a/themes/paper/images/screenshot_mobile.png b/themes/paper/images/screenshot_mobile.png new file mode 100644 index 00000000..c6dd38d6 Binary files /dev/null and b/themes/paper/images/screenshot_mobile.png differ diff --git a/themes/paper/images/tn.png b/themes/paper/images/tn.png new file mode 100644 index 00000000..436e5299 Binary files /dev/null and b/themes/paper/images/tn.png differ diff --git a/themes/paper/layouts/404.html b/themes/paper/layouts/404.html new file mode 100644 index 00000000..6e67b988 --- /dev/null +++ b/themes/paper/layouts/404.html @@ -0,0 +1,7 @@ +{{ define "main" }} +