Skip to content

Commit 61c5cde

Browse files
committed
Fix archives page; Remove archives from header; Add archives to footer;
1 parent b88acfa commit 61c5cde

File tree

3 files changed

+31
-17
lines changed

3 files changed

+31
-17
lines changed

content/archives/contents.lr

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
_model: page
22
---
3+
_template: page-with-title.html
4+
---
35
title: CC Tech Archives
46
---
57
body:
68

7-
This section contains archives related to older CC projects.
9+
The following sections are archives related to older CC projects.
810

9-
* [CC Tech Blog (2007-2014)](/archives/old-tech-blog/entries/)
11+
- [CC Tech Blog (2007-2014)](/archives/old-tech-blog/entries/)
12+
- [CC-DEVEL MAILING LIST (2005-2015)](https://lists.ibiblio.org/pipermail/cc-devel/)

themes/vocabulary_theme/templates/layout.html

+3-15
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,6 @@
132132
{% endfor %}
133133
</div>
134134
</div>
135-
<div class="navbar-item has-dropdown is-hoverable">
136-
<a class="navbar-link is-arrowless {% if this.is_child_of('/archives') %} is-active{% endif%}">Archives<i
137-
class="icon caret-down"></i></a>
138-
<div class="navbar-dropdown is-right">
139-
{% for href, title in [
140-
['/archives/old-tech-blog', 'CC Tech Blog (2007-2014)'],
141-
['https://lists.ibiblio.org/pipermail/cc-devel/', 'cc-devel mailing list (2005-2015)'],
142-
] %}
143-
<a class="navbar-item" href="{{ href }}">{{ title }}</a>
144-
{% endfor %}
145-
</div>
146-
</div>
147135
</div>
148136
</div>
149137
</nav>
@@ -238,15 +226,15 @@
238226
<li>
239227
<a href="{{ '/blog'|url }}" class="menu-item">Blog</a>
240228
</li>
241-
<li>
242-
<a href="{{ '/contributing-code'|url }}" class="menu-item">Contribution Guidelines</a>
243-
</li>
244229
<li>
245230
<a href="{{ '/community/community-team'|url }}" class="menu-item">Community Team</a>
246231
</li>
247232
<li>
248233
<a href="{{ '/contributing-code/projects'|url }}" class="menu-item">Project List</a>
249234
</li>
235+
<li>
236+
<a href="{{ '/archives'|url }}" class="menu-item">Archives</a>
237+
</li>
250238
</ul>
251239
</nav>
252240
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% extends "layout.html" %}
2+
3+
{% block title %}{{ this.title }}{% endblock %}
4+
5+
{% block body %}
6+
<div class="code-guidelines">
7+
<header class="header">
8+
<div class="container is-paddingless">
9+
<h1>{{ this.title }}</h1>
10+
<div class="description column is-9 is-paddingless">
11+
{{ this.description }}
12+
</div>
13+
</div>
14+
</header>
15+
<div class="container code-guidelines-body">
16+
<div class="columns">
17+
<div class="column content">
18+
{{ this.body }}
19+
</div>
20+
</div>
21+
</div>
22+
</div>
23+
{% endblock %}

0 commit comments

Comments
 (0)