Git Product home page Git Product logo

Comments (4)

molivier avatar molivier commented on August 29, 2024

The current version doesn't have this feature but you can modify the index.html template to do that. Do you want a list of articles formated as blocks or just expand their content on click?

from nest.

pjz avatar pjz commented on August 29, 2024

I was thinking a list of

* Article 1 title
  Summary of article 1
* Article 2 title
  Summary of article 2

from nest.

molivier avatar molivier commented on August 29, 2024

As a quick fix you can modify the templates to add the article summary:

 <dl class="dl-horizontal">
                {% for article in articles_page.object_list %}
                <dt>{{ article.locale_date}}</dt>
                <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
                <dd>{{ article.summary }}</dd><br/>
                {% endfor %}
</dl>

from nest.

cyrilb38 avatar cyrilb38 commented on August 29, 2024

Hi,

First, thanks a lot for this awesome theme. This is exactly what I was looking for.
As pjz pointed out, I would love to see the summary of articles. I try to set up your suggested fix in the index.html file but this doesn't seem to work. Any idea why ?
I have to confess that I'm quite new to Pelican...

from nest.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.