Closed Ri1a closed 6 years ago
That's just how Jekyll works - https://jekyllrb.com/docs/posts/#the-posts-folder
If there's another way to do it, I have no idea - you may want to consult the Jekyll documentation, but I don't think this has anything to do with the theme...
Hmmmm, on my old site this worked. In the folder /writeups/ I had a writeups.md file that worked.
Perhaps with a plugin or something like https://jekyllrb.com/docs/collections/ ? Kind of just guessing what it could be. https://jekyllrb.com/docs/templates/#link might be helpful too. Any reason you are using HTML hrefs instead of Markdown links?
You could always push that branch to github (not on master of course) and I can try and see if I can figure it out. Sometimes different versions of jekyll or other dependencies breaks things - but since your previous jekyll site was working OK I'll assume that's not the issue.
Happy to try and help, but I'm not too sure what's going on here. :-/
Ahha, very simple, I think... Looks like you need this file: https://github.com/Shadow2xx/shadow2xx.github.io/blob/master/_layouts/page.html - with that in place in _layouts, it seems to render fine. Give that a try...
The hint was when I ran it locally:
Build Warning: Layout 'page' requested in writeups/writeups.md does not exist.
Nice, now it works fine! Thank you so much!
GitHub Pages supports the markdown="1" attribute to parse markdown inside HTML elements, e.g.
Nice to know:D
solved
Great, I'm glad you got it all worked out!
Get rid of the ":" at line 3, column 26.
No error anymore, thanks!
Hi! I love your jekyll-clean theme!
Now I am encountering to a problem:
I want to add markdown sites, but not as _posts, just as sites. The folder with the .md file is located at /writeups/. But it's not formed correctly...
Here's the webpage:
And here's a code snippet:
I want that it looks like a post, but not that it's a post:D
You have an idea?