diff --git a/themes/Ying/hugo.toml b/themes/Ying/hugo.toml index fc6f2b20..f9280532 100644 --- a/themes/Ying/hugo.toml +++ b/themes/Ying/hugo.toml @@ -22,7 +22,7 @@ social = [ # 主页链接 { title = "我的主页", url = "#", icon = "ri-at-line" }, # Rss订阅链接 - { title = "Rss订阅", url = "https://usj.cc/rss.xml", icon = "ri-rss-fill" } + { title = "Rss订阅", url = "/rss.xml", icon = "ri-rss-fill" } ] [[menus.main]] diff --git a/themes/Ying/layouts/_default/archives.html b/themes/Ying/layouts/_default/archives.html index c2e07086..b8ce0235 100644 --- a/themes/Ying/layouts/_default/archives.html +++ b/themes/Ying/layouts/_default/archives.html @@ -1,6 +1,6 @@ {{ define "main" }}
-
+
{{ $currentYear := 0 }} {{ $currentMonth := 0 }} {{ range .Site.RegularPages }} @@ -12,7 +12,7 @@ {{ if ne $currentYear 0 }}
{{ end }} - {{ end }} - -
+
{{ $currentMonth = $month }} {{ end }}
  • {{ .Date.Format "01/02" }} - {{ .Title }} + {{ .Title }}
  • {{ end }} {{ end }} diff --git a/themes/Ying/layouts/_default/baseof.html b/themes/Ying/layouts/_default/baseof.html index 26a33416..77247363 100644 --- a/themes/Ying/layouts/_default/baseof.html +++ b/themes/Ying/layouts/_default/baseof.html @@ -10,7 +10,9 @@ {{ partial "header.html" .}} - {{ block "main" . }}{{ end }} +
    + {{ block "main" . }}{{ end }} +
    {{ partial "footer.html" .}} diff --git a/themes/Ying/layouts/_default/circles.html b/themes/Ying/layouts/_default/circles.html index e36a8b3f..4821164e 100644 --- a/themes/Ying/layouts/_default/circles.html +++ b/themes/Ying/layouts/_default/circles.html @@ -3,7 +3,7 @@
    {{ .Content }}
    + uk-scrollspy="target: > .cf-article-item; cls: uk-animation-slide-bottom-small; delay: 100">
    +
    {{ end }} diff --git a/themes/Ying/layouts/_default/new-links.html b/themes/Ying/layouts/_default/new-links.html index 3a5404f7..7964a867 100644 --- a/themes/Ying/layouts/_default/new-links.html +++ b/themes/Ying/layouts/_default/new-links.html @@ -25,55 +25,6 @@
    - - + {{ end }} \ No newline at end of file diff --git a/themes/Ying/layouts/_default/single.html b/themes/Ying/layouts/_default/single.html index 8f8dd7f6..9d0e7ae5 100644 --- a/themes/Ying/layouts/_default/single.html +++ b/themes/Ying/layouts/_default/single.html @@ -1,17 +1,17 @@ {{ define "main" }}
    -

    {{ .Title }}

    -
    +

    {{ .Title }}

    +
    作者: 小赵同学 浏览: 字数: {{ .WordCount }} 分类: {{ range .Params.categories }} {{ . }} {{ end }}
    -
    +
    {{ .Content }}
    -