We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
about_extra_description
1 parent a9ea6db commit 85a912aCopy full SHA for 85a912a
3 files changed
.changeset/silly-news-help.md
@@ -0,0 +1,5 @@
1
+---
2
+'hexo-theme-cupertino': minor
3
4
+
5
+Add `about_extra_description` option for posts.
layout/post.ejs
@@ -47,6 +47,7 @@
47
<% }) %>
48
</p>
49
<% } %>
50
+ <% if (page.about_extra_description) { %><div class="extra"><%- page.about_extra_description %></div><% } %>
51
</div>
52
53
source/css/post.scss
@@ -301,6 +301,10 @@ body {
301
margin: 6px 0;
302
}
303
304
305
+ & > .extra {
306
+ font-size: 15px;
307
+ }
308
309
310
#{$content} {
0 commit comments