Closed aritzportuondo closed 10 years ago
Hey man, could you explain this a little more please?
Yes. I installed your skin and now I can see the titles of all of my posts in the main screen. Now, to read the post I have to click on each title but what I want is to be able to see a preview of my posts without clicking on each title.
Okay. Your going to have to modify the source a little for this. Go to source / _includes / article.html
.
On line 21 paste in this code
<div class="entry-content">{{ content | excerpt }}</div>
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
{% if excerpted == 'true' %}
<footer>
<a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
</footer>
{% endif %}
That should do it! Oh and make sure you put <!-- more -->
in the actual post for it to display the excerpt.
Works well! Thank you!
Sorry, but there is a mistake.
Now the code say this:
{% else %}
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
{% if excerpted == 'true' %}
<footer>
<a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
</footer>
{% endif %}
{% endif %}
And the result is this:
No problem.
Can you please post your full article.html
Sorry Connor. The mistake was mine. Thanks for your help!
Glad we got it sorted. Enjoy the theme. If you are using it for your own blog please could you post the link in the wiki.
Could you please tell me how can I do to "activate" the visualization of each post preview? Now only titles appears. Thanks and good work!