diff options
author | Struan Donald <struan@exo.org.uk> | 2014-04-11 10:34:37 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-04-11 10:34:37 +0100 |
commit | e6d0b61e1a406cc79a5a8390fc148b51d2e36e76 (patch) | |
tree | 5a1d2f8deb2d822a2e669249a46df0bfd2c77ed7 /templates/web/default | |
parent | 03244f1e7d9a03ab704f797a19893c1efdb2b1e6 (diff) | |
parent | dbe9c7ecb157196ed201d94d4159abfb034240ff (diff) |
Merge branch 'zerotb'
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/around/around_index.html | 2 | ||||
-rw-r--r-- | templates/web/default/around/location_error.html | 1 | ||||
-rw-r--r-- | templates/web/default/common_header_tags.html | 4 | ||||
-rw-r--r-- | templates/web/default/header_logo.html | 0 | ||||
-rw-r--r-- | templates/web/default/header_opengraph.html | 0 | ||||
-rw-r--r-- | templates/web/default/header_rss.html | 3 |
6 files changed, 6 insertions, 4 deletions
diff --git a/templates/web/default/around/around_index.html b/templates/web/default/around/around_index.html index a143e90a2..087abf65f 100644 --- a/templates/web/default/around/around_index.html +++ b/templates/web/default/around/around_index.html @@ -6,7 +6,7 @@ [% INCLUDE 'around/postcode_form.html' %] [% IF location_error %] - <p class="error">[% location_error %]</p> + [% INCLUDE 'around/location_error.html' %] [% END %] [% IF possible_location_matches %] diff --git a/templates/web/default/around/location_error.html b/templates/web/default/around/location_error.html new file mode 100644 index 000000000..9b907b64b --- /dev/null +++ b/templates/web/default/around/location_error.html @@ -0,0 +1 @@ +<p class="error">[% location_error %]</p> diff --git a/templates/web/default/common_header_tags.html b/templates/web/default/common_header_tags.html index 1080e8a88..cd6b4ab3a 100644 --- a/templates/web/default/common_header_tags.html +++ b/templates/web/default/common_header_tags.html @@ -33,9 +33,7 @@ <meta name="robots" content="noindex,nofollow"> [% END %] -[% IF rss %] - <link rel="alternate" type="application/rss+xml" title="[% rss.0 %]" href="[% rss.1 %]"> -[% END %] +[% INCLUDE 'header_rss.html' %] <title> [% "$title :: " | html IF title %] diff --git a/templates/web/default/header_logo.html b/templates/web/default/header_logo.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/default/header_logo.html diff --git a/templates/web/default/header_opengraph.html b/templates/web/default/header_opengraph.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/default/header_opengraph.html diff --git a/templates/web/default/header_rss.html b/templates/web/default/header_rss.html new file mode 100644 index 000000000..b93a2e7fc --- /dev/null +++ b/templates/web/default/header_rss.html @@ -0,0 +1,3 @@ +[% IF rss %] + <link rel="alternate" type="application/rss+xml" title="[% rss.0 %]" href="[% rss.1 %]"> +[% END %] |