diff --git a/assets/css/extended/newsletter.scss b/assets/css/extended/newsletter.scss index a514d5e..9418592 100644 --- a/assets/css/extended/newsletter.scss +++ b/assets/css/extended/newsletter.scss @@ -41,6 +41,12 @@ body.type-newsletter.kind-section { font-size: 32px; text-align: center; } + + .page-header { + h1 { + text-align: center; + } + } } body.type-newsletter.kind-page { @@ -66,7 +72,7 @@ body.type-newsletter.kind-page { font-weight: bolder; color: var(--signature); } - .issueno { + .remark { color: var(--signature); font-weight: 300; transition: var(--link-transition); @@ -85,7 +91,7 @@ body.type-newsletter.kind-page { .arrow { color: var(--signature); } - .issueno { + .remark { color: transparent; } } diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7109cdb..9c68c5a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,14 +6,7 @@ {{ partial "breadcrumbs.html" . }} {{- if $isNewsletter -}} - -
-
{{ .Param "newsletterName" }}
-
#{{ .Param "issueno" }}
-
- -
-
+ {{- partial "newsletter_brand.html" . }} {{- end -}}

{{- if $isNewsletter -}} @@ -59,6 +52,10 @@ {{- if (.Param "ShowPostNavLinks") }} {{- partial "post_nav_links.html" . }} {{- end }} + + {{- if $isNewsletter }} + {{- partial "newsletter_sub_form.html"}} + {{- end }} {{- if not (.Param "noComments") }} diff --git a/layouts/partials/newsletter_brand.html b/layouts/partials/newsletter_brand.html new file mode 100644 index 0000000..03c10ee --- /dev/null +++ b/layouts/partials/newsletter_brand.html @@ -0,0 +1,8 @@ + +
+
{{ .Param "newsletterName" }}
+ {{ with .Param "issueno" }}
#{{ . }}
{{ end }} +
+ +
+