sustain icon indicating copy to clipboard operation
sustain copied to clipboard

Blog post not showing

Open chrisdemars opened this issue 8 years ago • 4 comments

I am having trouble displaying my blog posts. Everything seems to be formatted correctly and the file is saved with the .md extension. Any clue what could be the problem?

chrisdemars avatar Apr 19 '16 01:04 chrisdemars

I had the same issue. Try to update _config.yml and an entry for permalink (https://jekyllrb.com/docs/permalinks/). In my case, I used permalink: pretty then regenerated my site. One thing to note, is after I made this change I also needed to adjust some of the templates. I didn't mind since my posts were good to go!!

kenshinmax avatar Jun 14 '16 17:06 kenshinmax

I was also having issues with navigating back to the home page after being in the projects and blog section. I thought changing the permalink to ./ would fix it but I don't think it did.

On Tue, Jun 14, 2016 at 1:02 PM, kenshinmax [email protected] wrote:

I had the same issue. Try to update _config.yml and an entry for permalink (https://jekyllrb.com/docs/permalinks/). In my case, I used permalink: pretty then regenerated my site. One thing to note, is after I made this change I also needed to adjust some of the templates. I didn't mind since my posts were good to go!!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/biomadeira/sustain/issues/9#issuecomment-225947502, or mute the thread https://github.com/notifications/unsubscribe/AGfAcl7PsRcAGjZ_AJbCXE1HVpV3i5LVks5qLt6bgaJpZM4IKRIQ .

chrisdemars avatar Jun 14 '16 17:06 chrisdemars

Try and update the links that are generated for the site in header.html (_includes). I seem to remember that it was a relative link, but I updated the template so that it pointed the pages to the root of my site (li>BLOG). Notice the "/" before the {{ site.baseurl }}. I also had to update the layout.html with the same logic.

kenshinmax avatar Jun 14 '16 17:06 kenshinmax

Ok I'll try it. Thanks

On Tue, Jun 14, 2016 at 1:24 PM, kenshinmax [email protected] wrote:

Try and update the links that are generated for the site in header.html (_includes). I seem to remember that it was a relative link, but I updated the template so that it pointed the pages to the root of my site (li>BLOG). Notice the "/" before the {{ site.baseurl }}. I also had to update the layout.html with the same logic.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/biomadeira/sustain/issues/9#issuecomment-225953771, or mute the thread https://github.com/notifications/unsubscribe/AGfAcvRsvRPFdgX2BfGkhy1bt8WuYJQ-ks5qLuPYgaJpZM4IKRIQ .

chrisdemars avatar Jun 14 '16 17:06 chrisdemars