How to number all publications on the same page (academic-cv theme)?

Hello everyone,

I’m new here and have already searched previous posts and documentation related to the topic I’m interested in. I would like to find a simple way to number all the publications (from the oldest to the most recent) in the academic-cv theme, and display them all on the same page.

Currently, they are not numbered, and are split across multiple pages.

This is the website I’m working on: Publications | Matias Köhler | Botanizing everywhere

Should I work on the _index.md file located in content/publication/?

Any help or pointers would be very much appreciated — and sorry if this is a naive question!
Best, Matias.

If the number may change when you add or remove a publication: use CSS counters. The alternative would be to copy the relevant template of your theme to the corresponding directory under /layouts and modified it accordingly.

A very raw CSS could look like this:

.flex.flex-col.space-y-3 {
  counter-reset: count 0;
  } 
  div.pub-list-item:before {
    content: counter(count) "\0020";
  }
  div.pub-list-item {
      counter-increment: count 1;
  }
}

resulting in

But please take not that this has nothing to do with Hugo.

You are more likely to receive an accurate and timely response from the Academic/Wowchemy/Hugo Blox team:
https://github.com/HugoBlox/hugo-blox-builder/discussions

They also have an active Discord channel:
https://discord.com/invite/z8wNYzb

cc: @alcarazr