Skip to content

Commit

Permalink
Add id to home in dispatch rules, add seo keywords and description to…
Browse files Browse the repository at this point in the history
… head in page.tpl (#654)

* Add id to home in dispatch, add seo keywords and description to page.tpl

* Remove seo from head
  • Loading branch information
elizabethprins authored and DorienD committed Jan 23, 2020
1 parent e4af2ea commit 5d33db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_ginger_spa/dispatch/dispatch
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[{home, [], controller_template, [ {template, "page.tpl"} ]},
[{home, [], controller_template, [ {template, "page.tpl"}, {id, home} ]},
{search, ["search"], controller_template, [ {template, "page.tpl"} ]}
].
1 change: 1 addition & 0 deletions modules/mod_ginger_spa/templates/page.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
{% endif %}
{% endblock %}
</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

{% if m.config.site.title.value %}
Expand Down

0 comments on commit 5d33db6

Please sign in to comment.