cleanup old templates
This commit is contained in:
parent
346b4faa76
commit
febd035da3
12 changed files with 47 additions and 63 deletions
|
@ -1,6 +1,7 @@
|
|||
<head>
|
||||
<meta name="slug" content="about" />
|
||||
<meta name="title" content="About Me" />
|
||||
<meta name="no_container" content="true">
|
||||
</head>
|
||||
<body>
|
||||
<section class="bg-primary">
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12 text-left">
|
||||
<h3>{{ article.title }}</h3>
|
||||
<p>{{ article.summary|raw|limit(30) }}</p>
|
||||
<p>{{ article.summary|striptags|e|limit(30) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="light">
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<head>
|
||||
<meta name="title" content="Student Robotics 2014">
|
||||
<meta name="template" content="page-title">
|
||||
<meta name="slug" content="robotics/2014">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
title: The Code
|
||||
html_title: The Code | SR2015
|
||||
slug: robotics/2015/code
|
||||
template: page-title
|
||||
|
||||
|
||||
The code used for this competition was by far the most complicated and advanced code that had ever been written by a Collyer's team.
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<head>
|
||||
<meta name="title" content="Student Robotics 2015">
|
||||
<meta name="slug" content="robotics/2015">
|
||||
<meta name="template" content="page-title">
|
||||
</head>
|
||||
<body>
|
||||
<div class="row">
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
template: page-title
|
||||
title: The Robot - A.L.I.C.E
|
||||
html_title: The Robot | SR2015
|
||||
slug: robotics/2015/robot
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
title: Student Robotics
|
||||
template: page-title
|
||||
slug: robotics
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block metadata %}
|
||||
{% for tag, value in page.ogtags %}
|
||||
{% for tag, value in article.ogtags %}
|
||||
<meta property="{{ tag }}" content="{{ value|striptags|e }}" />
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
{{ article.title }}
|
||||
</div>
|
||||
<div class="project-name">
|
||||
{{ article.summary|raw }}
|
||||
{{ article.summary|striptags|e }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -10,12 +10,8 @@
|
|||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{{ page.content }}
|
||||
{% endblock %}
|
||||
|
||||
{% block navbar %}
|
||||
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top index-nav">
|
||||
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top index-nav">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
|
@ -25,7 +21,7 @@
|
|||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand page-scroll" href="#page-top">
|
||||
TheOrangeOne
|
||||
{{ SITENAME }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
@ -38,5 +34,9 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{{ page.content }}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block htmltitle %}
|
||||
{{ page.html_title or page.title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block metadata %}
|
||||
{% for tag, value in page.ogtags %}
|
||||
<meta property="{{ tag }}" content="{{ value|striptags|e }}" />
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="bg-primary">
|
||||
<div class="container text-center text-uppercase">
|
||||
<h1 class="section-heading uppercase">{{ page.title }}</h1>
|
||||
<hr class="light">
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div class="container">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block htmltitle %}
|
||||
{{ page.title }}
|
||||
{{ page.html_title or page.title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block metadata %}
|
||||
|
@ -11,5 +11,19 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if not page.no_container %}
|
||||
<section class="bg-primary">
|
||||
<div class="container text-center text-uppercase">
|
||||
<h1 class="section-heading uppercase">{{ page.title }}</h1>
|
||||
<hr class="light">
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div class="container">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
</section>
|
||||
{% else %}
|
||||
{{ page.content }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue