commit | c6c0ea0888b2638df671c5d66d872e88f80ddd73 | [log] [tgz] |
---|---|---|
author | Andy Perlitch <andyperlitch@gmail.com> | Sun Sep 06 10:08:14 2015 -0700 |
committer | Andy Perlitch <andyperlitch@gmail.com> | Sun Sep 06 10:08:14 2015 -0700 |
tree | b9892b569bfe3cf602b5949dce7a3cff41e1e0dd | |
parent | 0a2dded4c22acf7e87b330b216fa72409e3043ff [diff] |
add copy:js gulp task
This is the source code for the Apache Apex Incubator website, hosted at apex.incubator.apache.org.
The master branch of this repo contains the files that are used to generate the HTML that ultimately gets pushed to the incubator site. The asf-site
branch is where the actual generated files are stored. Through a gitpubsub mechanism, files are taken from the asf-branch
and pushed to the live server.
All pages on the site share the same header and footer. These are stored in the src/partials
folder.
Pages are stored in the src/pages
folder. Each page should look something like this:
{{> header}} <h1>Hello World</h1> <p>I am a page.</p> {{> footer}}
If you have a block of content that you would like to render as markdown, you can do so by creating a .md
file in the src/md/
folder. These will be picked up, rendered has html, and passed into your page templates as partials. Assuming you have a file called src/md/example_markdown.md
, you could have this in a page template:
{{> header}} <h1>Page with Injected Markdown</h1> {{> example_markdown}} {{> footer}}