diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-01 12:42:14 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-01 12:42:14 -0300 |
| commit | 772fd44b4d9f9f1e545b1a69134327d9cfb21931 (patch) | |
| tree | 7f9235cd71f0d46fb405273224eac0b3e5adacba /_layouts | |
| parent | _config.yml: Point to COPYING file instead of LICENSE (diff) | |
| download | euandre.org-772fd44b4d9f9f1e545b1a69134327d9cfb21931.tar.gz euandre.org-772fd44b4d9f9f1e545b1a69134327d9cfb21931.tar.xz | |
Remove _layouts/page.html, use 'default' layout for pages
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 8 | ||||
| -rw-r--r-- | _layouts/page.html | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index a553db6..c5bbdfe 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -111,8 +111,12 @@ </header> <main> - {% if page.title %}<h1>{{ page.title }}</h1>{% endif %} - {{ content }} + <article> + <h1> + {{ page.title }} + </h1> + {{ content }} + </article> </main> <footer> diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 57116c1..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: default ---- -<article class="post"> - {{ content }} -</article> |
