links-homepage

This is the build config that sets up the build.

buildconfigs/homepage.yaml
name: homepage

outputdir: homepage

template: links-homepage

datafiles:
  links: data/sites.yml

Then this is the data file that contains all the links.

buildconfigs/data/sites.yaml
title: My Favorite Sites

categories:
  - title: tech sites
    links:
    - url: github.com
      title: GitHub

    - url: slashdot.com
      title: Slashdot

    - url: stackoverflow.com
      title: Stack Overflow

  - title: Funny sites
    links:
      - url: xkcd.com
        title: XKCD

      - url: theonion.com
        title: The Onion