Code Monkey home page Code Monkey logo

Comments (7)

g1eny0ung avatar g1eny0ung commented on June 26, 2024 2

I do love your experimental feature. It's a good idea.

I will consider adding it back.

from hugo-theme-dream.

g1eny0ung avatar g1eny0ung commented on June 26, 2024 1

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.

Sp-cy avatar Sp-cy commented on June 26, 2024 1

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.

g1eny0ung avatar g1eny0ung commented on June 26, 2024 1

@Sp-cy

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:

image

But I have removed it because I think it occupies a large area and will affect the overall page layout.

from hugo-theme-dream.

Sp-cy avatar Sp-cy commented on June 26, 2024 1

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.

Sp-cy avatar Sp-cy commented on June 26, 2024

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.

Sp-cy avatar Sp-cy commented on June 26, 2024

I do love your experimental feature. It's a good idea.

from hugo-theme-dream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.