mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Added chinese version link
This commit is contained in:
1 parent
d0198c688c
commit
75f335711a
1 file changed
+5
-4
@@ -12,11 +12,12 @@
|
||||
<div class="hidden md:block flex-shrink-0 mx-auto block mt-8 md:mx-8 max-w-xs">
|
||||
<%- partial('index/logo', {icon: false}) %>
|
||||
<h4 class="mt-5 text-sm text-slate-500"><%- config.description %>.</h4>
|
||||
<% if (site.posts.filter(post => post.layout === "note").length > 0) { %>
|
||||
<div class="share mt-4">
|
||||
<div class="share mt-4">
|
||||
<a href="/zh-CN/">中文版</a>
|
||||
<% if (site.posts.filter(post => post.layout === "note").length > 0) { %>
|
||||
<a href="/notes">#Notes</a>
|
||||
</div>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
<div class="share mt-8">
|
||||
<%- partial('_partial/share', {extra: ""}) %>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user