Skip to content

Commit e6c3550

Browse files
committed
feat: clean up footer
1 parent 8ab4599 commit e6c3550

2 files changed

Lines changed: 25 additions & 19 deletions

File tree

source/layout/layout.njk

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,34 @@
1212
<body>
1313
{% include partialsDir + '/github-corner.njk' %}
1414
<nav>
15-
<img width="150" src="{{ basepath(file) }}/images/nodejs-logo.svg" />
16-
<br />
17-
<ul>
18-
{% for page in pages %}
19-
{% if page.path == file.relative %}
20-
<li>{{ page.name }}
21-
{% else %}
22-
<li><a href="{{ basepath(file) }}/{{ page.path }}">{{ page.name }}</a>
23-
{% endif %}
24-
{% endfor %}
25-
</ul>
15+
<img width="150" src="{{ basepath(file) }}/images/nodejs-logo.svg" />
16+
<br />
17+
<ul>
18+
{% for page in pages %}
19+
{% if page.path == file.relative %}
20+
<li>{{ page.name }}
21+
{% else %}
22+
<li><a href="{{ basepath(file) }}/{{ page.path }}">{{ page.name }}</a>
23+
{% endif %}
24+
{% endfor %}
25+
</ul>
2626
</nav>
2727
<section>
2828
<article>
2929
{% block main %}{% endblock %}
30-
<hr/>
31-
<footer>
32-
<p>
33-
<small>© 2016 {{ orgName }}</small>
34-
<small><a href="https://github.com/nodejsjp/nodejsjp.github.com">GitHub</a></small>
35-
</p>
36-
</footer>
30+
</article>
31+
<footer>
32+
<nav>
33+
<ul>
34+
<li>
35+
<small>© 2016 {{ orgName }}</small>
36+
</li>
37+
</ul>
38+
<ul>
39+
<li><small><a target="_blank" href="https://github.com/nodejsjp/nodejsjp.github.com">GitHub</a></small></li>
40+
<li><small><a target="_blank" href="https://twitter.com/nodejsjp">Twitter</a></small></li>
41+
</ul>
42+
</nav>
3743
</article>
3844
</section>
3945
{% include partialsDir + '/analytics.njk' %}

source/layout/partials/github-corner.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://gihtub.com/nodejsjp/nodejsjp.github.com" class="github-corner" aria-label="View source on Github">
1+
<a target="_blank" href="https://gihtub.com/nodejsjp/nodejsjp.github.com" class="github-corner" aria-label="View source on Github">
22
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#9bb48f; color:#f5f5f5; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
33
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
44
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="#f5f5f5" style="transform-origin: 130px 106px;" class="octo-arm"></path>

0 commit comments

Comments
 (0)