Comments (12)
Found the issue guys, here, in the notes section for release 0.33: https://gohugo.io/news/0.33-relnotes/. They removed indexes from the template lookup system, so layouts/indexes/post was never getting rendered. I am able to fix this issue by moving the post.html template into the post directory, unless there is a better place for it. I will submit a PR as well.
from blackburn.
Let's assume v0.36 is running. If you were to rename li.html to list.html on `/layouts/_default/ directory, then at least the links show. Furthermore if you were to replace the contents of that file for say
<li class="posts">
{{ range .Data.Pages -}}
<li>
<span><a href="{{ .Permalink }}">{{ .Title }}</a> <a class="pure-menu-has-children">{{ .Date.Format "Mon, Jan 2, 2006" }}</a></span>
</li>
</li>
{{- end }}
things get better. But I wouldn't know what to do from there
from blackburn.
Hi @nonumeros
I can reproduce the problem at my end. I'm not sure what's going on but will take a look at it as soon as I can.
from blackburn.
I meet the same problem. This problem also appears in the demo site.
from blackburn.
@yoshiharuyamashita appreciate it. @HEDAS thanks for confirming it.
Your can reproduce the same problem with https://github.com/tummychow/lanyon-hugo
And if a new site is created with v0.36 and then generate it with v0.32.4 - one ends up with <meta name="generator" content="Hugo 0.36" />
on root while the <meta name="generator" content="Hugo 0.32.4" />
is on /post/
I guess the above is to be expected, but somehow is not quite 'right'. For the simple reason that if one were to create the site with v0.36 and then generate the site with v0.32.4 everything looks 'right' on the outside, including the /post/ directory.
For further cross references check https://nonumeross.github.io (that's two s )
root is 0.36
post is 0.32.4
Sorry, I take that back. Site was created with 0.32.4 and then generated with 0.36, but either way, thats something that ( I guess ) hugo devs need to figure out
from blackburn.
I'm closing the issue. Some of the contributors at the Hugo community do not offer constructive solutions and/or helpful feedback to the problem.
from blackburn.
@nonumeros @yoshiharuyamashita Not sure how much investigating has been done but it looks like when hugo builds the site index.html never gets generated. Looking into it currently. I too am having the /post/ serving issue
from blackburn.
@jaketothepast awesome job.
If you can initialize a pull request also for https://github.com/tummychow/lanyon-hugo some of the folks using it, will appreciate it. Briefly testing that theme with the v0.37-dev looks as if - based on your research - a post directory would have to be created with the post.html file from indexes directory, moved into it.
from blackburn.
Thank you! And sure will do. Also for reference I tested my pull request to this repository with Hugo v0.36 on Windows. #66
from blackburn.
until @yoshiharuyamashita merges this feel free to use my fork: https://github.com/jaketothepast/blackburn
from blackburn.
I am still facing this issue, is the issue resolved?
from blackburn.
Yes with 579beef
If you're referring to your hugo site... It seems you removed post.html
from the layouts/post directory at https://github.com/parthpunkster/parthpunkster-hugo/tree/master/themes/blackburn/layouts/post
from blackburn.
Related Issues (20)
- Icons in share.html have the incorrect class name HOT 3
- Welcome back @yoshiharuyamashita!
- Incorrect Google Analytics tags
- Both the demo and personal website seem down
- google plus url format error in layouts/partials/social.html? HOT 2
- Error on serving the site HOT 4
- Images missing max-width property HOT 8
- When I click the Posts, my articles don't appear HOT 3
- Can blackburn counts web traffic by busuanzi? HOT 2
- Automatically resize image when it is too large HOT 2
- Two questions: layout, and post directories HOT 2
- Two level menu HOT 3
- cannot deploy to github
- Error when serving site HOT 2
- reading time is not displayed HOT 2
- Author name in each post HOT 1
- side menu is not scrollable
- Home Page Broken with Hugo 0.57 HOT 3
- rss link on menu not formatted
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 blackburn.