Skip to content

Commit 5b1e67a

Browse files
committed
add authors and license
1 parent d083f28 commit 5b1e67a

File tree

2 files changed

+34
-26
lines changed

2 files changed

+34
-26
lines changed

_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@
1919
# in the templates via {{ site.myvariable }}.
2020

2121
title: 5分鐘快速上手 Redmine
22-
22+
authors:
23+
- name: Shengnan Lyu
24+
25+
- name: Akihiro Kurotani
26+
2327
description: >- # this means to ignore newlines until "baseurl:"
2428
「5 分鐘快速上手 Redmine」系列文章,旨在用簡單易懂的方式介紹開放原始碼的議題管理系統 Redmine。
2529
每篇文章的長度大約只需 5 分鐘閱讀時間,讓您輕鬆掌握 Redmine 的基礎與實用功能。
2630
baseurl: "" # the subpath of your site, e.g. /blog
2731
url: "https://5fenzhong-redmine.github.io" # the base hostname & protocol for your site, e.g. http://example.com
32+
repository_url: "https://github.com/5fenzhong-redmine/5fenzhong-redmine.github.io"
33+
2834
#twitter_username: jekyllrb
2935
#github_username: jekyll
3036
lang: zh-TW

_includes/footer.html

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
1-
<link id="fa-stylesheet" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css">
2-
31
<footer class="site-footer h-card">
42
<data class="u-url" value="{{ '/' | relative_url }}"></data>
53

64
<div class="wrapper">
75

8-
<div class="footer-col-wrapper">
9-
<div class="footer-col">
10-
{%- if site.author %}
11-
<ul class="contact-list">
12-
{% if site.author.name -%}
13-
<li class="p-name">{{ site.author.name | escape }}</li>
14-
{% endif -%}
15-
{% if site.author.email -%}
16-
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
17-
{%- endif %}
18-
</ul>
19-
{%- endif %}
20-
</div>
21-
<!--
22-
<div class="footer-col">
23-
<p>{{ site.description | escape }}</p>
24-
</div>
25-
-->
26-
</div>
27-
286
<div class="social-links">
297
{%- include social.html -%}
308
</div>
319

32-
<div class="footer-bottom">
33-
<p class="copyright">© {{ site.time | date: "%Y" }} {{ site.title | escape }}</p>
34-
</div>
10+
<div class="footer-bottom">
11+
<p class="copyright">
12+
© {{ site.time | date: "%Y" }}
13+
{% for author in site.authors %}
14+
{{ author.name | escape }}{% unless forloop.last %}, {% endunless %}
15+
{% endfor %}
16+
</p>
17+
18+
<div class="license-info">
19+
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
20+
<img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" />
21+
</a>
22+
<br>
23+
<p>
24+
The content on this site is licensed under a
25+
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
26+
</p>
27+
</div>
28+
29+
{% if site.repository_url %}
30+
<div class="repository-info">
31+
<p>
32+
Found a bug or have a suggestion? Welcome your contribution! <a href="{{ site.repository_url }}">GitHub Repository</a>
33+
</p>
34+
</div>
35+
{% endif %}
36+
</div>
3537

3638
</div>
3739

0 commit comments

Comments
 (0)