Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9599c1e

Browse files
committed
Separating footer in a new include
1 parent b5da57f commit 9599c1e

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

‎_config.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ disqus: testnaringu
3232

3333
# Theme Author (Please don't edit this line cause of MIT LICENSE rules)
3434
theme:
35-
creator: Rizky Ariestiyansyah
36-
codename: Naringu
35+
creator: Rizky Ariestiyansyah
36+
codename: Naringu
37+
link: https://github.com/ariestiyansyah/naringu

‎_includes/footer.html‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div align="center" class="footer">
2+
<a href="{{ site.theme.link }}" target="_blank" title="naringu">{{ site.theme.codename }}</a> is designed by {{ site.theme.creator }}<br />Copyright © {{ site.time | date: '%Y' }} <br>
3+
</div>
4+
</body>
5+
</html>

‎_layouts/default.html‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,5 @@ <h3 class="masthead-title">
4242
}, false);
4343
})(document);
4444
</script>
45-
<div align="center" class="footer">
46-
<a href="/" title="naringu">{{ site.theme.codename }}</a> is designed by {{ site.theme.creator }}<br>
47-
Copyright © {{ site.time | date: '%Y' }} <br>
48-
</div>
49-
</body>
50-
</html>
45+
46+
{% include footer.html %}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /