summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2024-12-19 14:41:26 +0800
committerEltrac <hi@guhub.cn>2024-12-19 14:41:26 +0800
commit103be55e7daec04b8da85ee175a9ec2317a167b0 (patch)
tree99af7983332c60d0f276416a34d936a5581fede8 /themes
parentc695b9511ba695bc57144b8c3f72e08625cce29a (diff)
refactor: disable theme and move layout files to root
Diffstat (limited to 'themes')
-rw-r--r--themes/yinyang/assets/css/flexboxgrid-6.3.1.min.css852
-rw-r--r--themes/yinyang/assets/css/index.css639
-rw-r--r--themes/yinyang/layouts/404.html7
-rw-r--r--themes/yinyang/layouts/_default/list.html25
-rw-r--r--themes/yinyang/layouts/_default/single.html65
-rw-r--r--themes/yinyang/layouts/index.calheatmap.json15
-rw-r--r--themes/yinyang/layouts/index.html62
-rw-r--r--themes/yinyang/layouts/partials/footer.html10
-rw-r--r--themes/yinyang/layouts/partials/head.html17
-rw-r--r--themes/yinyang/layouts/partials/head/css.html17
-rw-r--r--themes/yinyang/layouts/partials/head/headscript.html24
-rw-r--r--themes/yinyang/layouts/partials/head/siteinfo.html66
-rw-r--r--themes/yinyang/layouts/partials/header.html17
-rw-r--r--themes/yinyang/layouts/partials/scripts.html31
-rw-r--r--themes/yinyang/layouts/partials/snippets/document-end.html9
-rw-r--r--themes/yinyang/layouts/partials/snippets/document-start.html5
-rw-r--r--themes/yinyang/layouts/shortcodes/bloglink.html11
-rw-r--r--themes/yinyang/layouts/shortcodes/book.html17
-rw-r--r--themes/yinyang/layouts/shortcodes/callout.html6
-rw-r--r--themes/yinyang/layouts/shortcodes/gallery.html3
-rw-r--r--themes/yinyang/layouts/shortcodes/img.html20
-rw-r--r--themes/yinyang/layouts/shortcodes/quotecard.html3
-rw-r--r--themes/yinyang/static/favicon.pngbin2980 -> 0 bytes
23 files changed, 0 insertions, 1921 deletions
diff --git a/themes/yinyang/assets/css/flexboxgrid-6.3.1.min.css b/themes/yinyang/assets/css/flexboxgrid-6.3.1.min.css
deleted file mode 100644
index 7e27ea94..00000000
--- a/themes/yinyang/assets/css/flexboxgrid-6.3.1.min.css
+++ /dev/null
@@ -1,852 +0,0 @@
-.container,
-.container-fluid {
- margin-right: auto;
- margin-left: auto
-}
-
-.container-fluid {
- padding-right: 2rem;
- padding-left: 2rem
-}
-
-.row {
- box-sizing: border-box;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 0;
- -ms-flex: 0 1 auto;
- flex: 0 1 auto;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- margin-right: -.5rem;
- margin-left: -.5rem
-}
-
-.row.reverse {
- -webkit-box-orient: horizontal;
- -webkit-box-direction: reverse;
- -ms-flex-direction: row-reverse;
- flex-direction: row-reverse
-}
-
-.col.reverse {
- -webkit-box-orient: vertical;
- -webkit-box-direction: reverse;
- -ms-flex-direction: column-reverse;
- flex-direction: column-reverse
-}
-
-.col-xs,
-.col-xs-1,
-.col-xs-10,
-.col-xs-11,
-.col-xs-12,
-.col-xs-2,
-.col-xs-3,
-.col-xs-4,
-.col-xs-5,
-.col-xs-6,
-.col-xs-7,
-.col-xs-8,
-.col-xs-9,
-.col-xs-offset-0,
-.col-xs-offset-1,
-.col-xs-offset-10,
-.col-xs-offset-11,
-.col-xs-offset-12,
-.col-xs-offset-2,
-.col-xs-offset-3,
-.col-xs-offset-4,
-.col-xs-offset-5,
-.col-xs-offset-6,
-.col-xs-offset-7,
-.col-xs-offset-8,
-.col-xs-offset-9 {
- box-sizing: border-box;
- -webkit-box-flex: 0;
- -ms-flex: 0 0 auto;
- flex: 0 0 auto;
- padding-right: .5rem;
- padding-left: .5rem
-}
-
-.col-xs {
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -ms-flex-preferred-size: 0;
- flex-basis: 0;
- max-width: 100%
-}
-
-.col-xs-1 {
- -ms-flex-preferred-size: 8.33333333%;
- flex-basis: 8.33333333%;
- max-width: 8.33333333%
-}
-
-.col-xs-2 {
- -ms-flex-preferred-size: 16.66666667%;
- flex-basis: 16.66666667%;
- max-width: 16.66666667%
-}
-
-.col-xs-3 {
- -ms-flex-preferred-size: 25%;
- flex-basis: 25%;
- max-width: 25%
-}
-
-.col-xs-4 {
- -ms-flex-preferred-size: 33.33333333%;
- flex-basis: 33.33333333%;
- max-width: 33.33333333%
-}
-
-.col-xs-5 {
- -ms-flex-preferred-size: 41.66666667%;
- flex-basis: 41.66666667%;
- max-width: 41.66666667%
-}
-
-.col-xs-6 {
- -ms-flex-preferred-size: 50%;
- flex-basis: 50%;
- max-width: 50%
-}
-
-.col-xs-7 {
- -ms-flex-preferred-size: 58.33333333%;
- flex-basis: 58.33333333%;
- max-width: 58.33333333%
-}
-
-.col-xs-8 {
- -ms-flex-preferred-size: 66.66666667%;
- flex-basis: 66.66666667%;
- max-width: 66.66666667%
-}
-
-.col-xs-9 {
- -ms-flex-preferred-size: 75%;
- flex-basis: 75%;
- max-width: 75%
-}
-
-.col-xs-10 {
- -ms-flex-preferred-size: 83.33333333%;
- flex-basis: 83.33333333%;
- max-width: 83.33333333%
-}
-
-.col-xs-11 {
- -ms-flex-preferred-size: 91.66666667%;
- flex-basis: 91.66666667%;
- max-width: 91.66666667%
-}
-
-.col-xs-12 {
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- max-width: 100%
-}
-
-.col-xs-offset-0 {
- margin-left: 0
-}
-
-.col-xs-offset-1 {
- margin-left: 8.33333333%
-}
-
-.col-xs-offset-2 {
- margin-left: 16.66666667%
-}
-
-.col-xs-offset-3 {
- margin-left: 25%
-}
-
-.col-xs-offset-4 {
- margin-left: 33.33333333%
-}
-
-.col-xs-offset-5 {
- margin-left: 41.66666667%
-}
-
-.col-xs-offset-6 {
- margin-left: 50%
-}
-
-.col-xs-offset-7 {
- margin-left: 58.33333333%
-}
-
-.col-xs-offset-8 {
- margin-left: 66.66666667%
-}
-
-.col-xs-offset-9 {
- margin-left: 75%
-}
-
-.col-xs-offset-10 {
- margin-left: 83.33333333%
-}
-
-.col-xs-offset-11 {
- margin-left: 91.66666667%
-}
-
-.start-xs {
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- text-align: start
-}
-
-.center-xs {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- text-align: center
-}
-
-.end-xs {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- text-align: end
-}
-
-.top-xs {
- -webkit-box-align: start;
- -ms-flex-align: start;
- align-items: flex-start
-}
-
-.middle-xs {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center
-}
-
-.bottom-xs {
- -webkit-box-align: end;
- -ms-flex-align: end;
- align-items: flex-end
-}
-
-.around-xs {
- -ms-flex-pack: distribute;
- justify-content: space-around
-}
-
-.between-xs {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between
-}
-
-.first-xs {
- -webkit-box-ordinal-group: 0;
- -ms-flex-order: -1;
- order: -1
-}
-
-.last-xs {
- -webkit-box-ordinal-group: 2;
- -ms-flex-order: 1;
- order: 1
-}
-
-@media only screen and (min-width:48em) {
- .container {
- width: 49rem
- }
- .col-sm,
- .col-sm-1,
- .col-sm-10,
- .col-sm-11,
- .col-sm-12,
- .col-sm-2,
- .col-sm-3,
- .col-sm-4,
- .col-sm-5,
- .col-sm-6,
- .col-sm-7,
- .col-sm-8,
- .col-sm-9,
- .col-sm-offset-0,
- .col-sm-offset-1,
- .col-sm-offset-10,
- .col-sm-offset-11,
- .col-sm-offset-12,
- .col-sm-offset-2,
- .col-sm-offset-3,
- .col-sm-offset-4,
- .col-sm-offset-5,
- .col-sm-offset-6,
- .col-sm-offset-7,
- .col-sm-offset-8,
- .col-sm-offset-9 {
- box-sizing: border-box;
- -webkit-box-flex: 0;
- -ms-flex: 0 0 auto;
- flex: 0 0 auto;
- padding-right: .5rem;
- padding-left: .5rem
- }
- .col-sm {
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -ms-flex-preferred-size: 0;
- flex-basis: 0;
- max-width: 100%
- }
- .col-sm-1 {
- -ms-flex-preferred-size: 8.33333333%;
- flex-basis: 8.33333333%;
- max-width: 8.33333333%
- }
- .col-sm-2 {
- -ms-flex-preferred-size: 16.66666667%;
- flex-basis: 16.66666667%;
- max-width: 16.66666667%
- }
- .col-sm-3 {
- -ms-flex-preferred-size: 25%;
- flex-basis: 25%;
- max-width: 25%
- }
- .col-sm-4 {
- -ms-flex-preferred-size: 33.33333333%;
- flex-basis: 33.33333333%;
- max-width: 33.33333333%
- }
- .col-sm-5 {
- -ms-flex-preferred-size: 41.66666667%;
- flex-basis: 41.66666667%;
- max-width: 41.66666667%
- }
- .col-sm-6 {
- -ms-flex-preferred-size: 50%;
- flex-basis: 50%;
- max-width: 50%
- }
- .col-sm-7 {
- -ms-flex-preferred-size: 58.33333333%;
- flex-basis: 58.33333333%;
- max-width: 58.33333333%
- }
- .col-sm-8 {
- -ms-flex-preferred-size: 66.66666667%;
- flex-basis: 66.66666667%;
- max-width: 66.66666667%
- }
- .col-sm-9 {
- -ms-flex-preferred-size: 75%;
- flex-basis: 75%;
- max-width: 75%
- }
- .col-sm-10 {
- -ms-flex-preferred-size: 83.33333333%;
- flex-basis: 83.33333333%;
- max-width: 83.33333333%
- }
- .col-sm-11 {
- -ms-flex-preferred-size: 91.66666667%;
- flex-basis: 91.66666667%;
- max-width: 91.66666667%
- }
- .col-sm-12 {
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- max-width: 100%
- }
- .col-sm-offset-0 {
- margin-left: 0
- }
- .col-sm-offset-1 {
- margin-left: 8.33333333%
- }
- .col-sm-offset-2 {
- margin-left: 16.66666667%
- }
- .col-sm-offset-3 {
- margin-left: 25%
- }
- .col-sm-offset-4 {
- margin-left: 33.33333333%
- }
- .col-sm-offset-5 {
- margin-left: 41.66666667%
- }
- .col-sm-offset-6 {
- margin-left: 50%
- }
- .col-sm-offset-7 {
- margin-left: 58.33333333%
- }
- .col-sm-offset-8 {
- margin-left: 66.66666667%
- }
- .col-sm-offset-9 {
- margin-left: 75%
- }
- .col-sm-offset-10 {
- margin-left: 83.33333333%
- }
- .col-sm-offset-11 {
- margin-left: 91.66666667%
- }
- .start-sm {
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- text-align: start
- }
- .center-sm {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- text-align: center
- }
- .end-sm {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- text-align: end
- }
- .top-sm {
- -webkit-box-align: start;
- -ms-flex-align: start;
- align-items: flex-start
- }
- .middle-sm {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center
- }
- .bottom-sm {
- -webkit-box-align: end;
- -ms-flex-align: end;
- align-items: flex-end
- }
- .around-sm {
- -ms-flex-pack: distribute;
- justify-content: space-around
- }
- .between-sm {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between
- }
- .first-sm {
- -webkit-box-ordinal-group: 0;
- -ms-flex-order: -1;
- order: -1
- }
- .last-sm {
- -webkit-box-ordinal-group: 2;
- -ms-flex-order: 1;
- order: 1
- }
-}
-
-@media only screen and (min-width:64em) {
- .container {
- width: 65rem
- }
- .col-md,
- .col-md-1,
- .col-md-10,
- .col-md-11,
- .col-md-12,
- .col-md-2,
- .col-md-3,
- .col-md-4,
- .col-md-5,
- .col-md-6,
- .col-md-7,
- .col-md-8,
- .col-md-9,
- .col-md-offset-0,
- .col-md-offset-1,
- .col-md-offset-10,
- .col-md-offset-11,
- .col-md-offset-12,
- .col-md-offset-2,
- .col-md-offset-3,
- .col-md-offset-4,
- .col-md-offset-5,
- .col-md-offset-6,
- .col-md-offset-7,
- .col-md-offset-8,
- .col-md-offset-9 {
- box-sizing: border-box;
- -webkit-box-flex: 0;
- -ms-flex: 0 0 auto;
- flex: 0 0 auto;
- padding-right: .5rem;
- padding-left: .5rem
- }
- .col-md {
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -ms-flex-preferred-size: 0;
- flex-basis: 0;
- max-width: 100%
- }
- .col-md-1 {
- -ms-flex-preferred-size: 8.33333333%;
- flex-basis: 8.33333333%;
- max-width: 8.33333333%
- }
- .col-md-2 {
- -ms-flex-preferred-size: 16.66666667%;
- flex-basis: 16.66666667%;
- max-width: 16.66666667%
- }
- .col-md-3 {
- -ms-flex-preferred-size: 25%;
- flex-basis: 25%;
- max-width: 25%
- }
- .col-md-4 {
- -ms-flex-preferred-size: 33.33333333%;
- flex-basis: 33.33333333%;
- max-width: 33.33333333%
- }
- .col-md-5 {
- -ms-flex-preferred-size: 41.66666667%;
- flex-basis: 41.66666667%;
- max-width: 41.66666667%
- }
- .col-md-6 {
- -ms-flex-preferred-size: 50%;
- flex-basis: 50%;
- max-width: 50%
- }
- .col-md-7 {
- -ms-flex-preferred-size: 58.33333333%;
- flex-basis: 58.33333333%;
- max-width: 58.33333333%
- }
- .col-md-8 {
- -ms-flex-preferred-size: 66.66666667%;
- flex-basis: 66.66666667%;
- max-width: 66.66666667%
- }
- .col-md-9 {
- -ms-flex-preferred-size: 75%;
- flex-basis: 75%;
- max-width: 75%
- }
- .col-md-10 {
- -ms-flex-preferred-size: 83.33333333%;
- flex-basis: 83.33333333%;
- max-width: 83.33333333%
- }
- .col-md-11 {
- -ms-flex-preferred-size: 91.66666667%;
- flex-basis: 91.66666667%;
- max-width: 91.66666667%
- }
- .col-md-12 {
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- max-width: 100%
- }
- .col-md-offset-0 {
- margin-left: 0
- }
- .col-md-offset-1 {
- margin-left: 8.33333333%
- }
- .col-md-offset-2 {
- margin-left: 16.66666667%
- }
- .col-md-offset-3 {
- margin-left: 25%
- }
- .col-md-offset-4 {
- margin-left: 33.33333333%
- }
- .col-md-offset-5 {
- margin-left: 41.66666667%
- }
- .col-md-offset-6 {
- margin-left: 50%
- }
- .col-md-offset-7 {
- margin-left: 58.33333333%
- }
- .col-md-offset-8 {
- margin-left: 66.66666667%
- }
- .col-md-offset-9 {
- margin-left: 75%
- }
- .col-md-offset-10 {
- margin-left: 83.33333333%
- }
- .col-md-offset-11 {
- margin-left: 91.66666667%
- }
- .start-md {
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- text-align: start
- }
- .center-md {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- text-align: center
- }
- .end-md {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- text-align: end
- }
- .top-md {
- -webkit-box-align: start;
- -ms-flex-align: start;
- align-items: flex-start
- }
- .middle-md {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center
- }
- .bottom-md {
- -webkit-box-align: end;
- -ms-flex-align: end;
- align-items: flex-end
- }
- .around-md {
- -ms-flex-pack: distribute;
- justify-content: space-around
- }
- .between-md {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between
- }
- .first-md {
- -webkit-box-ordinal-group: 0;
- -ms-flex-order: -1;
- order: -1
- }
- .last-md {
- -webkit-box-ordinal-group: 2;
- -ms-flex-order: 1;
- order: 1
- }
-}
-
-@media only screen and (min-width:75em) {
- .container {
- width: 76rem
- }
- .col-lg,
- .col-lg-1,
- .col-lg-10,
- .col-lg-11,
- .col-lg-12,
- .col-lg-2,
- .col-lg-3,
- .col-lg-4,
- .col-lg-5,
- .col-lg-6,
- .col-lg-7,
- .col-lg-8,
- .col-lg-9,
- .col-lg-offset-0,
- .col-lg-offset-1,
- .col-lg-offset-10,
- .col-lg-offset-11,
- .col-lg-offset-12,
- .col-lg-offset-2,
- .col-lg-offset-3,
- .col-lg-offset-4,
- .col-lg-offset-5,
- .col-lg-offset-6,
- .col-lg-offset-7,
- .col-lg-offset-8,
- .col-lg-offset-9 {
- box-sizing: border-box;
- -webkit-box-flex: 0;
- -ms-flex: 0 0 auto;
- flex: 0 0 auto;
- padding-right: .5rem;
- padding-left: .5rem
- }
- .col-lg {
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -ms-flex-preferred-size: 0;
- flex-basis: 0;
- max-width: 100%
- }
- .col-lg-1 {
- -ms-flex-preferred-size: 8.33333333%;
- flex-basis: 8.33333333%;
- max-width: 8.33333333%
- }
- .col-lg-2 {
- -ms-flex-preferred-size: 16.66666667%;
- flex-basis: 16.66666667%;
- max-width: 16.66666667%
- }
- .col-lg-3 {
- -ms-flex-preferred-size: 25%;
- flex-basis: 25%;
- max-width: 25%
- }
- .col-lg-4 {
- -ms-flex-preferred-size: 33.33333333%;
- flex-basis: 33.33333333%;
- max-width: 33.33333333%
- }
- .col-lg-5 {
- -ms-flex-preferred-size: 41.66666667%;
- flex-basis: 41.66666667%;
- max-width: 41.66666667%
- }
- .col-lg-6 {
- -ms-flex-preferred-size: 50%;
- flex-basis: 50%;
- max-width: 50%
- }
- .col-lg-7 {
- -ms-flex-preferred-size: 58.33333333%;
- flex-basis: 58.33333333%;
- max-width: 58.33333333%
- }
- .col-lg-8 {
- -ms-flex-preferred-size: 66.66666667%;
- flex-basis: 66.66666667%;
- max-width: 66.66666667%
- }
- .col-lg-9 {
- -ms-flex-preferred-size: 75%;
- flex-basis: 75%;
- max-width: 75%
- }
- .col-lg-10 {
- -ms-flex-preferred-size: 83.33333333%;
- flex-basis: 83.33333333%;
- max-width: 83.33333333%
- }
- .col-lg-11 {
- -ms-flex-preferred-size: 91.66666667%;
- flex-basis: 91.66666667%;
- max-width: 91.66666667%
- }
- .col-lg-12 {
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- max-width: 100%
- }
- .col-lg-offset-0 {
- margin-left: 0
- }
- .col-lg-offset-1 {
- margin-left: 8.33333333%
- }
- .col-lg-offset-2 {
- margin-left: 16.66666667%
- }
- .col-lg-offset-3 {
- margin-left: 25%
- }
- .col-lg-offset-4 {
- margin-left: 33.33333333%
- }
- .col-lg-offset-5 {
- margin-left: 41.66666667%
- }
- .col-lg-offset-6 {
- margin-left: 50%
- }
- .col-lg-offset-7 {
- margin-left: 58.33333333%
- }
- .col-lg-offset-8 {
- margin-left: 66.66666667%
- }
- .col-lg-offset-9 {
- margin-left: 75%
- }
- .col-lg-offset-10 {
- margin-left: 83.33333333%
- }
- .col-lg-offset-11 {
- margin-left: 91.66666667%
- }
- .start-lg {
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- text-align: start
- }
- .center-lg {
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- justify-content: center;
- text-align: center
- }
- .end-lg {
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- text-align: end
- }
- .top-lg {
- -webkit-box-align: start;
- -ms-flex-align: start;
- align-items: flex-start
- }
- .middle-lg {
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center
- }
- .bottom-lg {
- -webkit-box-align: end;
- -ms-flex-align: end;
- align-items: flex-end
- }
- .around-lg {
- -ms-flex-pack: distribute;
- justify-content: space-around
- }
- .between-lg {
- -webkit-box-pack: justify;
- -ms-flex-pack: justify;
- justify-content: space-between
- }
- .first-lg {
- -webkit-box-ordinal-group: 0;
- -ms-flex-order: -1;
- order: -1
- }
- .last-lg {
- -webkit-box-ordinal-group: 2;
- -ms-flex-order: 1;
- order: 1
- }
-} \ No newline at end of file
diff --git a/themes/yinyang/assets/css/index.css b/themes/yinyang/assets/css/index.css
deleted file mode 100644
index 60372ad3..00000000
--- a/themes/yinyang/assets/css/index.css
+++ /dev/null
@@ -1,639 +0,0 @@
-/* global */
-
-:root {
- /* colors */
- --background-color: #F5F5F7;
- --block-background-color: #E9E8ED;
- --border-color: #d0d7de;
- --text-color: #1D1D1F;
- --secondary-text-color: #6E6E73;
- --link-color: #277BD9;
-
- --strong-text-color: #B6506A;
- --em-text-color: #0271A4;
-
- /* fonts */
- --mono-font-family: "Courier New", Courier, "Menlo", "Monaco", Consolas, "Liberation Mono", "Lucida Console", monospace;
- --serif-font-family: "Noto Serif SC", serif;
-
- /* waline */
- --waline-font-size: 20px;
- --waline-border-color: var(--border-color);
- --waline-bg-color: var(--background-color);
-}
-
-.dark {
- --background-color: #1D2021;
- --block-background-color: #181A1B;
- --border-color: rgba(255,255,255,0.2);
- --text-color: #D2CEC9;
- --secondary-text-color: #A1998D;
- --link-color: #277BD9
-}
-
-@media (prefers-color-scheme: dark) {
- :root {
- --background-color: #1D2021;
- --block-background-color: #181A1B;
- --border-color: rgba(255,255,255,0.2);
- --text-color: #D2CEC9;
- --secondary-text-color: #A1998D;
- --link-color: #277BD9
- }
-}
-
-body {
- font-family: var(--serif-font-family);
- -webkit-font-smoothing: antialiased;
- margin: 0 20px;
- background-color: var(--background-color);
- color: var(--text-color);
-}
-
-body::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- z-index: -1;
- height: 5rem;
- background-image: linear-gradient(to bottom, var(--block-background-color), transparent)
-}
-
-article {
- max-width: 700px;
- margin-left: auto;
- margin-right: auto;
-}
-
-a {
- color: var(--text-color);
- text-decoration: none;
- text-underline-offset: 0.25rem;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-.post-ads {
- margin: 50px 0;
-}
-
-.markdown-body {
- font-size: 20px;
- max-width: 100%;
-}
-
-.markdown-body a {
- text-decoration: underline;
- color: var(--link-color);
-}
-
-.markdown-body blockquote {
- margin: 0;
- padding: 0 1em;
- color: var(--secondary-text-color);
- border-left: 0.25em solid var(--border-color);
-}
-
-.markdown-body pre {
- padding: 16px;
- overflow: auto;
- border-radius: 10px;
-}
-
-.markdown-body code {
- padding: 0.2em 0.4em;
- font-size: 85%;
- background-color: var(--block-background-color);
- border-radius: 6px;
-}
-
-/* reset code */
-
-.markdown-body pre > code {
- padding: 0;
- font-size: 100%;
- background-color: inherit;
- border: 0;
-}
-
-/* i18n */
-
-.Chinese .markdown-body {
- line-height: 200%;
-}
-
-/* header */
-
-.site-date-catalog {
- font-size: 2rem;
-}
-
-.header-title {
- font-size: 2rem;
- font-weight: 900;
- margin-top: 32px;
- text-align: center;
- letter-spacing: .15rem;
-}
-.header-title a {
- text-decoration: none;
-}
-
-.header-subtitle {
- color: var(--secondary-text-color);
-}
-
-.header-items {
- margin: 1rem auto;
- display: flex;
- justify-content: center;
- align-items: center;
- width: fit-content;
- border-radius: 1rem;
- overflow: hidden;
-}
-
-.header-item a {
- display: inline-block;
- color: var(--background-color);
- padding: 0.25rem 0.5rem;
- background-color: var(--text-color);
-}
-
-.header-item:first-child a {
- padding-left: 0.75rem
-}
-
-.header-item:last-child a {
- padding-right: 0.75rem
-}
-
-.header-item.active a {
- color: var(--text-color);
- background-color: var(--block-background-color);
-}
-
-.header-item a:hover {
- text-decoration: none;
-}
-
-.header-line {
- width: 100%;
- border-width: 1px;
- border-color: var(--border-color);
- border-style: solid none none none;
-}
-
-/* posts list */
-
-#posts-list {
- min-height: 600px;
-}
-
-#posts-list ul {
- list-style-type: none;
- padding-inline-start: 1em;
-}
-
-.featured-post a.posts-title-link {
- font-weight: 800;
- display: block;
-}
-
-.posts-line {
- font-size: 1.2rem;
- margin: 12px 0;
-}
-
-#posts-list > section:nth-child(1) > ul:nth-child(3) > li.first-post > div > div.posts-title.col-xs-9.col-sm-10 > div {
- align-items: flex-start;
-}
-
-.posts-categories {
- font-size: 0.8rem;
- text-align: center;
-}
-
-.posts-category {
- padding: 3px 0;
- border: var(--border-color) 2px solid;
- border-radius: 5px;
- background-color: var(--background-color);
- /* margin-bottom: 3px; */
-}
-
-.posts-date {
- font-family: var(--mono-font-family);
- color: var(--secondary-text-color)
-}
-
-.posts-year-section {
- --section-height: 9rem;
- min-height: var(--section-height);
- position: relative;
- margin: 2rem 0;
-}
-
-.posts-year-title {
- font-weight: 900;
- position: absolute;
- right: 0;
- color: var(--text-color);
- opacity: 0.25;
- font-size: calc(var(--section-height) / 2);
- margin: 0;
- line-height: 1;
- z-index: -1;
-}
-
-#posts-list hr {
- border: 1px solid var(--border-color);
- margin: 3rem 0;
-}
-
-.posts-subtitle {
- color: var(--secondary-text-color)
-}
-
-.site-footer {
- margin-top: 50px;
- text-align: center;
-}
-
-.site-footer-item {
- margin-right: 12px;
-}
-
-/* post */
-
-.post-header {
- margin-bottom: 2rem;
-}
-
-.post-title {
- font-size: 2rem;
- font-weight: 900;
-}
-
-.post-subtitle {
- display: block;
- color: var(--secondary-text-color);
- font-style: italic;
- font-size: 1.2rem;
-}
-
-.post-tags {
- display: inline;
- font-weight: 600;
- padding: 2px 5px;
- margin-right: 6px;
- border: var(--text-color) 2px solid;
- border-radius: 5px;
-}
-
-.post-date {
- color: var(--secondary-text-color)
-}
-
-.post-author {
- float: right;
- font-weight: 600;
-}
-
-.page-content {
- min-height: 60%;
-}
-
-.post-content {
- margin-bottom: 50px;
- line-height: 2
-}
-
-.post-content p {
- hyphens: auto;
- text-justify: ideographic;
- margin-bottom: 1em;
-}
-
-.post-content strong {
- color: var(--strong-text-color)
-}
-
-.post-content em {
- color: var(--em-text-color)
-}
-
-.post-content hr {
- margin: 2.5rem auto;
- border: 0.1rem dashed var(--border-color);
-}
-
-.post-content ul {
- list-style-type: square;
-}
-
-.post-content img {
- max-width: 100%;
- display: block;
- margin-right: auto;
- margin-top: 6px;
-}
-
-.post-content .post-gallery {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
-}
-
-.post-content .post-gallery img {
- margin-right: auto;
- margin-top: auto;
- width: calc(50% - 3px);
-}
-
-.post-content figure {
- margin: 0;
-}
-
-.post-content figure figcaption h4 {
- font-size: 0.9rem;
- color: var(--secondary-text-color);
- font-weight: 400;
-}
-
-.related-content {
- border-width: 3px;
- border-style: solid;
- border-color: #000;
- padding: 0 10px;
- margin-bottom: 50px;
- margin-top: 100px;
-}
-
-.related-content li {
- margin: 5px 0;
-}
-
-/* taxonomy */
-
-.taxonomy-term {
- font-size: 2rem;
- text-align: center;
- display: flex;
- justify-content: center;
- align-items: center;
-
- background-color: var(--block-background-color);
- padding: 0.5rem 1rem;
- border-radius: 1rem;
- width: fit-content;
- margin: 2rem auto
-}
-
-.taxonomy-term::before,
-.taxonomy-term::after {
- margin: 0.5rem;
- color: var(--secondary-text-color);
- font-size: 0.75em
-}
-
-.taxonomy-term::before {
- content: "《";
-}
-
-.taxonomy-term::after {
- content: "》";
-}
-
-/* gallery */
-
-.gallery-img {
- text-align: center;
-}
-
-.gallery-img span {
- text-align: center;
-}
-
-.gallery-img-desc {
- font-size: 0.8em;
- font-weight: 800;
-}
-
-/* disqus */
-
-#disqus_thread {
- position: relative;
-}
-
-#disqus_thread:after {
- content: "";
- display: block;
- height: 55px;
- width: 100%;
- position: absolute;
- bottom: 0;
- background: var(--background-color);
-}
-
-@media screen and (max-width: 600px) {
- .header-title,
- .header-subtitle,
- .header-items {
- /* text-align: center; */
- }
-
- .posts-line {
- font-size: 16px;
- }
-
- .markdown-body {
- font-size: 16px;
- }
- .post-title {
- font-size: 2rem;
- }
- .post-content p {
- letter-spacing: 0.05em;
- }
- .post-content .post-gallery img {
- width: 100%;
- }
-}
-
-@media screen and (max-width: 48em) {
- .posts-category {
- display: none;
- }
-}
-
-/* callouts */
-
-.callout {
- background-color: var(--block-background-color);
- border-radius: .25rem;
- padding: 1rem 1.25rem;
- line-height: 1.75;
-
- display: flex;
- gap: .75rem;
-
- margin: 0.5rem 0;
-}
-
-.callout .callout-content p {
- margin: 0;
-}
-
-/* quote shortcode */
-
-.quote-card {
- --card-bg: rgba(255,255,255,0.25);
- --card-bg-lighter: rgba(255,255,255,0.1);
- --card-noise: rgba(255,255,255,0.04);
-
- font-size: 1.5rem;
- font-style: italic;
- text-align: center;
- margin: 5rem 3rem;
- padding: 1rem;
- border: 1px solid var(--border-color);
- border-radius: 1rem;
- box-shadow: 0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;
- transform: rotate(3deg);
- background-color: rgba(255,255,255,0.35);
-
- background: linear-gradient(var(--card-bg-lighter), var(--card-bg-lighter)),
- repeating-radial-gradient(var(--card-bg) 0 0.0001%, var(--card-noise) 0 0.0002%) 50% 0 / 2500px 2500px,
- repeating-conic-gradient(var(--card-bg) 0 0.0001%, var(--card-noise) 0 0.0002%) 60% 60% / 2500px 2500px;
- background-blend-mode: normal, difference;
-}
-
-@media screen and (max-width: 768px) {
- .quote-card {
- font-size: 1.2rem;
- margin: 3rem 1rem;
- }
-}
-
-/* blog links */
-
-div.blog-links {
- display: flex;
- flex-wrap: wrap;
- gap: 1rem;
-}
-
-a.blog-link {
- position: relative;
- background-color: var(--block-background-color);
- text-decoration: none;
- color: var(--text-color);
- padding: 1rem 2rem;
- padding-right: 4rem;
- border-radius: 1rem;
- width: calc(50% - 2rem);
- box-sizing: border-box;
- overflow: hidden
-}
-
-@media screen and (max-width: 768px) {
- a.blog-link {
- font-size: 1.2rem;
- padding: 0.5rem 1rem;
- padding-right: 2rem;
- width: 100%;
- }
-}
-
-a.blog-link h4,
-a.blog-link p {
- margin: 0;
- font-size: 1.2rem;
-}
-
-a.blog-link p {
- line-height: 1.5;
-}
-
-a.blog-link .blog-link-content {
- z-index: 10;
-}
-
-a.blog-link-image {
- z-index: 0;
-}
-
-a.blog-link img {
- --size: 5rem;
- display: block;
- position: absolute;
- right: -1rem;
- bottom: -1rem;
- width: var(--size);
- height: var(--size);
- border-radius: 100%;
- z-index: 0;
-}
-
-/* book showcase shortcode */
-
-.book-showcase {
- display: flex;
- gap: 2rem;
- line-height: 1.5;
- margin: 2rem 0
-}
-
-.book-showcase .book-cover {
- width: 25%;
- flex-shrink: 0;
-}
-
-.book-description-header .book-title {
- margin: 0
-}
-
-.book-description-header p {
- font-size: 1rem;
- margin: 0.1rem
-}
-
-/* inline-image shortcode */
-
-.inline-image {
- display: flex;
- overflow-x: auto;
- scroll-behavior: smooth;
- gap: 1rem;
- white-space: nowrap;
-}
-
-.inline-image > figure {
- display: inline-block;
- margin: 0;
- flex-shrink: 0;
-}
-
-.inline-image > figure img {
- height: 20rem;
- object-fit: cover;
- display: block;
-}
-
-
-/* transition animation */
-
-html.is-changing .transition-fade article {
- transition: opacity 0.25s;
- opacity: 1;
-}
-
-html.is-animating .transition-fade article {
- opacity: 0;
-}
diff --git a/themes/yinyang/layouts/404.html b/themes/yinyang/layouts/404.html
deleted file mode 100644
index b58ec77b..00000000
--- a/themes/yinyang/layouts/404.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{ define "main"}}
- <main id="main">
- <div>
- <h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
- </div>
- </main>
-{{ end }} \ No newline at end of file
diff --git a/themes/yinyang/layouts/_default/list.html b/themes/yinyang/layouts/_default/list.html
deleted file mode 100644
index 8cc70a0d..00000000
--- a/themes/yinyang/layouts/_default/list.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{{ partial "snippets/document-start.html" . }}
- <article class="posts">
- {{ partial "header.html" . }}
- <h1 class="taxonomy-term">{{.Data.Term}}</h1>
- <div id="posts-list">
- {{ range .Pages }}
- <div class="row posts-line">
- <div class="posts-date col-xs-2">
- <time datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">{{ .Date.Format "06/01/02"}}</time>
- </div>
- <div class="posts-title col-xs-10">
- <div class="row">
- <div class="col-xs-12">
- <a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Category Page">
- {{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span>
- {{ end }}
- </a>
- </div>
- </div>
- </div>
- </div>
- {{ end }}
- </div>
- </article>
-{{ partial "snippets/document-end.html" . }}
diff --git a/themes/yinyang/layouts/_default/single.html b/themes/yinyang/layouts/_default/single.html
deleted file mode 100644
index a1b0b111..00000000
--- a/themes/yinyang/layouts/_default/single.html
+++ /dev/null
@@ -1,65 +0,0 @@
-{{ partial "snippets/document-start.html" . }}
- <article class="post {{ .Site.Language.LanguageName }}" id="article">
-
- <!-- Site Header -->
- <div class="site-header">
- {{ partial "header.html" . }}
- </div>
- <!-- Post Header -->
- <header class="post-header">
- {{ if in .Site.Params.mainSections .Type }}
- <!-- Title and Subtitle -->
- <h1 class="post-title">
- {{ .Title }}
- {{ with .Params.subtitle }}
- <small class="post-subtitle">{{ . }}</small>
- {{ end }}
- </h1>
- <!-- Post Meta -->
- <div class="row post-desc">
- <div class="col-xs-6">
- {{ if .Date }}
- <time class="post-date" datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">
- {{ .Date.Format "02 Jan 2006" }}
- </time>
- {{ end }}
- <span> / </span>
- <span><span class="waline-pageview-count">…</span> Views</span>
- </div>
- </div>
- {{ end }}
- </header>
-
- <!-- Post Content -->
- <div id="post-content" class="post-content markdown-body">
- {{ .Site.Params.postHeaderContent | safeHTML }}
- {{ .Content }}
- </div>
-
- <!-- Post Tags -->
- <!-- <div class="row middle-xs">
- <div class="col-xs-12">
- {{ range .Params.tags }}
- <div class="post-tags">
- <a href="{{ site.LanguagePrefix }}/tags/{{ lower . | urlize }}/">
- {{ . }}
- </a>
- </div>
- {{ end }}
- </div>
- </div> -->
-
- <!-- Post Comments -->
- {{ if in .Site.Params.mainSections .Type }}
- <!-- waline -->
- <div style="height: 50px;"></div>
- <div class="post-comments">
- <div id="waline"></div>
- </div>
- {{ end }}
-
- </article>
- <!-- use fancybox -->
- <!-- the reason it is replace here it that the fancybox.js is loaded after the swup.js -->
- <script>Fancybox.bind("[data-fancybox]");</script>
-{{ partial "snippets/document-end.html" . }}
diff --git a/themes/yinyang/layouts/index.calheatmap.json b/themes/yinyang/layouts/index.calheatmap.json
deleted file mode 100644
index 65b1d942..00000000
--- a/themes/yinyang/layouts/index.calheatmap.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{{- /* 设置 Content-Type 为 JSON */ -}}
-{{- $entries := slice -}}
-{{- range .Site.RegularPages -}}
- {{- $wordCount := .WordCount -}}
- {{- $date := .Date.Format "2006-01-02" -}}
- {{- $entry := dict "date" $date "value" $wordCount -}}
- {{- $entries = $entries | append $entry -}}
-{{- end -}}
-{{- $.Scratch.Add "results" $entries -}}
-[
- {{- range $i, $entry := $.Scratch.Get "results" -}}
- {{- if $i }},{{ end -}}
- {{- $entry | jsonify -}}
- {{- end -}}
-]
diff --git a/themes/yinyang/layouts/index.html b/themes/yinyang/layouts/index.html
deleted file mode 100644
index 8ded46d5..00000000
--- a/themes/yinyang/layouts/index.html
+++ /dev/null
@@ -1,62 +0,0 @@
-{{ partial "snippets/document-start.html" . }}
- <article class="posts">
- {{ partial "header.html" . }}
- <div id="posts-list">
- {{ $currentYear := now.Format "2006" }} <!-- 获取当前年份 -->
-
- {{ $isFirstPost := true }} <!-- 用于标记首页的第一篇文章 -->
-
- {{ range (where site.RegularPages "Type" "in" site.Params.mainSections).GroupByDate "2006" -}}
- <section class="posts-year-section">
- <h1 class="site-date-catalog posts-year-title">{{ .Key }}</h1>
-
- {{ range .Pages.GroupByDate "01" }}
- <h2>{{ .Key }} 月</h2>
- <ul>
- {{ range .Pages }}
- <li class="{{ if $isFirstPost }}first-post{{ end }}">
- <!-- 首页第一篇文章特殊展示 -->
- <div class="row posts-line {{ if $isFirstPost }}featured-post{{ end }}">
- <div class="posts-date col-xs-3 col-sm-2">
- <time datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">{{ .Date.Format "Jan 02" }}</time>
- </div>
- <div class="posts-title col-xs-9 col-sm-10">
- <div class="row">
- <div class="col-xs-11 col-sm-10">
- <a
- class="posts-title-link"
- href="{{ .RelPermalink }}"
- data-umami-event="Click Post Link from Index"
- >{{ .Title }}</a>
- <div class="posts-excerpt markdown-body">
- {{ if $isFirstPost }}
- {{ if .Params.description }}
- <p>{{.Params.description }}</p>
- {{ else }}
- <p>{{ .Summary }}</p>
- {{ end }}
- {{ $isFirstPost = false }}
- {{ end }}
- </div>
- </div>
- <div class="col-xs-1 col-sm-2 posts-categories">
- {{ with .Params.categories }}
- <div class="posts-category">
- <a href="/categories/{{ . }}/"><strong>{{ . }}</strong></a>
- </div>
- {{ end }}
- </div>
- </div>
- </div>
- </div>
- </li>
- {{ end }}
- </ul>
- {{ end }}
-
- </section>
- <hr>
- {{ end }}
- </div>
- </article>
-{{ partial "snippets/document-end.html" . }}
diff --git a/themes/yinyang/layouts/partials/footer.html b/themes/yinyang/layouts/partials/footer.html
deleted file mode 100644
index 7a7c264c..00000000
--- a/themes/yinyang/layouts/partials/footer.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<div class="site-footer">
- <!-- 全站字数统计-->
- {{$scratch := newScratch}}
- {{ range (where .Site.Pages "Kind" "page" )}}
- {{$scratch.Add "total" .WordCount}}
- {{ end }}
- <div class="site-footer-item">🪦 {{$scratch.Get "total" }} 字在这里<span style="display:inline-block; transform:rotate(7deg) translateY(0.15rem); filter: blur(1px)">死去</span></div>
-
- <p style="text-align: center;">You've reached the end.</p>
-</div> \ No newline at end of file
diff --git a/themes/yinyang/layouts/partials/head.html b/themes/yinyang/layouts/partials/head.html
deleted file mode 100644
index 8ae6c46f..00000000
--- a/themes/yinyang/layouts/partials/head.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<head>
- <meta charset="utf-8" />
- {{ hugo.Generator }}
-
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="author" content="{{ .Site.Author.name }}" />
- <meta property="og:url" content="{{ .Permalink }}" />
- <link rel="canonical" href="{{ .Permalink }}" />
-
- {{ partial "head/siteinfo" . }}
- {{ partial "head/css" . }}
- {{ partial "head/headscript" . }}
-
- <!-- Extra head -->
- {{ .Site.Params.extraHead | safeHTML }}
-</head>
diff --git a/themes/yinyang/layouts/partials/head/css.html b/themes/yinyang/layouts/partials/head/css.html
deleted file mode 100644
index b2193666..00000000
--- a/themes/yinyang/layouts/partials/head/css.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!-- theme css -->
-{{ with resources.Get "css/index.css" | minify }}
-<style>{{ .Content | safeCSS }}</style>
-{{ end }}
-{{ with resources.Get "css/flexboxgrid-6.3.1.min.css" | minify }}
-<style>{{ .Content | safeCSS }}</style>
-{{ end }}
-
-<!-- Google Fonts -->
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200..900&display=swap" rel="stylesheet">
-
-<!-- Extra -->
-{{ range .Site.Params.extraCSSFiles -}}
-<link rel="stylesheet" href="{{ $.Site.Params.staticPrefix }}{{ . | relURL }}">
-{{- end }}
diff --git a/themes/yinyang/layouts/partials/head/headscript.html b/themes/yinyang/layouts/partials/head/headscript.html
deleted file mode 100644
index 8ed6fd40..00000000
--- a/themes/yinyang/layouts/partials/head/headscript.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!-- Global JavaScript Variables -->
-<script>
- var waline_options = {
- // basic configuration
- el: '#waline',
- serverURL: 'https://waline.geedea.pro',
- dark: 'auto',
- search: false,
- // if localhost then disable pageview count
- pageview: (location.href.includes('localhost')) ? false : true
- };
-</script>
-
-<script>
-/* === umami tracking === */
-if (window.location.hostname !== 'localhost') {
- // track traffic
- const script = document.createElement('script');
- script.defer = true;
- script.src = 'https://cloud.umami.is/script.js';
- script.dataset.websiteId = 'ae8c2619-56eb-4577-ac31-9dc6ea44bda7';
- document.head.appendChild(script);
-}
-</script>
diff --git a/themes/yinyang/layouts/partials/head/siteinfo.html b/themes/yinyang/layouts/partials/head/siteinfo.html
deleted file mode 100644
index c5c355e8..00000000
--- a/themes/yinyang/layouts/partials/head/siteinfo.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<!-- Basic site information -->
-{{- if .IsHome -}}
-<title>{{ .Site.Title }}</title>
-<meta property="og:title" content="{{ .Site.Title }}" />
-<meta property="og:type" content="website" />
-<meta property="og:description" content="{{ .Site.Params.description }}" />
-<meta name="description" content="{{ .Site.Params.description }}" />
-{{- else -}}
-<title>{{ .Title }}</title>
-<meta property="og:title" content="{{ .Title }}" />
-<meta property="og:type" content="article" />
-<meta property="og:description" content="{{ default .Summary .Description | plainify }}" />
-<meta name="description" content="{{ default .Summary .Description | plainify }}" />
-{{- end }}
-<meta property="og:locale" content="{{ .Site.LanguageCode }}" />
-{{- if .Params.album -}}
-<meta property="og:image" content="{{ .Params.album }}" />
-{{- else -}}
-<meta property="og:image" content="{{ .Site.Params.favicon }}" />
-{{ end }}
-
-<!-- Favicon -->
-{{- if .Site.Params.favicon -}}
-<link rel="apple-touch-icon" href="{{ .Site.Params.favicon }}" />
-<link rel="icon" href="{{ .Site.Params.favicon }}" />
-<link rel="shortcut" href="{{ .Site.Params.favicon }}" />
-{{- end -}}
-
-<!-- RSS -->
-<link rel="alternate" type="application/atom+xml" href="{{.Site.BaseURL}}index.xml" title="{{ .Site.Title }}">
-<link href="{{ .Site.Params.staticPrefix }}{{ "index.xml" | relURL }}" rel="alternate" type="application/rss+xml"
- title="{{ .Site.Title }}">
-
-<!-- Twtter Card -->
-{{ if .Site.Params.TwitterCards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
-
-<!-- JSON-LD -->
-<script type="application/ld+json">
- {
- "@context" : "http://schema.org",
- "@type" : "BlogPosting",
- "mainEntityOfPage": {
- "@type": "WebPage",
- "@id": "{{ .Site.BaseURL }}"
- },
- "articleSection" : "{{ .Section }}",
- "name" : "{{ .Title }}",
- "headline" : "{{ .Title }}",
- {{ if .IsHome -}}
- "description" : "{{ .Site.Params.description | plainify }}",
- {{- else -}}
- "description" : "{{ default .Summary .Description | plainify }}",
- {{- end }}
- "inLanguage" : "zh-CN",
- "author" : "{{ .Site.Author.name }}",
- "creator" : "{{ .Site.Author.name }}",
- "publisher": "{{ .Site.Author.name }}",
- "accountablePerson" : "{{ .Site.Author.name }}",
- "copyrightHolder" : "{{ .Site.Author.name }}",
- "copyrightYear" : "{{ .Date.Format "2006" }}",
- "datePublished": "{{ .Date }}",
- "dateModified" : "{{ .Date }}",
- "url" : "{{ .Permalink }}",
- "keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }} ]
- }
-</script>
diff --git a/themes/yinyang/layouts/partials/header.html b/themes/yinyang/layouts/partials/header.html
deleted file mode 100644
index b1f6e50e..00000000
--- a/themes/yinyang/layouts/partials/header.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!-- Header Title -->
-<header>
- <div class="header-title">
- <a href="{{ .Site.LanguagePrefix }}/"
- >{{ or .Site.Params.headTitle .Site.Author.name }}</a
- >
- </div>
-</header>
-
-<!-- Navigation -->
-<nav class="header-items">
- {{ range .Site.Params.nav }}
- <div class="header-item {{ if eq .link $.Page.RelPermalink }}active{{ end }}">
- <a href="{{ .link }}" target="{{ .target }}">{{ .name }}</a>
- </div>
- {{ end }}
-</nav>
diff --git a/themes/yinyang/layouts/partials/scripts.html b/themes/yinyang/layouts/partials/scripts.html
deleted file mode 100644
index a2cbb997..00000000
--- a/themes/yinyang/layouts/partials/scripts.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!-- third-party libraries -->
-<script src="https://unpkg.com/swup@4"></script>
-<script src="https://unpkg.com/@fancyapps/ui@5.0.36/dist/fancybox/fancybox.umd.js"></script>
-<script type="module">
-import { init } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
-
-/* === waline === */
-
-function loadWalineComment() {
- // terminate if no waline container is found
- const container = document.getElementById("waline");
- if (!container) return;
-
- // initialize waline
- const path_suffix = window.location.pathname.endsWith('/') ? '' : '/';
- waline_options.path = window.location.pathname + path_suffix;
- try {
- init(waline_options);
- } catch (error) { console.log(error) }
-
- // track waline button events
- const walineButton = document.querySelector("#waline > div > div.wl-comment > div > div.wl-footer > div.wl-info > button.primary.wl-btn");
- walineButton.addEventListener("click", () => umami.track("Comment"));
-}
-
-loadWalineComment();
-
-/* === swup === */
-const swup = new Swup();
-swup.hooks.on('page:view', loadWalineComment);
-</script>
diff --git a/themes/yinyang/layouts/partials/snippets/document-end.html b/themes/yinyang/layouts/partials/snippets/document-end.html
deleted file mode 100644
index 2fc27a07..00000000
--- a/themes/yinyang/layouts/partials/snippets/document-end.html
+++ /dev/null
@@ -1,9 +0,0 @@
- <!-- Footer -->
- {{ partial "footer.html" . }}
- </main>
- {{ partial "scripts.html" . }}
- {{ if .Site.Params.extraBody }}
- {{ .Site.Params.extraBody | safeHTML }}
- {{ end }}
- </body>
-</html> \ No newline at end of file
diff --git a/themes/yinyang/layouts/partials/snippets/document-start.html b/themes/yinyang/layouts/partials/snippets/document-start.html
deleted file mode 100644
index 56b12280..00000000
--- a/themes/yinyang/layouts/partials/snippets/document-start.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ .Site.LanguageCode }}" prefix="og: http://ogp.me/ns#">
-{{ partial "head.html" . }}
-<body>
- <main id="swup" class="transition-fade"> \ No newline at end of file
diff --git a/themes/yinyang/layouts/shortcodes/bloglink.html b/themes/yinyang/layouts/shortcodes/bloglink.html
deleted file mode 100644
index 4cdec219..00000000
--- a/themes/yinyang/layouts/shortcodes/bloglink.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<a href="{{.Get "link" }}" class="blog-link" target="_blank">
- {{ if and (isset .Params "image") .Params.image }}
- <div class="blog-link-image">
- <img src="{{ .Params.image }}" alt="{{ .Params.title }}" />
- </div>
- {{ end }}
- <div class="blog-link-content">
- <h4>{{.Get "title" }}</h4>
- <p>{{.Get "description" }}</p>
- </div>
-</a> \ No newline at end of file
diff --git a/themes/yinyang/layouts/shortcodes/book.html b/themes/yinyang/layouts/shortcodes/book.html
deleted file mode 100644
index 17747acc..00000000
--- a/themes/yinyang/layouts/shortcodes/book.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<div class="book-showcase">
- <div class="book-cover">
- <a href="{{ .Get "cover" }}" data-fancybox>
- <img src="{{ .Get "cover" }}" />
- </a>
- </div>
- <div class="book-description">
- <div class="book-description-header">
- <h3 class="book-title">{{ .Get "title" }}</h3>
- <p>分数:{{ .Get "rating" }}</p>
- </div>
- <div>
-
- {{ .Inner | markdownify }}
- </div>
- </div>
-</div>
diff --git a/themes/yinyang/layouts/shortcodes/callout.html b/themes/yinyang/layouts/shortcodes/callout.html
deleted file mode 100644
index 62112390..00000000
--- a/themes/yinyang/layouts/shortcodes/callout.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<div class="callout">
- <div class="callout-icon">{{ index .Params 1 }}</div>
- <div class="callout-text">
- {{ index .Params 0 | markdownify }}
- </div>
-</div> \ No newline at end of file
diff --git a/themes/yinyang/layouts/shortcodes/gallery.html b/themes/yinyang/layouts/shortcodes/gallery.html
deleted file mode 100644
index a6e4d1b5..00000000
--- a/themes/yinyang/layouts/shortcodes/gallery.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<div class="inline-image">
- {{ .Inner | safeHTML }}
-</div>
diff --git a/themes/yinyang/layouts/shortcodes/img.html b/themes/yinyang/layouts/shortcodes/img.html
deleted file mode 100644
index 4fd1f739..00000000
--- a/themes/yinyang/layouts/shortcodes/img.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!-- image -->
-<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
-{{ with .Get "link" }}<a href="{{ . }}">{{ end }}
- <a href="{{ .Get "src" }}" data-fancybox {{ if isset .Params "title" }} data-caption="{{.Get "title" }}" {{ end }}>
- <img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt" }}{{ . }}{{ else }}{{ .Get "caption" }}{{ end }}"{{ end }} />
- </a>
- {{ if .Get "link" }}</a>{{ end }}
- {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr") }}
- <figcaption>{{ if isset .Params "title" }}
- <h4>{{ .Get "title" }}</h4>{{ end }}
- {{ if or (.Get "caption") (.Get "attr") }}<p>
- {{ .Get "caption" }}
- {{ with .Get "attrlink" }}<a href="{{ . }}"> {{ end }}
- {{ .Get "attr" }}
- {{ if .Get "attrlink" }}</a> {{ end }}
- </p> {{ end }}
- </figcaption>
-{{ end }}
-</figure>
-<!-- image --> \ No newline at end of file
diff --git a/themes/yinyang/layouts/shortcodes/quotecard.html b/themes/yinyang/layouts/shortcodes/quotecard.html
deleted file mode 100644
index dfaf04e2..00000000
--- a/themes/yinyang/layouts/shortcodes/quotecard.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<div class="quote-card" {{ with .Get "rotate" }}style="transform: rotate({{. }}deg)"{{ end }}>
- {{ .Inner | markdownify }}
-</div> \ No newline at end of file
diff --git a/themes/yinyang/static/favicon.png b/themes/yinyang/static/favicon.png
deleted file mode 100644
index 04dd1341..00000000
--- a/themes/yinyang/static/favicon.png
+++ /dev/null
Binary files differ