summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2023-01-19 18:59:49 +0800
committerReorx <novoreorx@gmail.com>2023-01-19 18:59:49 +0800
commit08aad5370e64b73dd49f5aadc77e9c766b383630 (patch)
treefe1cb25c26ffe8eb9f80f5eafb50c4592262af83 /layouts
parentbd3529a534152749bf1b5bf1fe1f7cba01e7fb29 (diff)
enhance subscribe form styling
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/newsletter_sub_form.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index acacc2c..4b48580 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -56,7 +56,7 @@
{{- if $isNewsletter }}
<div class="newsletter-sub">
<div class="notice">
- Thanks for reading, if you like it, please subscribe below.<br>
+ <div style="font-weight: bold">Thanks for reading, if you like it, please subscribe below.</div>
<div style="font-size: .85em; margin-top: 8px;">感谢你能读到这里,如果觉得有趣的话,欢迎在下方输入邮箱进行订阅。</div>
</div>
{{- partial "newsletter_sub_form.html"}}
diff --git a/layouts/partials/newsletter_sub_form.html b/layouts/partials/newsletter_sub_form.html
index 4735e79..bebc5c9 100644
--- a/layouts/partials/newsletter_sub_form.html
+++ b/layouts/partials/newsletter_sub_form.html
@@ -1,6 +1,6 @@
{{/* Add `layouts/partials/newsletter_sub_form.html` in your own code to customize the form */}}
-<div class="sub-form">
+<div class="subscribe-form">
<form action="">
<input type="text" name="email" placeholder="Your email address">
<button>Subscribe | 订阅</button>