Comments (10)
To keep it fast and performing the stuff like custom fonts and color gradings are not considered as a value to theme as it may make it slower as more resources are consumed
from hugo-papermod.
custom.css looks good in the commit. I'm not a web-dev so let me make sure I get this right:
1. Your branch custom-css includes an example of how to edit the head.html
2. I can use this head.html to override the default theme template using the Hugo doc link you shared above
3. Should I include the custom.css file in the theme's assets directory or the hugo blog's static/css
directory?
4. I don't completely understand the minification comment. Are you saying custom css file will always be excluded from minification or if I include in the assets directory then it will be minified?
EDIT: Ignore 1-3. I got custom css working! 👍
from hugo-papermod.
pull requests are welcome
from hugo-papermod.
I don't know much about Go templates but I can take a crack at this by editing the default CSS. Does this theme also support custom css? I searched but couldn't find a reference to custom_css in the source code.
from hugo-papermod.
makes sense to be the default but assuming I'm OK with the perf hit, what's the best way to make my style choices for my blog? I suppose other users of this theme would be in the same boat and would want to customize the look and feel of their blogs based on this theme.
from hugo-papermod.
makes sense to be the default but assuming I'm OK with the perf hit, what's the best way to make my style choices for my blog? I suppose other users of this theme would be in the same boat and would want to customize the look and feel of their blogs based on this theme.
People using this theme are the one's who liked the minimalisim, dual-toned clean factor nature of hugo -paper but miss customization features which helps them increase the functionality and accessibility
The theme you're currently using (https://github.com/MunifTanjim/minimo/) is great as far as colors and features are a concern. Kudos for thier great work
from hugo-papermod.
suppose other users of this theme would be in the same boat and would want to customize the look and feel of their blogs based on this theme.
checkout these
https://theclonker.de/
https://brunoluiz.net/
https://raphaelgosteli.com/
https://veruu.github.io/
https://y2kappa.github.io/blog/
from hugo-papermod.
suppose other users of this theme would be in the same boat and would want to customize the look and feel of their blogs based on this theme.
checkout these
https://theclonker.de/
https://brunoluiz.net/
https://raphaelgosteli.com/
https://veruu.github.io/
https://y2kappa.github.io/blog/
Those look exactly the same as default. I hear you and as the theme author you have every right to make the default minimalistic choices for your users. However, hugo provides a way for users to customize their site using the custom.css file. Are you open to allow user customization in this way so that users who care about customizing their blogs can do so?
from hugo-papermod.
I had custom.css included earlier see this commit: a22aa8a
Reason being you can always override any asset
or layout
from the theme
read here: https://gohugobrasil.netlify.app/themes/customizing/#override-template-files
and here: https://gohugo.io/hugo-modules/theme-components/
Also as papermod does not have any nodejs dependencies you're good to go just by editing the css and/or the template, just like that.
p.s. This is also beacuse papermod uses minification by default, and using custom css without it in `assets' dir it won't be bundled with the stylesheet
hugo-PaperMod/layouts/partials/head.html
Line 32 in d819914
this matters site loading time, more the requests, slower the site becomes
more : https://web.dev/resource-summary/ and https://web.dev/critical-request-chains/
from hugo-papermod.
@singhkays check this out b56f6dc
from hugo-papermod.
Related Issues (20)
- [HELP WANTED] Some LaTeX equations not being rendered using KaTeX
- Changing font for body text ?
- Links rely on color to be distinguishable - Pagespeed Insights HOT 1
- [BUG] can not generate /posts/index.json file HOT 1
- Fatal error when I execute workflow to deploy github page HOT 2
- [BUG] Hugo converting archive into article when refreshing.
- [BUG] Custom Audio shortcode breaks building HOT 1
- [BUG] ShowFullTextinRSS = true doesn't show full text
- [BUG] Wrong background color of code blocks HOT 2
- superscript and subscript support HOT 2
- [feature] Add git icon HOT 1
- [Math Typesseting] Can't render LaTex .
- Issue with Language Switching on Hugo Blog Using OpenAI Theme HOT 1
- [BUG] extend_{head,footer}.html doesnt work HOT 3
- Compatibility issue with `delimit` function in Hugo 0.120.0 HOT 2
- Why do the colors change in order when switching themes?
- [BUG] Line with date and author broken after HUGO update HOT 3
- [BUG] Long search queries hang or lag website HOT 6
- [BUG] Issues Displaying / Hiding Covers HOT 1
- Publish Time, Read Time, Author, and Word Count not rendering correctly. [BUG] 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-papermod.