diff --git a/.gitignore b/.gitignore index fa33a9af..5890d46b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .bundle/ .jekyll-cache/ .sass-cache/ +src/_data/code.json public/ diff --git a/_config.yml b/_config.yml index 3b7ace1c..1663346e 100644 --- a/_config.yml +++ b/_config.yml @@ -26,6 +26,10 @@ defaults: path: "code.json" values: layout: null + - scope: + path: "projects" + values: + layout: project theme: uswds-jekyll @@ -36,3 +40,11 @@ scripts: styles: - /assets/css/main.css - /assets/css/custom.css + +page_gen: +- index_files: true + data: code.releases + name: name + template: project + dir: projects +page_gen-dirs: true \ No newline at end of file diff --git a/src/_data/navigation.yml b/src/_data/navigation.yml index 95a75cc8..82b459c4 100644 --- a/src/_data/navigation.yml +++ b/src/_data/navigation.yml @@ -3,9 +3,12 @@ secondary: &secondary_navigation href: /why-open-source.html - text: Getting Started href: /getting-started.html + - text: Projects + href: /projects.html - text: How to Open Source href: /how-to-open-source.html - text: FAQs href: /frequently-asked-questions.html + sidebar: *secondary_navigation diff --git a/src/_layouts/project.html b/src/_layouts/project.html new file mode 100644 index 00000000..c4eaed75 --- /dev/null +++ b/src/_layouts/project.html @@ -0,0 +1,44 @@ +--- +layout: default +main: + class: usa-grid usa-section usa-content usa-layout-docs +--- + +
+ {{ page.description }} +
+