Comments (7)
I do love your experimental feature. It's a good idea.
I will consider adding it back.
from hugo-theme-dream.
Sorry for the late reply. These days are China's National Day holiday, and I'm still on vacation. I'll try to solve all the problems after the holiday because I didn't bring the computer with me.😂
from hugo-theme-dream.
Oh no problem! I'm reading and trying to figure whatever I can on my own. Enjoy your vacations! Happy Holiday!
from hugo-theme-dream.
The following fixes can be found in this commit 7158682.
When viewing the site from a mobile phone the grid column with and the grid container padding size make the area of the content to be reduced which is causing the words in the content files to be cut in my languaje when displayed in the grid but not in the specific view of that site. Can the text in the homepage behave identical to the post page formatting?
This problem should be the wrong use of a CSS style: word-break: break-all;
. I will change it to overflow-wrap: break-word;
. Maybe this can solve this problem.
ref: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
Another similar issue is happening with emoji where they are not displaying in the grid but they do in the post view as visible in the screenshots.
If you are using the text format of emoji, this problem has been solved.
ref: https://gohugo.io/functions/emojify
Dates are having a similar problem where they don't display in some posts and in others it's in english instead of spanish in the case of my site.
Could you provide me an example? It is difficult to reproduce this problem.
But after testing, I found an error. The Sunday of .Date.Weekday
should be index 0 instead of index 7. I have fixed this problem in translations.
Can a site params be added to control de grid tightness or column with? Or how can this be done in the theme files? I understand that this can change the theme and you may not want to implement but since I don't know web development I'm lost about how to do this properly.
It can be done. The current tightness you can found in https://github.com/g1eny0ung/hugo-theme-dream/blob/master/layouts/index.html#L10.
Just change the wide
. The docs of the grid system are https://semantic-ui.com/collections/grid.html#manual-tweaks.
How should i change the reading minutes area at the bottom of the post container in the homepage to display the post's tags instead just like in the post view?
It's very easy. Just copy {{ .ReadingTime }}{{ i18n "minuteRead" }}
in the summary.html
to anywhere you want.
What does the showcase feature in the front matter do? I couldn't find any reference in the documentation and i'm not sure if you removed it in recent updates.
This was an experimental feature. Its function is to double the size of the grid summary. Like this:
But I have removed it because I think it occupies a large area and will affect the overall page layout.
from hugo-theme-dream.
thank you for your time and knowledge. I'm checking and reading those documentation links. Most of the issues I stated seem to have been fixed so I'm closing this.
from hugo-theme-dream.
I think the date display problems have to do with missing translations, checking on my data/es.toml and everything seems to be in order. But still every post made in a "Sunday" or "Domingo" is not displaying the day and some other days display the english value in the post view which it is default behavior in HUGO for missing dates but the dates do appear translated in the grid view.
from hugo-theme-dream.
I do love your experimental feature. It's a good idea.
from hugo-theme-dream.
Related Issues (20)
- JS is loaded from CDN and has no SRI HOT 5
- Lack of Subresource Integrity HOT 1
- 无法将最后修改时间设置为git提交时间 HOT 4
- Is it possible to use 2 different avatars on Home and About/flip? HOT 4
- i18n should be contained in 1 folder HOT 3
- Plan to rewrite with Bulma HOT 4
- Clicking on tags brings up broken XML page HOT 9
- Featured posts HOT 4
- Series Taxonomy HOT 3
- Search doesn't work in production HOT 3
- Any way to integrate terminal like code UI for sharing snippets? HOT 1
- Active fork HOT 3
- Demo is 404 HOT 2
- Stale bot spam HOT 2
- HUGO更新到v0.124.1之后生成站点出现报错 HOT 3
- 你好使用了您的主题,非常好 ,不过现在遇到了一个问题 HOT 14
- 请问首页怎样才能选择显示多少篇文章 HOT 6
- Support TOC in v3 HOT 2
- 请问我打开了TOC 不知道为什么页面并不显示目录。 HOT 13
- markdown的代码块部分缺少了滚动条 HOT 2
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 hugo-theme-dream.