-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make posts displayable by category #24
Labels
Comments
Attempting with the following guide: https://kylewbanks.com/blog/creating-category-pages-in-jekyll-without-plugins Because I have a gem based theme, I have to make the changes in the manner described here: |
lisawilliams
pushed a commit
that referenced
this issue
Sep 4, 2017
Using the following tutorial to set up categories: https://kylewbanks.com/blog/creating-category-pages-in-jekyll-without-plugins Using a no-plugins strategy because Github Pages only supports a handful of plugins. Responds to Issue #24.
lisawilliams
pushed a commit
that referenced
this issue
Sep 4, 2017
Local folders override the gem-installed Minima theme for the blog, which is located at /Users/lisawilliams/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/minima-2.1.1/ and referenced via the _config.yml. Inside the _category/ folder is the art.md file, which should list posts in the /art category using the category.html page in the _layouts/ folder. However, category.html includes the line `{% include post_preview.html %}` and there is no file called post_preview.html in the _includes/ folder in the gem-installed theme. This leads to the following error: ``` Liquid Exception: Could not locate the included file 'post_preview.html' in any of ["/Users/lisawilliams/wdi/projects/lisa/_includes", "/Users/lisawilliams/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/minima-2.1.1/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. in /_layouts/category.html ``` I need to learn more about the Liquid tagging/templating system so I can build a page_preview.html template. Responds to Issue #24.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for example, /art with all art posts, /tech with all tech posts etc.
The text was updated successfully, but these errors were encountered: