Comments (8)
嗯,可以考虑做这个功能。当然如果你懂一点点CSS的话,完全可以自己去修改
from gaohaoyang.github.io.
恩,现在已经效果挺好了,我一直在用,最近整成多语言版本,稍微费了点时间,要是主题能原生支持多语言就好了。。: )
from gaohaoyang.github.io.
@waruqi 我看到你的disqus留言了,已经添加了链接,你改版的多语言也很赞!
from gaohaoyang.github.io.
谢谢。。但是还是有些问题,不太好处理,例如:tags的多语言过滤,对jekyll还不是特别了解,改起来有点麻烦。。
from gaohaoyang.github.io.
tags过滤 我搞定了。。谢谢哈。。: )
from gaohaoyang.github.io.
嗯……tag只是post文章的一个属性字段,我觉得你可以自定义文章头部的字段名称,比如英文的叫tag_en,然后分开展示。我觉得这是一个可行的办法。
在 2016年7月27日,17:50,ruki [email protected] 写道:
谢谢。。但是还是有些问题,不太好处理,例如:tags的多语言过滤,对jekyll还不是特别了解,改起来有点麻烦。。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub #33 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AHTSO3BnMuIbkjvYnVK8fskGeccKViP9ks5qZynigaJpZM4JI-6a.
from gaohaoyang.github.io.
恩 谢谢,我现在是通过过滤url是否包含 /cn/
来处理的,目前看下来效果也还行。。
{% capture tags %}
{% for tag in site.tags %}
{% if tag[1].size > 0 %}
{% assign post_first = tag[1][0] %}
{% unless post_first.url contains '/cn/' %}
{{ tag[0] }}
{% endunless %}
{% endif %}
{% endfor %}
{% endcapture %}
from gaohaoyang.github.io.
nice job!
在 2016年7月28日,10:37,ruki [email protected] 写道:
恩 谢谢,我现在是通过过滤url是否包含 /cn/ 来处理的,目前看下来效果也还行。。
{% capture tags %} {% for tag in site.tags %} {% if tag[1].size > 0 %} {% assign post_first = tag[1][0] %} {% unless post_first.url contains '/cn/' %} {{ tag[0] }} {% endunless %} {% endif %} {% endfor %} {% endcapture %}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub #33 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AHTSOzue_tglCheB_Gvl66Y7ZPoyVPogks5qaBXNgaJpZM4JI-6a.
from gaohaoyang.github.io.
Related Issues (20)
- Issues that are not visible on the blog after writing / 写完后在博客上看不到的问题 HOT 1
- jekyll timezone error? HOT 1
- feed issue
- If mathjax used, it can't be displayed in index page.
- 怎么添加个代码块“复制”功能 HOT 1
- 移动端菜单栏打不开 HOT 4
- 首页裁剪,大量白边区域 HOT 1
- 请问如很修改about和demo部分? HOT 1
- Mathjax inline mode has problem with using absolute character
- 支持置顶某条post吗? HOT 1
- 加了一个简单目录 HOT 1
- 支持 markdown 的数学公式吗? HOT 1
- 是不是域名出问题了?
- Can't serve the website. "Conversion Error"
- 无序列表显示异常
- 是否有计划把此主题适配到hugo上
- 有些post右边Content不显示标题,只有similar posts和comments
- 移动端火狐浏览器升级后UI出现问题
- 想问下部署有没有什么需求? HOT 3
- 提示 Liquid Warning: Liquid syntax error (line 86): Invalid attribute in for loop. Valid attributes are limit and offset in "category in site.categories order:ascending" in index.html Liquid Exception: Liquid error (line 118): divided by 0 in index.html
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaohaoyang.github.io.