From da534d3210941fc2c44fa8a933376399656521e4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 7 Sep 2021 13:01:41 +0100 Subject: [PATCH] Add menu links --- app/config/sculpin_site.yml | 7 +++++++ source/_layouts/default.html.twig | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 568b7a9..6c264c0 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -1,2 +1,9 @@ name: Sculpin Demo locale: en +main_menu: + - + title: Home + href: / + - + title: Talks + href: /talks/ diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index 56c9c99..9bf4b01 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -1,5 +1,11 @@ {% extends 'app' %} {% block body %} + + {% block content %}{% endblock %} {% endblock %}