Top 10

Christian Külker

2021-05-18

The Top 10 feature is provided by pankyll and supported by the theme Rankle. It provides a link list to the 10 latest pages.

Pankyll Theme Rankle

To use the feature it has to be enabled via the project configuration. Depending on your setup this can be cfg.yaml or rankle.yaml via the feature section:

feature:
    top10: True

The top 10 feature can be used on the left or right side of a page.

Left Side

At the moment the left side top 10 feature is only available for title pages. To set a page as title page use the front matter type: title.

To use the top 10 feature on the left page side (indented for index.md pages for example), you have to enable the feature in the project configuration:

feature:
   top10: True

In addition to this you can use the left side in two ways:

a)

Use the left side only for a very limited number of pages, like index.md pages. To enable top 10 for a page explicitly add the following front matter:

top10: True

b)

To use the left side top 10 feature on all sides add the following to your project configuration:

feature:
    top10: True
default:
    top10_left: True

Right Side

To use the top 10 feature on the right side of the page, you have to enable right side variant in the default project configuration:

feature:
    top10: True
default:
    top10_right: True

This will add a menu entry “Latest” with the list when clicked on it on all pages.