Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.
rhyst edited this page Aug 18, 2016 · 3 revisions

The site generator generates a list of all the caves that are mentioned in the cavepeeps metadata of all the articles. It creates a page with a table listing all the trip reports mentioning that cave (cave page), and a page listing all the cave pages (cave index).

It will also include an markdown/html blurb at the top of the cave page if there is a markdown file in the caves/ directory with a filename matching the cave name.

##Metadata

Country: Country the cave is located in.

Region: The broad region, like Yorkshire or Andalucia.

Subregion: The valley, fell, town etc. where the cave is located. Like Leck Fell or Little Neath.

System: Cave system that the cave is part of. I've so far been using this as a "you might be able to do exchanges" type of signal. i.e easegill is seperate from the three counties system despite being connected underwater.

Location: The location of the cave in decimal degrees e.g "52.134534, -2.134532". Just get it off google.

##In page tags

The cave pages currently have 1 tag you can use:

{{ map }}

If you have specified the location metadata then this will insert a Google Maps embed centered on the cave.

##Content

Below the metadata you can write whatever you want in markdown/html and it will appear at the top of the cave page, above the autogenerated trip listings.