Template tidy
This commit is contained in:
parent
d106acf639
commit
1cb1a628a0
|
@ -83,6 +83,7 @@ hightlightjs: default
|
|||
digitalocean_referral: a913b4b00d4a
|
||||
|
||||
default_date_format: jS F, Y
|
||||
title_separator: "|"
|
||||
|
||||
availability:
|
||||
day:
|
||||
|
|
|
@ -5,10 +5,6 @@
|
|||
<!--[if !IE]><!--><html><!--<![endif]-->
|
||||
{% include 'head' %}
|
||||
<body class="{% block body_classes %}{% endblock %}">
|
||||
<!--[if lt IE 7]>
|
||||
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||
<![endif]-->
|
||||
|
||||
{% include 'navbar' %}
|
||||
|
||||
<div class="container">
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
|
||||
<ul>
|
||||
{% for relate in page.related -%}
|
||||
<li><a href="{{ relate.source.url }}">{{ relate.title }}</a></li>
|
||||
<li>
|
||||
<a href="{{ relate.source.url }}">{{ relate.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{%- endif %}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
{% spaceless %}
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="refresh" content="0;url={{ page.destination }}" />
|
||||
</head>
|
||||
</html>
|
||||
{% endspaceless %}
|
|
@ -13,6 +13,7 @@
|
|||
<link rel="author" href="{{ site.url }}/humans.txt" />
|
||||
<link rel="stylesheet" href="{{ site.url }}/assets/css/styles.css">
|
||||
<link rel="stylesheet" href="{{ site.url }}/components/highlightjs/styles/{{ site.hightlightjs }}.css">
|
||||
|
||||
{% for size in site.apple_touch_icon_sizes %}
|
||||
<link rel="apple-touch-icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
|
||||
aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
|
|
@ -2,11 +2,3 @@
|
|||
<{{ title_tag }}>{{ page.title }}</{{ title_tag }}>
|
||||
|
||||
<p class="posted">Posted: {{ page.date|date('jS F Y') }}</p>
|
||||
{#
|
||||
{% if page.tags %}
|
||||
Tags:
|
||||
{% for tag in page.tags %}
|
||||
{{ tag }}{% if not loop.last %},{% else %}.{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
#}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<section class="block block--da_member">
|
||||
<h2>Drupal Association</h2>
|
||||
<a href="https://assoc.drupal.org/membership" title="Become a Drupal Association member">
|
||||
<img src="/assets/images/da-individual-member.png" alt="Drupal Association Individual Member">
|
||||
<img src="{{ site.url }}/assets/images/da-individual-member.png" alt="Drupal Association Individual Member">
|
||||
</a>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{% set separator = '|' %}
|
||||
{% spaceless %}<title>
|
||||
{% if page.full_title %}
|
||||
{{ page.full_title }}
|
||||
{% elseif page.title and site.title %}
|
||||
{{ page.title }} {{ separator }} {{ site.title }}
|
||||
{{ page.title }} {{ site.title_separator }} {{ site.title }}
|
||||
{% elseif site.title %}
|
||||
{% if site.subtitle %}
|
||||
{{ site.subtitle }} {{ separator }} {{ site.title }}
|
||||
{{ site.subtitle }} {{ site.title_separator }} {{ site.title }}
|
||||
{% else %}
|
||||
{{ site.title }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue