Skip to content

Instantly share code, notes, and snippets.

@jwlms
Created November 10, 2015 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwlms/c1eb2bc7d085b6912f5f to your computer and use it in GitHub Desktop.
Save jwlms/c1eb2bc7d085b6912f5f to your computer and use it in GitHub Desktop.
harp post link generation
each report, slug in public.reports._data
a(href="/reports/#{ slug }")
h2= report.title
@jwlms
Copy link
Author

jwlms commented Nov 10, 2015

Running harp compile results in:

  • reports
    • report-1.html
    • report 2.html

Yet I expect something like this:

  • reports
    • report-1
      • index.html
    • report-2
      • index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment