diff --git a/assets/icons/eye.svg b/assets/icons/eye.svg new file mode 100644 index 0000000..0ff37d9 --- /dev/null +++ b/assets/icons/eye.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/assets/scss/partials/article.scss b/assets/scss/partials/article.scss index 2c42ec7..b7d07bd 100644 --- a/assets/scss/partials/article.scss +++ b/assets/scss/partials/article.scss @@ -110,6 +110,13 @@ } } +.article-meta { + font-size: 1.4rem; + section { + margin-right: 20px; + } +} + .article-category, .article-tags { a { diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index fb89f51..92b8fb3 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -51,6 +51,14 @@ params: issueTerm: pathname label: theme: preferred-color-scheme + valine: + enable: false + appId: # leancloud appId + appKey: # leancloud appKey + verify: false # Verification code + avatar: wavatar # Gravatar style + placeholder: 说点什么吧... + visitor: true # Article reading statistic widgets: enabled: diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html index 5c5397b..77a6ae0 100644 --- a/layouts/partials/article/components/details.html +++ b/layouts/partials/article/components/details.html @@ -21,12 +21,24 @@ {{ end }} - {{- if not .Date.IsZero -}} -