Skip to content

Commit

Permalink
Test: elsif page.title
Browse files Browse the repository at this point in the history
Title definition replaced by regular text for testing. Test successful without the whole elsif block - what if only elsif tag is there?
  • Loading branch information
keunes committed Nov 23, 2023
1 parent 8b0b70b commit e25706f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
{% if page.layout == "blog" or page.layout == "event" %}
{% capture title %}{{ page.title }} – {{ site.title }}{% endcapture %}
{% elsif page.title %}
Test (elsif problem)
{% else %}
{% capture title %}{{ site.title }} – {% t homepage.header %}{% endcapture %}
{% endif %}
Expand Down

0 comments on commit e25706f

Please sign in to comment.