diff --git a/source/_data/theme.yaml b/source/_data/theme.yaml new file mode 100644 index 0000000..25e00ff --- /dev/null +++ b/source/_data/theme.yaml @@ -0,0 +1,13 @@ +copyright_addtional: "" + +copyright_year_string: "2020-2021" + +theme_self_claim: true + +about_this_blog: 这里是Rubicon's Rubicon。我在无界之点的偏安之地。 + +my_mastodon: "https://mastodon.social/@thislight" + +footer_links: + GitHub: "https://github.com/thislight" + GitLab: "https://gitlab.com/thislight" \ No newline at end of file diff --git a/themes/cmd/layout/includes/layout.swig b/themes/cmd/layout/includes/layout.swig index 85b2ffc..c5f145b 100644 --- a/themes/cmd/layout/includes/layout.swig +++ b/themes/cmd/layout/includes/layout.swig @@ -69,21 +69,21 @@ diff --git a/themes/cmd/layout/index.swig b/themes/cmd/layout/index.swig index d7f472f..6c4e7f3 100644 --- a/themes/cmd/layout/index.swig +++ b/themes/cmd/layout/index.swig @@ -67,8 +67,8 @@ {% endmacro %} {% macro TagPanel(tags) %} -
-
All Tags
+
+ Tags {% for tag in tags %}
{{tag.name}} @@ -83,7 +83,7 @@
{% if page.current == 1 %} - {{ MeCard(config.author, config.email, theme.me_description) }} + {{ MeCard(config.author, config.email, config.description) }} {% endif %} {% if page.posts.length > 0 %} {{ PostList(page.posts.toArray()) }} @@ -99,3 +99,7 @@
{% endblock %} + +{% block add_head %} + +{% endblock %} diff --git a/themes/cmd/source/css/index.styl b/themes/cmd/source/css/index.styl new file mode 100644 index 0000000..f9850b2 --- /dev/null +++ b/themes/cmd/source/css/index.styl @@ -0,0 +1,2 @@ +.post-item img + max-height: 300px