An open API service indexing awesome lists of open source software.

https://github.com/james2doyle/pico_get_by_filename

A Pico CMS plugin to grab content by the filename
https://github.com/james2doyle/pico_get_by_filename

Last synced: about 1 year ago
JSON representation

A Pico CMS plugin to grab content by the filename

Awesome Lists containing this project

README

          

pico_get_by_filename
====================

A Pico CMS plugin to grab content by the filename. You can call pages by their filename instead of looping through each and then using an if.

This allows you to make sections of your site like widgets. Where if you had a sidebar you can just make a `sidebar.md` file and then load in the sidebar section of your theme.

#### Usage

```html



{{ content }}


```

#### Issues

You might have a situation where you don't want the page to show up in your menu. The nice thing is that you know the filename so you can check the conditions so that file doesn't show.

```html


```