mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 02:28:02 +00:00
Update page template style
This commit is contained in:
parent
be0600a603
commit
4f2fe7eb43
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1349,6 +1349,10 @@ Ghost editor. */
|
||||
opacity: 0.15;
|
||||
}
|
||||
|
||||
.page-template .article-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/* 7.3. Subscribe
|
||||
/* ---------------------------------------------------------- */
|
||||
|
11
page.hbs
11
page.hbs
@ -10,13 +10,6 @@ into the {body} tag of the default.hbs template --}}
|
||||
<article class="article {{post_class}}">
|
||||
|
||||
<header class="article-header gh-canvas">
|
||||
|
||||
<h1 class="article-title">{{title}}</h1>
|
||||
|
||||
{{#if custom_excerpt}}
|
||||
<p class="article-excerpt">{{custom_excerpt}}</p>
|
||||
{{/if}}
|
||||
|
||||
{{#if feature_image}}
|
||||
<figure class="article-image">
|
||||
{{!-- This is a responsive image, it loads different sizes depending on device
|
||||
@ -35,7 +28,11 @@ into the {body} tag of the default.hbs template --}}
|
||||
</header>
|
||||
|
||||
<section class="gh-content gh-canvas">
|
||||
|
||||
<h1 class="article-title">{{title}}</h1>
|
||||
|
||||
{{content}}
|
||||
|
||||
</section>
|
||||
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user