From 4980296e2214f7dd7b89a57a12cf170d3708b545 Mon Sep 17 00:00:00 2001 From: wuyoli Date: Sat, 12 Feb 2022 20:10:27 +0000 Subject: [PATCH] starting work --- .editorconfig | 11 + .gitignore | 4 + README.md | 5 + config.toml | 29 + content/._index.md.swp | Bin 0 -> 12288 bytes content/.post-1.md.swp | Bin 0 -> 16384 bytes content/.post-8.md.swp | Bin 0 -> 12288 bytes content/_index.md | 8 + content/about/_index.md | 7 + content/archive/_index.md | 4 + content/links/_index.md | 8 + content/post-1.md | 139 +++++ content/post-10.md | 7 + content/post-11.md | 7 + content/post-2.md | 18 + content/post-3.md | 7 + content/post-4.md | 7 + content/post-5.md | 7 + content/post-6.md | 7 + content/post-7.md | 7 + content/post-8.md | 7 + content/post-9.md | 7 + sass/.style.scss.swp | Bin 0 -> 36864 bytes sass/style.scss | 863 ++++++++++++++++++++++++++++ templates/.basic.html.swp | Bin 0 -> 16384 bytes templates/about.html | 8 + templates/archive.html | 24 + templates/basic.html | 100 ++++ templates/comments.html | 42 ++ templates/index.html | 60 ++ templates/links.html | 8 + templates/page.html | 55 ++ templates/shortcodes/asciinema.html | 1 + templates/shortcodes/bilibili.html | 1 + templates/shortcodes/mermaid.html | 3 + templates/tags/list.html | 15 + templates/tags/single.html | 23 + 37 files changed, 1499 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 README.md create mode 100644 config.toml create mode 100644 content/._index.md.swp create mode 100644 content/.post-1.md.swp create mode 100644 content/.post-8.md.swp create mode 100644 content/_index.md create mode 100644 content/about/_index.md create mode 100644 content/archive/_index.md create mode 100644 content/links/_index.md create mode 100644 content/post-1.md create mode 100644 content/post-10.md create mode 100644 content/post-11.md create mode 100644 content/post-2.md create mode 100644 content/post-3.md create mode 100644 content/post-4.md create mode 100644 content/post-5.md create mode 100644 content/post-6.md create mode 100644 content/post-7.md create mode 100644 content/post-8.md create mode 100644 content/post-9.md create mode 100644 sass/.style.scss.swp create mode 100644 sass/style.scss create mode 100644 templates/.basic.html.swp create mode 100644 templates/about.html create mode 100644 templates/archive.html create mode 100644 templates/basic.html create mode 100644 templates/comments.html create mode 100644 templates/index.html create mode 100644 templates/links.html create mode 100644 templates/page.html create mode 100644 templates/shortcodes/asciinema.html create mode 100644 templates/shortcodes/bilibili.html create mode 100644 templates/shortcodes/mermaid.html create mode 100644 templates/tags/list.html create mode 100644 templates/tags/single.html diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e68ab27 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +; http://editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fbf78f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +public/ +.idea +.DS_Store +./**/.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 0000000..dfe54a5 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# My Blog + +This is my blog. It is made with [Zola](https://www.getzola.org/themes/anatole-zola/) and hosted on [wuyoli.tilde.team](https://wuyoli.tilde.team). +The theme I'm using is a heavily modified version of the [Anatole Theme](https://github.com/longfangsong/anatole-zola) with the [Nord color theme](https://www.nordtheme.com/). + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..14d0202 --- /dev/null +++ b/config.toml @@ -0,0 +1,29 @@ +title = "Wuyoli" +description = "My Blog" +base_url = "https://wuyoli.tilde.team" +compile_sass = true +highlight_code = true +build_search_index = false +generate_feed = true +highlight_theme = "nord" + +default_language = "en" + +taxonomies = [ + {name = "tags"}, +] + +[extra.social] +github = "" +twitter = "w" +facebook = "" +instagram = "r" +dribbble = "t" +weibo = "y" +linkedin = "" +flickr = "" + +[extra.show] +tags = true +links = true + diff --git a/content/._index.md.swp b/content/._index.md.swp new file mode 100644 index 0000000000000000000000000000000000000000..e8678d209a7d35051287dd691296a5af89d9d7c1 GIT binary patch literal 12288 zcmeI&Jx;?g6u|LUCKd#O3xqIMq#rCS9DsolMk=?lXe8%DsVgW0EUX*=7`OsgU}xkK zl{f)n;Dr<+F;u8bmHw8VtY<$v$#0A7e*5I`DAEcn!TzwY?;jX+}YjB+?m!O&%DiitCwW4y@=BI4;xW}00IjLtjS)t)2w8y;k^gY{lEO Ya5|}ZSl_B2`qXJ@;@!_+DAfZ#0bw^s+yDRo literal 0 HcmV?d00001 diff --git a/content/.post-1.md.swp b/content/.post-1.md.swp new file mode 100644 index 0000000000000000000000000000000000000000..ee2bb258bc944f3cb6ae06ddd214c41efdb69cc7 GIT binary patch literal 16384 zcmeI2+m9Sa6~>zY2_)j8ypxCj9c2wo5pcOeCZNFaECNFebL33v+v1QNefJ+r$uCW`U| zQn%)t?&_*Kb|BbPZ|9o2z{1*HedP2mbbkAovsbJ$N4c5PS!G8+;jj2|NpKf=_`hV8IZqg7e@6 zI1Jtc_JIe${op?EGB0Od1iuE)gP($*fX{$u!Eta590CWyJ>YKeO?>_h@FB1Qx?mni zEPMdG^099pzal@RVqFYBsz*U^ia&6uPOP(yZmuI8>!fe8ywmn~l+KJwTv(J@qN8a= zr5ct=p$0BfHpxv`bW!gd9Nm^XjR+bXsBcH2h~9L7+IAYH@sC z2&U9ZVPapLYpL^wf7$fa`LfrvliRZ`b=+pSZ0GK{4}&xOX_FVGuOgclOaiq)cb!yD z@gn5bEya_xRKBVba3OIS0e}pt34#MHwK}v}ziP9ql<%^m%pL(}Zt0FneuUNS)Z~@D zo%XPZqpmly)9$(cc6F^(C+)7Hf2W;}Yj-Q@WORS0p?6vL*ht4|WYqHNsgnoQQ5Tj% zdZ%60`T-Ccn?ftxndPRKZ(LYC-aOnG%iopR5uH?o&*vK^nbbdc^vu%glV^{qO5=*5 zCD%8q7rAhQ8PI1yxZ1MCkT56-{Zxloy0*3!Obp#Ma<74%%D7#_ID*=nnu#?MtT<ba;t<*%<_&x_1% zm|~c@a(#IH`ol>tPd~W#n;vT+%&jRot|6_tb5M83>&eZ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ACfo8tK>z}?t7A;K>z{}fB*y_009U< z00Izz00bcL4+6fg4&@hll@SF&K)GS7_Ef4<9qL5-k>1(WTKb6CmW}Jyy~do|Xw0Sa PhzoY@8LzA3P3!ys-y}Vw literal 0 HcmV?d00001 diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..604b485 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,8 @@ ++++ +title = "index" +template = "index.html" +transparent = true +sort_by = "date" +paginate_by = 10 ++++ + diff --git a/content/about/_index.md b/content/about/_index.md new file mode 100644 index 0000000..52f671f --- /dev/null +++ b/content/about/_index.md @@ -0,0 +1,7 @@ ++++ +title = "About" +template = "about.html" +paginate_by = 0 ++++ + +About this site \ No newline at end of file diff --git a/content/archive/_index.md b/content/archive/_index.md new file mode 100644 index 0000000..5bc9a67 --- /dev/null +++ b/content/archive/_index.md @@ -0,0 +1,4 @@ ++++ +title = "archive" +template = "archive.html" ++++ diff --git a/content/links/_index.md b/content/links/_index.md new file mode 100644 index 0000000..27aa6a5 --- /dev/null +++ b/content/links/_index.md @@ -0,0 +1,8 @@ ++++ +title = "Links" +template = "links.html" +paginate_by = 0 ++++ + +Extern links: +- [Origin theme demo](http://anatole.cai-cai.me) diff --git a/content/post-1.md b/content/post-1.md new file mode 100644 index 0000000..e20b572 --- /dev/null +++ b/content/post-1.md @@ -0,0 +1,139 @@ ++++ +title = "Basic Markdown syntax" +template = "page.html" +date = 2020-01-02T15:00:00Z +[taxonomies] +tags = ["markdown", "demo"] +[extra] +summary = "Shows how basic Markdown syntax are rendered" +mathjax = "tex-mml" ++++ + + + +## Headings + +The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. + +# H1 +## H2 +### H3 +#### H4 +##### H5 +###### H6 + +## Paragraph + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Blockquotes + +The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. + +#### Blockquote without attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Note** that you can use *Markdown syntax* within a blockquote. + +#### Blockquote with attribution + +> Don't communicate by sharing memory, share memory by communicating.

+> — Rob Pike[^1] + +[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. + +## Tables + +Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. + + Name | Age +--------|------ + Bob | 27 + Alice | 23 + +#### Inline Markdown within tables + +| Inline    | Markdown    | In    | Table | +| ---------- | --------- | ----------------- | ---------- | +| *italics* | **bold** | ~~strikethrough~~    | `code` | + +## Code Blocks + +#### Code block with backticks + +```html + + + + + Example HTML5 Document + + +

Test

+ + +``` +#### Code block indented with four spaces + + + + + + Example HTML5 Document + + +

Test

+ + + +## List Types + +#### Ordered List + +1. First item +2. Second item +3. Third item + +#### Unordered List + +* List item +* Another item +* And another item + +#### Nested list + +* Item + 1. First Sub-item + 2. Second Sub-item +* Item + - A + - B + +## 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. + +## mathjax + +$$ +\displaylines{x = a + b \\\\ y = b + c} +$$ + +$$ +\require{bussproofs} +\begin{prooftree} +\AxiomC{A} +\AxiomC{B} +\BinaryInfC{D} +\end{prooftree} +$$ \ No newline at end of file diff --git a/content/post-10.md b/content/post-10.md new file mode 100644 index 0000000..893bad0 --- /dev/null +++ b/content/post-10.md @@ -0,0 +1,7 @@ ++++ +title = "Post 6" +template = "page.html" +date = 2020-01-01T03:00:00Z ++++ + +## Post 6 \ No newline at end of file diff --git a/content/post-11.md b/content/post-11.md new file mode 100644 index 0000000..82c0739 --- /dev/null +++ b/content/post-11.md @@ -0,0 +1,7 @@ ++++ +title = "Post 6" +template = "page.html" +date = 2020-01-01T02:00:00Z ++++ + +## Post 6 \ No newline at end of file diff --git a/content/post-2.md b/content/post-2.md new file mode 100644 index 0000000..c59ebee --- /dev/null +++ b/content/post-2.md @@ -0,0 +1,18 @@ ++++ +title = "Short codes demo" +template = "page.html" +date = 2020-01-01T15:00:00Z +[taxonomies] +tags = ["demo"] +[extra] +summary = "A demo of using short codes" ++++ + +## Youtube (zola built in) +{{ youtube(id="IwPRu5FhfIQ", autoplay=true) }} + +## Asciinema +{{ asciinema(id="pegRHrTsb4pRhkuBJE29kMMQ5") }} + +## Bilibili +{{ bilibili(id="BV1tZ4y137qK") }} \ No newline at end of file diff --git a/content/post-3.md b/content/post-3.md new file mode 100644 index 0000000..29b71b2 --- /dev/null +++ b/content/post-3.md @@ -0,0 +1,7 @@ ++++ +title = "Post 3" +template = "page.html" +date = 2020-01-01T10:00:00Z ++++ + +## Post 3 \ No newline at end of file diff --git a/content/post-4.md b/content/post-4.md new file mode 100644 index 0000000..0bd43e6 --- /dev/null +++ b/content/post-4.md @@ -0,0 +1,7 @@ ++++ +title = "Post 4" +template = "page.html" +date = 2020-01-01T09:00:00Z ++++ + +## Post 4 \ No newline at end of file diff --git a/content/post-5.md b/content/post-5.md new file mode 100644 index 0000000..a5e612a --- /dev/null +++ b/content/post-5.md @@ -0,0 +1,7 @@ ++++ +title = "Post 5" +template = "page.html" +date = 2020-01-01T08:00:00Z ++++ + +## Post 5 \ No newline at end of file diff --git a/content/post-6.md b/content/post-6.md new file mode 100644 index 0000000..58b8ecb --- /dev/null +++ b/content/post-6.md @@ -0,0 +1,7 @@ ++++ +title = "Post 6" +template = "page.html" +date = 2020-01-01T07:00:00Z ++++ + +## Post 6 \ No newline at end of file diff --git a/content/post-7.md b/content/post-7.md new file mode 100644 index 0000000..b89999a --- /dev/null +++ b/content/post-7.md @@ -0,0 +1,7 @@ ++++ +title = "Post 7" +template = "page.html" +date = 2020-01-01T06:00:00Z ++++ + +## Post 7 \ No newline at end of file diff --git a/content/post-8.md b/content/post-8.md new file mode 100644 index 0000000..e7156e3 --- /dev/null +++ b/content/post-8.md @@ -0,0 +1,7 @@ ++++ +title = "Post 8" +template = "page.html" +date = 2020-01-01T05:00:00Z ++++ + +## Post 8 \ No newline at end of file diff --git a/content/post-9.md b/content/post-9.md new file mode 100644 index 0000000..4ce25a9 --- /dev/null +++ b/content/post-9.md @@ -0,0 +1,7 @@ ++++ +title = "Post 6" +template = "page.html" +date = 2020-01-01T04:00:00Z ++++ + +## Post 6 \ No newline at end of file diff --git a/sass/.style.scss.swp b/sass/.style.scss.swp new file mode 100644 index 0000000000000000000000000000000000000000..93c905a017693293bb27dbd864deabf4368d34ef GIT binary patch literal 36864 zcmeI*349dg-N5nnK&+^(M_U~z!DvDLqx6)Rv3Z?a^_km~?>ur7Ck5;X~zu^cok>q z$?gv8%#2ycrmg6#Y}%~LoB4cQzA!Uw#qyo`{2J`0x=J+$sxh#(G0;~?MO(KxqOl=f zFPqj3-_6)&>m$~7FV*#{F;Iq3q;TS0N4vm~b_%~GN z@TmH^LDA2R)!#$a&!t7n_2-YM&zBc1AEN%=Tm8IT9Y7yvQ}y{`_4E0n<(sI_b@(?KBH4=FVx8qj)3JdWQY>y#W#fC57PTYX&umD%%EKElyOiaab z=)nHi54G3@A8ZkcEXOT44_O?KV{r^7pa~6#V=ruvO|c1vV8!N<$UFEep2K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@KU>DI8hOKq)s4ITA0T;uN(79igNBJ;-Yu( zpu6RyZtt|&afx|_e{P;1~Av{DBZ(U?t3k$Wi{L4eicishb%*fAW2 zQe||SaYq!Mk3@;nE^Ka?(r))w_uShKV=&dG#D6$rtT)omdd8@0ubl0DRc+2KAJ3=_ zqBXm(>fluSXt#-Xq)*Fe%%|+^hm&>vl`dSVudnOG^4ZajeAOxOnaM7n=xSGk$KY_m F@;xvUVGsZS literal 0 HcmV?d00001 diff --git a/templates/about.html b/templates/about.html new file mode 100644 index 0000000..63483ec --- /dev/null +++ b/templates/about.html @@ -0,0 +1,8 @@ +{% extends "basic.html" %} + +{% block content %} +
+

About

+
{{ section.content | safe }}
+
+{% endblock content %} diff --git a/templates/archive.html b/templates/archive.html new file mode 100644 index 0000000..9889d23 --- /dev/null +++ b/templates/archive.html @@ -0,0 +1,24 @@ +{% extends "basic.html" %} + +{% block content %} +
+
    + {% set section_item = get_section(path="_index.md") %} + {% for year, posts in section_item.pages | group_by(attribute="year") %} +
    {{ year }}
    +
      + {% for post in posts %} +
      +
      + {{ post.title }} +
      + {{ post.date }} +
      +
      +
      + {% endfor %} +
    + {% endfor %} +
+
+{% endblock content %} diff --git a/templates/basic.html b/templates/basic.html new file mode 100644 index 0000000..0540452 --- /dev/null +++ b/templates/basic.html @@ -0,0 +1,100 @@ + + + + + + + + + + {% block title %}{{ config.title }}{% endblock title %} + {% if config.generate_feed %} + {% block rss %} + + {% endblock rss %} + {% endif %} + + {% block extra_head %} + {% endblock extra_head %} + + + +
+
+ +
+
+
  • +
    +
    +
    +
    +
    +
    + {% block content %} + {% endblock content %} +
    +
    +
    + + diff --git a/templates/comments.html b/templates/comments.html new file mode 100644 index 0000000..5d2281c --- /dev/null +++ b/templates/comments.html @@ -0,0 +1,42 @@ +{% if config.extra.comment.disqus %} + +
    + + +{% endif %} + +{% if config.extra.comment.valine %} + +
    + + + +{% endif %} + +{% if config.extra.comment.utterances %} + +{% endif %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..b91bc58 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,60 @@ +{% extends "basic.html" %} + +{% block content %} + {% for page in paginator.pages %} +
    +
    +

    {{ page.title }}

    +
    +
    +

    + {% if page.extra.summary %} + {{ page.extra.summary | safe | striptags }} + {% else %} + {{ page.content | safe | striptags | truncate(length=100) }} + {% endif %} +

    +
    + +
    + {% endfor %} + +{% endblock content %} diff --git a/templates/links.html b/templates/links.html new file mode 100644 index 0000000..606a15b --- /dev/null +++ b/templates/links.html @@ -0,0 +1,8 @@ +{% extends "basic.html" %} + +{% block content %} +
    +

    Links

    +
    {{ section.content | safe }}
    +
    +{% endblock content %} diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..f2d0919 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,55 @@ +{% extends "basic.html" %} + +{% block title %}{{ config.title }} • {{ page.title }}{% endblock title %} + +{% block content %} +
    +

    {{ page.title }}

    + {% if page.extra.author %} +
    By {{ page.extra.author }}.
    + {% endif %} +
    {{ page.content | safe }}
    + +
    + +{% include "comments.html" %} +{% if page.extra.mathjax %} + + + +{% endif %} +{% if page.extra.mermaid %} + + +{% endif %} +{% endblock content %} diff --git a/templates/shortcodes/asciinema.html b/templates/shortcodes/asciinema.html new file mode 100644 index 0000000..dd170b9 --- /dev/null +++ b/templates/shortcodes/asciinema.html @@ -0,0 +1 @@ + diff --git a/templates/shortcodes/bilibili.html b/templates/shortcodes/bilibili.html new file mode 100644 index 0000000..52c5833 --- /dev/null +++ b/templates/shortcodes/bilibili.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/shortcodes/mermaid.html b/templates/shortcodes/mermaid.html new file mode 100644 index 0000000..e147f47 --- /dev/null +++ b/templates/shortcodes/mermaid.html @@ -0,0 +1,3 @@ +
    +{{ body }} +
    \ No newline at end of file diff --git a/templates/tags/list.html b/templates/tags/list.html new file mode 100644 index 0000000..c3b5024 --- /dev/null +++ b/templates/tags/list.html @@ -0,0 +1,15 @@ +{% extends "basic.html" %} + +{% block content %} +
    +
      +
      Tags
      + {% for term in terms %} +
    • + {{ term.name }} + {{ term.pages | length }} +
    • + {% endfor %} +
    +
    +{% endblock content %} diff --git a/templates/tags/single.html b/templates/tags/single.html new file mode 100644 index 0000000..3efb907 --- /dev/null +++ b/templates/tags/single.html @@ -0,0 +1,23 @@ +{% extends "basic.html" %} + +{% block content %} +
    +
      +
      +
      {{ term.name }}
      +
        + {% for post in term.pages %} +
        +
        + {{ post.title }} +
        + {{ post.date }} +
        +
        +
        + {% endfor %} +
      +
      +
    +
    +{% endblock content %}