Comments (4)
Thank you, @Eidolonic It's very likely something I did trying to get the URLs to work on any instance, including where the install is in a nested folder. I'll have a look tonight.
from gohugo-theme-ananke.
Hey, @Eidolonic
Specifying in site config.toml featured_image -- Does not appear to be respected at all; Network tab shows no attempt to find file
At some point I changed this to not use a config default because I felt like the behavior should be not to have anything if you didn't have an image on the page. If you want the default from the config, I can show you how to do that {{ $featured_image := .Params.featured_image | default .Site.Params.featured_image }}
Specifying in content/_index.md front matter featured_image: 'static/images/file.jpg' -- Site tries to pull from //localhost:1313/static/images/file.jpg but always 404s.
The reference should not include static
Copying the specified hero image to (site root)/static/images/file.jpg, (site root)/content/static/images/file.jpg and same structures inside theme folder.
"(site root)/static/images/file.jpg" looks right to me.
I tested the theme with the sample content and it seems to work okay. If you want to post your repo, I'm happy to have a look.
from gohugo-theme-ananke.
@budparr Thanks for your detailed response and sorry for squirreling you on a non-issue. Simply removing the static
portion of the front matter reference fixed the problem. Thought I had tried that, but clearly not. 😎 Thanks for a killer theme.
from gohugo-theme-ananke.
Awesome! Glad to hear you got it figured out.
from gohugo-theme-ananke.
Related Issues (20)
- Use of .RelPermalink broke the multilanguage multihost support HOT 1
- How to paginate articles with date ? HOT 1
- Resize featureimages
- Unnecessary vertical space below posts if commends are disabled
- Unnecessary vertical space on index page if there is no content
- Contribution: fix hard-coded link to section HOT 2
- Images not rendered in alternative language
- Custom CSS - Width of text rendered on Desktop Browser HOT 1
- Cannot display icon for custom social HOT 1
- Title color HOT 1
- Hugo extended edition required by default?
- Page is just blank. Missing images HOT 1
- Pages now appear listed in the Home page along Posts HOT 1
- Extra {{end}} index.html HOT 3
- Bad link to demo site HOT 1
- github social link adds breaks when hosted on github.io
- Demo doesn't work HOT 3
- Building site locally returns ERROR on google_analytics_async.html HOT 9
- Make header opacity configurable HOT 2
- Option to order sections by date for index.html 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 gohugo-theme-ananke.