jcarrier-theme

A Grav CMS theme for <https://jacynthecarrier.com>.
git clone git://soucy.cc/jcarrier-theme.git
Log | Files | Refs | README | LICENSE

commit 926397b7697c86d1af8fc1ebe5c41e105499b5cc
parent d041dfda23e7c4cb783429ed692eed5415353ead
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 21 Nov 2020 21:20:00 -0500

Add a template for the homepage

Diffstat:
Atemplates/homepage.html.twig | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/templates/homepage.html.twig b/templates/homepage.html.twig @@ -0,0 +1,11 @@ +{% extends 'partials/base.html.twig' %} + +{% block content %} + {% if page.content or page.title %} + <h1 class="rte visuallyhidden">{{ page.title }}</h1> + + <div class="rte"> + {{ page.content }} + </div> + {% endif %} +{% endblock %}