Skip to content

Commit e403012

Browse files
committed
add description to page contents if available + use home layout for homepage
1 parent 225f7c6 commit e403012

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
layout: home
3+
---
4+
15
<img src="https://www.crim.ca/wp-content/uploads/2020/10/logo-color-300x61.png" alt="CRIM"/>
26

37
## Information

_layouts/default.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ <h1><a href="{{ page.url | relative_url }}">{{ page.title }}</a></h1>
3232

3333
<hr>
3434

35+
{% if page.description %}
36+
<div id="description" style="font-style: italic">
37+
{{ page.description }}
38+
</div>
39+
<hr>
40+
{% endif %}
41+
42+
3543
{{ content }}
3644

3745
<footer>

0 commit comments

Comments
 (0)