Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Make it easier to tag pages for special css
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Oct 20, 2016
1 parent c06676f commit 630adcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
</script>
{% endif %}
</head>
{% set homepage = request.path.raw == '/' %}
<body id="{{ 'homepage' if homepage }}">
<body{% if page_id %} id="{{ page_id }}"{% endif %}>

<div id="wrapper">
<div id="header" class="clearfix">
Expand Down
1 change: 1 addition & 0 deletions www/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ for key, tab in tabs.items():
title = _("Teams")
suppress_sidebar = True
suppress_welcome = 'suppress-welcome' in request.cookie
page_id = "homepage"
[---]
{% extends "templates/base.html" %}
{% block head_early %}
Expand Down

0 comments on commit 630adcf

Please sign in to comment.