diff options
author | Christoph (Sheogorath) Kern | 2018-01-25 17:40:11 +0100 |
---|---|---|
committer | GitHub | 2018-01-25 17:40:11 +0100 |
commit | e52d7db96cffb89593ff496d0fc1620696553908 (patch) | |
tree | 8c4eeb580aeb4cfa63c97240b1d8b2b06586bfe9 | |
parent | e5074df9109462964f49555a8dffc240dff35302 (diff) | |
parent | 16892cd827c1ae0d749a278d380ff5994659b94a (diff) |
Merge pull request #694 from SISheogorath/refactor/socialmedia
Reorganize social media links and footer
Diffstat (limited to '')
-rw-r--r-- | locales/de.json | 3 | ||||
-rw-r--r-- | locales/en.json | 3 | ||||
-rw-r--r-- | locales/zh-CN.json | 3 | ||||
-rw-r--r-- | public/views/index/body.ejs | 12 |
4 files changed, 12 insertions, 9 deletions
diff --git a/locales/de.json b/locales/de.json index 73ffe0e6..c416a684 100644 --- a/locales/de.json +++ b/locales/de.json @@ -104,5 +104,6 @@ "OR": "Oder", "Export to Snippet": "Zu Snippet exportieren", "Select Visibility Level": "Sichtbarkeit bestimmen", - "Night Theme": "Nachtmodus" + "Night Theme": "Nachtmodus", + "Follow us on %s and %s.": "Folge uns auf %s und %s." } diff --git a/locales/en.json b/locales/en.json index e6a966d7..0b44732d 100644 --- a/locales/en.json +++ b/locales/en.json @@ -104,5 +104,6 @@ "OR": "OR", "Export to Snippet": "Export to Snippet", "Select Visibility Level": "Select Visibility Level", - "Night Theme": "Night Theme" + "Night Theme": "Night Theme", + "Follow us on %s and %s.": "Follow us on %s, and %s." } diff --git a/locales/zh-CN.json b/locales/zh-CN.json index da0e029c..6e0c11e9 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -104,5 +104,6 @@ "Select Visibility Level": "选择可见层级", "Night Theme": "夜间主题", "Do you really want to delete this note?": "确定要删除这个文件吗?", - "All users will lose their connection.": "所有用户将失去连接" + "All users will lose their connection.": "所有用户将失去连接", + "Follow us on %s and %s.": "在%s和%s上关注我们" } diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 82d83f02..d8766fec 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -123,12 +123,6 @@ <div class="mastfoot"> <div class="inner"> - <h6 class="social-foot"> - <iframe src="//ghbtns.com/github-btn.html?user=hackmdio&repo=hackmd&type=star&count=true" frameborder="0" scrolling="0" width="104px" height="20px"></iframe> - </h6> - <p> - © 2018 <a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a> - </p> <select class="ui-locale"> <option value="en">English</option> <option value="zh-CN">简体中文</option> @@ -152,6 +146,12 @@ <option value="eo">Esperanto</option> <option value="da">dansk</option> </select> + <p> + © 2018 <a href="https://hackmd.io">HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a> + </p> + <h6 class="social-foot"> + <%- __('Follow us on %s and %s.', '<a href="https://github.com/hackmdio/HackMD" target="_blank"><i class="fa fa-github"></i> GitHub</a>, <a href="https://twitter.com/hackmdio" target="_blank"><i class="fa fa-twitter"></i> Twitter</a>', '<a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> Facebook</a>') %> + </h6> </div> </div> </div> |