Comments (14)
can you upload the code to a public git repo, so i can take a look at it ?
https://gitlab.com/k-caps/design-noa
from blist-hugo-theme.
can you upload the code to a public git repo, so i can take a look at it ?
from blist-hugo-theme.
can you upload the code to a public git repo, so i can take a look at it ?
there is no config file in this repo. hugo can't work without a config file.
if this is a issue create a config file and it will be fixed.
from blist-hugo-theme.
can you upload the code to a public git repo, so i can take a look at it ?
there is no config file in this repo. hugo can't work without a config file.
if this is a issue create a config file and it will be fixed.
As of hugo v0.110.0, hugo.toml
or hugo.yaml
(which I am using) is preferred:
https://gohugo.io/getting-started/configuration/#hugotoml-vs-configtoml
The problem here is not simply a missing configuration file. If it were, the project would build neither locally nor as a build, and this is not the case, as explained.
from blist-hugo-theme.
your problem is with css integrity. because blist-hugo-them
checks if the css is legit before loading it,
to fix this you have to change the variable baseURL
to your domain name and then server the website using that domain name.
so the css won't work in https://lcoalhost:xxxx
but it will work if you deploy the website under the same domain as set in baseURL
from blist-hugo-theme.
your problem is with css integrity. because
blist-hugo-them
checks if the css is legit before loading it,
to fix this you have to change the variablebaseURL
to your domain name and then server the website using that domain name.so the css won't work in
https://lcoalhost:xxxx
but it will work if you deploy the website under the same domain as set inbaseURL
This is not the case. I have tried that, using the dns of cloudflare pages as baseurl, and also my custom domain. It does not work in production either. I can redeploy a broken build if you think that it is necessary.
from blist-hugo-theme.
when you use the command hugo
to build the website, the css link is https://design-noa.com/css/styles.min.xxx.css
. but when you serve the website locally the css file is not available under the domain design-noa.com
. (even if it is, it won't work because the integrity check will fail)
but when you use hugo serve
the css is link is /css/styles.min.xxx.css
the solution is to host the website under the domain design-noa.com
, so that the file https://design-noa.com/css/styles.min.xxx.css
exists.
from blist-hugo-theme.
i successfully deployed your website under the domain https://temp-930.pages.dev after changing baseurl:
to "https://temp-930.pages.dev"
.
i will take it down after you see my messages :)
from blist-hugo-theme.
I'm having the same issue. I've confirmed my baseURL is fine. Seeing the same difference between generating the static site and serving locally.
hugo
OR npm i && HUGO_ENVIRONMENT=production hugo --gc
:
I have tried similar strategies as the original poster. Strangely, the background shows up in dark mode!
hugo
OR npm i && HUGO_ENVIRONMENT=production hugo --gc
:
from blist-hugo-theme.
i successfully deployed your website under the domain https://temp-930.pages.dev after changing
baseurl:
to"https://temp-930.pages.dev"
.i will take it down after you see my messages :)
Thanks, I hadn't received notifications on this issue for some reason until danaukes posted..
I can try serving the site with no subdomain, but I have tried changing the baseURL a few times, to all sorts of different optioms and I haven't gotten it to work yet - that's what I meant in the very end of OP.
I'm having the same issue. I've confirmed my baseURL is fine. Seeing the same difference between generating the static site and serving locally.
hugo
ORnpm i && HUGO_ENVIRONMENT=production hugo --gc
:I have tried similar strategies as the original poster. Strangely, the background shows up in dark mode!
What is your hosting? Is it perhaps cloudflare pages? Maybe cloudflare has some kind of css protection or stripping in place?
from blist-hugo-theme.
@danaukes I have exact the same problem.
It seems like ascentColor = "bg-blue-100"
is ignored on css.
If I add a custom css Class with: .bg-blue-100 { --tw-bg-opacity: 1; background-color: rgba(219, 234, 254, var(--tw-bg-opacity)); }
it works fine.
I hosted the site locally with xampp.
from blist-hugo-theme.
Same issue here. The website looks strange in server but perfect on localhost. I got only one styles.min in css folder after running hugo -D.
from blist-hugo-theme.
Something wrong with tailwind.config I think. Will try to debug more if I have time available soon for blog work again.
from blist-hugo-theme.
any updates on the issue? observed same thing on my side, works fine locally, it doesn't on the sever, host address is configured properly
from blist-hugo-theme.
Related Issues (20)
- Homepage social icons and copyright
- Display tags for each post HOT 4
- Question: Pagination and dark theme by default HOT 8
- RTL languages support HOT 1
- Somehow the site loses the css HOT 3
- toc is generated on page even if I specify false in the page's frontmatter
- images do not render when site is published to gitlab pages and the likes HOT 5
- I got stuck at this step: Preview the theme with example content HOT 1
- Remove the Profile picture on the home page HOT 1
- Preserve language selection
- Deprecated feature
- See issue #79
- Add slider on about.md
- Execution of template failed- error calling head.html
- Add submenu
- Add Bluesky social icon
- Default dark mode
- Issue running the example site: can't evaluate field IsServer in type interface HOT 4
- New Blist site not working nor is Examplesite 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 blist-hugo-theme.