-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
514f7aa
commit 99a38df
Showing
10 changed files
with
35 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
<section id="main"> | ||
<div> | ||
<h1 id="title">{{ page.title }}</h1> | ||
</div> | ||
</section> | ||
|
||
</body> | ||
</html> | ||
</html> |
15 changes: 3 additions & 12 deletions
15
layouts/_default/list.html → layouts/_default/list.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
{% include 'include/sidebar.html' %} | ||
|
||
<div class="content container"> | ||
<div class="posts"> | ||
{% for post in site.pages|filterBySection(page.pathname)|sortByDate %} | ||
{% for post in site.pages|filterBySection(page.pathname)|sortByDate %} | ||
<div class="post"> | ||
<h1 class="post-title"> | ||
<a href="{{ url(post) }}"> | ||
{{ post.title }} | ||
</a> | ||
<a href="{{ url(post) }}">{{ post.title }}</a> | ||
</h1> | ||
|
||
<span class="post-date">{{ post.date|date("j M Y") }}</span> | ||
|
||
{{ post.content|excerpt }} | ||
{{ post.content|excerpt }} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
{% include 'include/sidebar.html' %} | ||
|
||
<div class="content container"> | ||
<h1 class="page-title">{{ page.title }}</h1> | ||
{{ page.content }} | ||
{{ page.content }} | ||
</div> | ||
|
||
</body> | ||
</html> | ||
</html> |
9 changes: 2 additions & 7 deletions
9
layouts/_default/taxonomy.html → layouts/_default/taxonomy.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
{% include 'include/sidebar.html' %} | ||
|
||
<div class="content container"> | ||
<h1 class="page-title">{{ page.singular|title }} "{{ page.title }}"</h1> | ||
<ul> | ||
{% for term in page.pages|sortByDate %} | ||
{% for term in page.pages|sortByDate %} | ||
<li> | ||
<a href="{{ url(term) }}">{{ term.title }}</a> | ||
</li> | ||
{% endfor %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
|
||
</body> | ||
</html> |
15 changes: 5 additions & 10 deletions
15
layouts/_default/terms.html → layouts/_default/terms.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
{% include 'include/sidebar.html' %} | ||
|
||
<div class="content container"> | ||
<h1>{{ page.plural }}</h1> | ||
<ul> | ||
{% for name, term in page.terms %} | ||
{% for name, term in page.terms %} | ||
<li><h2><a href="{{ url(page.plural ~ '/' ~ name) }}">{{ name }}</a> ({{ term|length }})</h2> | ||
<ul> | ||
{% for page in term %} | ||
{% for page in term %} | ||
<li><a href="{{ url(page) }}">{{ page.title }}</a></li> | ||
{% endfor %} | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% endfor %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
{% include 'include/sidebar.html' %} | ||
|
||
<div class="content container"> | ||
<h1 class="page-title">{{ page.title }}</h1> | ||
{% if page.date %} | ||
{% if page.date %} | ||
<span class="post-date">{{ page.date|date("j M Y") }}</span> | ||
{% endif %} | ||
{{ page.content }} | ||
{% endif %} | ||
{{ page.content }} | ||
<p> | ||
{% for tag in page.tags %} | ||
{% for tag in page.tags %} | ||
<a href="{{ url('tags/' ~ tag) }}">#{{ tag }}</a> | ||
{% endfor %} | ||
{% endfor %} | ||
</p> | ||
</div> | ||
|
||
</body> | ||
</html> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> | ||
|
||
{% include 'include/head.html' %} | ||
|
||
<body> | ||
|
||
{% include 'include/sidebar.html' %} | ||
|
||
<div class="content container"> | ||
<div class="posts"> | ||
{% for post in site.pages|filterBySection('blog')|sortByDate|slice(0, 5) %} | ||
{% for post in site.pages|filterBySection('blog')|sortByDate|slice(0, 5) %} | ||
<div class="post"> | ||
<h1 class="post-title"> | ||
<a href="{{ url(post) }}"> | ||
{{ post.title }} | ||
</a> | ||
<a href="{{ url(post) }}">{{ post.title }}</a> | ||
</h1> | ||
|
||
<span class="post-date">{{ post.date|date("j M Y") }}</span> | ||
|
||
{{ post.content|excerpt }} | ||
{{ post.content|excerpt }} | ||
</div> | ||
{% endfor %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
File renamed without changes.