diff options
| author | Valentin Popov <info@valentineus.link> | 2018-05-15 14:05:33 +0300 | 
|---|---|---|
| committer | Valentin Popov <info@valentineus.link> | 2018-05-15 14:05:33 +0300 | 
| commit | c5b63ba4f176b92fd81aa15c8cca709775993338 (patch) | |
| tree | 6e9817b7dfcbc99ea1a40a9e0c760e7f9271e9fd /_layouts | |
| parent | 035b1840d61ac6e1e47a400c3f982e5f6ed774ba (diff) | |
| download | popov.link-c5b63ba4f176b92fd81aa15c8cca709775993338.tar.xz popov.link-c5b63ba4f176b92fd81aa15c8cca709775993338.zip | |
Minimal page templates
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 1 | ||||
| -rw-r--r-- | _layouts/page.html | 7 | ||||
| -rw-r--r-- | _layouts/post.html | 10 | 
3 files changed, 9 insertions, 9 deletions
| diff --git a/_layouts/default.html b/_layouts/default.html index d20b4e0..f202269 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -14,7 +14,6 @@ layout: compress        {{ content }}      </main> -    {% include javascript.html %}    </body>  </html> diff --git a/_layouts/page.html b/_layouts/page.html index 3991672..fcb0e0a 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -3,8 +3,11 @@ layout: default  ---  <article> -  <header> -    <h1>{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> +  <header class="page-header"> +    <h1 class="text-muted"> +      {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} +      <p><small>{{ page.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</small></p> +    </h1>    </header>    {{ content }} diff --git a/_layouts/post.html b/_layouts/post.html index b573239..952b9f6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,12 +3,10 @@ layout: default  ---  <article> -  <header> -    <h1> -      {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} -      <p> -        <small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small> -      </p> +  <header class="page-header"> +    <h1 class="text-muted"> +      {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} +      <p><small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small></p>      </h1>    </header> | 
