Comments (5)
Thank you, I did not test multibyte characters.
I will test it and let you know how it goes. I use your theme to build my custom code on top of it so whenever I find issues, I will open an issue so it can be fixed.
Thanks
from inkblotty.
I close this issue.
If you find any problem or side effects, please open this or new issue.
Thank you for your contribution.
from inkblotty.
Thank you for your report.
I tried to fix this issue, and probably sidebar works fine now.
You can get fixed version from master branch.
However, I cannot find good solution for post tags/categories in a short time.
- Do you know any reference themes which work well with "uglyurls = true" ?
It may be very helpful to fix it. - If you know good solution for this issue, please let me know.
Thanks,
tosi
from inkblotty.
This is how I have fixed it, Do let me know whether the code is clean because I am not really a coder :)
Please ignore the span class since it is linked to my custom.css file.
{{ $taxo := "categories" }}
<span class="post-categories">
{{ range .Param $taxo }}
{{ $name := . }}
{{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }}
<a href="{{ .Permalink }}">{{ $name }}</a>
{{ end }}
{{ end }}
</span>
{{ $taxo := "tags" }}
<span class="post-tags">
{{ range .Param $taxo }}
{{ $name := . }}
{{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }}
<a href="{{ .Permalink }}">{{ $name }}</a>
{{ end }}
{{ end }}
</span>
from inkblotty.
Thank you for information.
I'm not a specialist of Hugo, so your patch is very helpful to fix.
Unfortunately, it looks not working with multibyte characters, but I got a hint from your code.
I push fixed version to master branch, so please try it if you want.
Thanks,
tosi
from inkblotty.
Related Issues (10)
- Cosmetic issue when html minified HOT 1
- Pagination & Title HOT 8
- トップページヘッダーのh1について HOT 1
- Mobile Menu Issues HOT 2
- syntax highlight for fenced code block
- 記事に目次を追加できるようにする HOT 1
- favicon対応 HOT 2
- <pre>ブロックのフォントを指定する。 HOT 1
- Posts expected in post folder HOT 1
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 inkblotty.