Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

this plugin doesn't work [octopress] #23

Closed
eguneys opened this issue Oct 2, 2014 · 5 comments
Closed

this plugin doesn't work [octopress] #23

eguneys opened this issue Oct 2, 2014 · 5 comments
Assignees

Comments

@eguneys
Copy link

eguneys commented Oct 2, 2014

This is my folder structure

.
|-- en
|   `-- _posts
|       |-- a.md
|       |-- b.md
|       |-- c.md
|       `-- d.md
|-- en.yml
|-- tr
|   `-- _posts
|       `-- t.md
`-- tr.yml

this is my index.html

{% assign post = site.posts.first %}
<article class="hentry">
  {% include article.html %}
</article><!-- /.hentry -->

The problem is when I visit http://localhost/tr, I can't see the t.md but the posts in en folder a.md b.md c.md. What is wrong?

You can see my repo at github, note that it's on gh-pages branch.

Please fix it asap.

@kurtsson
Copy link
Owner

kurtsson commented Oct 6, 2014

It's open source @eguneys, fix it yourself and send a pull request. Im not even using this plugin anymore.

@eguneys
Copy link
Author

eguneys commented Oct 6, 2014

I am sorry, can you help me here, is this plugin working or not, I don't know if I am doing something wrong or It's the plugin.

@kurtsson
Copy link
Owner

kurtsson commented Oct 6, 2014

Well this plugin works, but there are issues with later versions of Octopress. I don't have any Octopress site up and running so I'm not able to test it either. However if you have one, you are very much welcome to test and fix, the code is just one file and not very hard to understand either.

@eguneys
Copy link
Author

eguneys commented Oct 7, 2014

@kurtsson I've studied the problem further, and there is something I don't understand. It generates the posts in the tr subfolder fine. But the problem is index.html. Note that I use site.posts variable to iterate over the posts, that is wrong for the tr language. Can you give some hint why that would be the case, and what causes index.html to render, and gives it payload wrong?

Note that it generates the tr language fine in the public folder, Only problem is the index.html. Please help me out, I can't solve this issue myself.

@Anthony-Gaudino
Copy link
Contributor

@eguneys this is a very old issue and I don't believe you are interested in it anymore.

If you are still interested, please try using the newest plugin version, maybe it can solve your problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants