• Resolved csanger

    (@csanger)


    I’m looking for a way to show the title and description for the latest item from a feed and only show the titles for the following items. Could this be done with some simply “if/then” logic in the template using the new {{index}}? Or is there a way to add a start parameter that would allow me to run Hungryfeed twice, once retrieving 1 item and showing the description and again retrieving 4 items (starting at 2) and only showing the title?

    Any suggestions would be great. Thanks for the plugin!

    https://www.ads-software.com/extend/plugins/hungryfeed/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jason

    (@verysimple)

    new in version 1.5.7 the templates use Mustache template engine so you can use logic in the templates like this:

    {{#index_1}}
      ... template for item 1
    {{/index_1}}
    {{^index_1}}
      ... template for all other items
    {{/index_1}}
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: HungryFEED] Is there a way to start the feed at a particular index?’ is closed to new replies.