diff --git a/.circleci/deploy.sh b/.circleci/deploy.sh index 0ed5e4c..001384d 100755 --- a/.circleci/deploy.sh +++ b/.circleci/deploy.sh @@ -21,7 +21,7 @@ rsync --archive --recursive --verbose --remove-source-files "$HOME"/hugo/"$CIRCL cd "$DEPLOY_DIR" git config --global push.default simple git config --global user.email "$(git --no-pager show --no-patch --format='%ae' HEAD)" -if [[ -n $CIRCLE_USERNAME ]]; then +if [[ -z $CIRCLE_USERNAME ]]; then git config --global user.name "$CIRCLE_USERNAME" else git config --global user.name "Committer not registered on CircleCI" diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..146b5ad --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,160 @@ +Contributing to UNICEF Inventory theme +====================================== + + + +Thanks for your interest in contributing to the UNICEF Inventory theme! +The UNICEF Inventory theme is a [Hugo](https://gohugo.io) theme to create a lightweight knowledgebase site. +This page is a guide for making successful contributions to the project. + +**Table of contents**: + +1. [Contribution process](#process) +1. [Conventions & courtesies](#conventions) + 1. [Start working on an issue](#conventions--issue-start) + 1. [Inactive issues](#conventions--issue-inactive) + 1. [Submit a pull request](#conventions--submit-pr) + 1. [Maintainer response time](#conventions--maintainer-response) +1. [Structure & components](#components) + 1. [Theme](#components-theme) + 1. [Example site](#components-example) +1. [How to create a development environment](#dev-env) + 1. [Requirements](#dev-env--requirements) + 1. [Set up the environment](#dev-env--setup) + 1. [Run the Hugo server](#dev-env--run-hugo) + + +## Contribution process + +The UNICEF Inventory theme is managed as a tool of the [UNICEF Venture Fund](https://www.unicefinnovationfund.org/) within the [UNICEF Office of Innovation](https://www.unicef.org/innovation/). +New contributions to the UNICEF Inventory theme are reviewed and managed by the UNICEF Ventures folks responsible for working with our team's open source technology. +Decisions about the project are generally headed up by a specific tech lead assigned to the project. +**As of 2022, this is currently [Justin W. Flory](https://github.com/jwflory).** + +Since the team is small and our efforts are still early, this project's governance is fluid and may change over time to help us grow and scale, as needed. + + +## Conventions & courtesies + +This section describes conventions and common courtesies when working on the project. +Following these steps improves the probability of your change or contribution being accepted. + +### Start working on an issue + +Want to work on a new issue? +Follow these steps: + +1. Check if issue is already assigned +1. Leave a comment in the issue to work on it +1. Start a new git feature branch + +If someone else is already assigned, it means the task is **already in progress**. +An assigned issue is not available to start new work. +If an issue has no updates for longer than seven days, you may follow up and ask if the assignee is still working on the issue. + +Then, **leave a comment** in the issue you want to work on. +A maintainer will reply asking for more information or they will assign the issue to you. +When you are assigned an issue, this means you are approved to work on it. + +Finally, once approved to work on an issue, **create a new [git feature branch](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)** for the issue you are working on. +This will help you [make a pull request](#conventions--submit-pr) and make revisions easier. + +### Inactive issues + +Sometimes, an assignee of an issue may no longer have time to work on an issue. +**After five days of no updates, an issue can be reassigned by a project maintainer.** +This _DOES NOT_ mean all issues must be solved in five days. +It _DOES_ mean if an assignee does not respond to new comments in an issue after five days of their last comment, it can be re-assigned by a maintainer. +This helps to keep issues open and available for those who have time to work on them. + +If you are working on an issue and more than five days have passed since your last comment, please give an update when possible. + +### Submit a pull request + +These guidelines help maintainers review new pull requests. +Stick to the guidelines for faster pull request reviews. + +1. Prefer gradual small changes than sudden big changes. +1. Write meaningful commit messages. + Commit messages should be clear and brief. + Tag an issue in your commit message if you are assigned an issue, e.g. `Fixes #123.` +1. Write a helpful title for your pull request (if someone reads only one sentence, will they understand your change?) +1. Address the following questions in your pull request: + 1. What is a summary of your change? + 1. Why is this change helpful? + 1. Any specific details to consider? + 1. What do you think is the outcome of this change? +1. Include screenshots of before/after if your change is a front-end change. + +### Maintainer response time + +Project maintainers / mentors are committed to **no more than three days for a reply** during Outreachy rounds. +If more than three days have passed and you have not received a reply, follow up in [our Matrix room](https://matrix.to/#/#unicef-innovation:matrix.org). +Someone may have missed your comment. + +_Remember_, using issue templates and answering the above questions in pull requests reduces response time from a maintainer to your issue / Pull Request. + + +## Structure & components + +The UNICEF Inventory theme includes two components: the theme and an example site (used as a proof-of-concept to demonstrate capabilities of the theme). + +### Theme + +The website theme that provides the interface and UX of the public website is the [UNICEF Inventory theme](https://github.com/unicef/inventory-hugo-theme). +It is a theme made for the [Hugo static site generator](https://gohugo.io/). +For changes to the site look-and-feel, user interface, and user experience, you can open bug reports, feature requests, and ideas in the [issue tracker](https://github.com/unicef/inventory-hugo-theme/issues) of the UNICEF Inventory theme. + +The content you find published in the [public website](https://sustainers.github.io/design) is hosted here. +You can find all the content in the [`content/` directory](/content/) of this repository. +For changes to content, categories, and the text published on the website, this repository is the place to have discussions, submit changes, and collaborate with the Design & UX Working Group. + +### Example site + +There is also an example site included in the theme. +It demonstrates basic features and look-and-feel of the theme. +You can find the example site in the [`exampleSite/` directory](/exampleSite/) of this repository. +This example site also acts as the documentation for the Hugo theme as well. + + +## How to create a development environment + +So, you want to work on the UNICEF Inventory theme? +Great! +This section describes how to set up a development environment using Hugo. +A development environment is needed to test changes and build the site locally. +While it is helpful for reviewing changes, it is not required so long as the continuous integration pipeline is passing on a Pull Request. + +### Requirements + +To create a developer environment, you must install the following: + +* [Hugo](https://gohugo.io/getting-started/installing/) +* [git](https://github.com/git-guides/install-git) or a git client + +### Set up the environment + +First, create a fork of the repository to your GitHub account. +Clone the git repository for **your fork** of the UNICEF Inventory theme: + +```sh +git clone git@github.com:your-username-here/inventory-hugo-theme.git +``` + +### Run the Hugo server + +Finally, you will use Hugo to run a local HTTP web server and generate a preview of the site from your own machine. +You must start the Hugo server from the directory containing the example site. +Simply change directories to the example site, and run the Hugo server: + +```sh +cd /path/to/repo/ +cd exampleSite/ +hugo serve +``` + +The terminal will print a message with a URL to the local preview, such as [localhost:1313/inventory-hugo-theme/](http://localhost:1313/inventory-hugo-theme/). +Direct your browser to the local preview, and it should appear just as it does on the public website. diff --git a/README.md b/README.md index a10d8c3..2a21758 100644 --- a/README.md +++ b/README.md @@ -43,14 +43,12 @@ git submodule update --remote --rebase ## Configuration -See [`sample_config.yaml`](/sample_config.yaml) for a sample Hugo site using this theme. +See [`exampleSite/config.yaml`](/exampleSite/config.yaml) for an example Hugo site using the UNICEF Inventory theme. -## Contributing +## :busts_in_silhouette: Contributing -If you want to work on this Hugo theme itself, you do not need to use git submodules. -Fork and clone this repository like you would a normal git repository. -Then, open a Pull Request when you have changes to propose. +See [`CONTRIBUTING.md`](/.github/CONTRIBUTING.md) for contribution guidelines, conventions and courtesies, and other advice for working on the UNICEF Inventory theme. ## Features @@ -77,7 +75,7 @@ The upstream Dot theme includes the following features: [Open a new issue to report bugs and request new features.](https://github.com/unicef/inventory-hugo-theme/issues/new/choose) -## Legal +## :memo: Legal Licensed under [MPL-2.0](https://www.mozilla.org/en-US/MPL/ "About the Mozilla Public License"). From [_choosealicense.com_](https://choosealicense.com/licenses/mpl-2.0/): diff --git a/assets/css/style.css b/assets/css/style.css index 56400d6..270f038 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -14,7 +14,6 @@ P { /* Alert Box */ - .col-fixed { width: 75%; /* min-height: 9rem; @@ -38,9 +37,29 @@ P { display: grid !important; } } +/* End of alert box */ +/* ===[ start: DPG Report styling ]=== */ +#report-dpg #report-dpg-header { + background-color: #cccccc; + color: var(--white-color); + font-weight: bold; + text-align: center; +} +#report-dpg .report-dpg-status1 { + background-color: #66cc00; + color: var(--text-color); +} +#report-dpg .report-dpg-status2 { + background-color: #ffcc00; + color: var(--text-color); +} +#report-dpg .report-dpg-status3 { + background-color: #ff0033; + color: var(--white-color); +} +/* ===[ end: DPG Report styling ]=== */ -/* End of alert box */ h1, h2, @@ -119,7 +138,7 @@ h6, } .btn-primary:hover { - background: var(--primary-color); + background: var(--primary-color-light); } .btn-primary:not(:disabled):not(.disabled).active, @@ -699,6 +718,11 @@ textarea.form-control { font-size: 14px; } +/* https://github.com/unicef/inventory-hugo-theme/issues/62 | Fixed line spacing */ +.highlight * { + margin-bottom: 2px; +} + blockquote { font-size: 20px !important; color: var(--text-color-dark); @@ -824,19 +848,19 @@ tbody { padding: 10px; } -.notices p::before { +.notices.note p { + border-top: 30px solid #6ab0de; + background: #e7f2fa; +} + +.notices.note p::before { position: absolute; top: 2px; color: #fff; font-family: "themify"; font-weight: 900; - content: "\e717"; - left: 10px; -} - -.notices.note p { - border-top: 30px solid #6ab0de; - background: #e7f2fa; + content: "\e61d"; + left: 5px; } .notices.note p::after { @@ -852,6 +876,16 @@ tbody { background: #E6F9E6; } +.notices.tip p::before { + position: absolute; + top: 2px; + color: #fff; + font-family: "themify"; + font-weight: 900; + content: "\e63a"; + left: 5px; +} + .notices.tip p::after { content: 'Tip'; position: absolute; @@ -865,6 +899,16 @@ tbody { background: #FFF2DB; } +.notices.info p::before { + position: absolute; + top: 2px; + color: #fff; + font-family: "themify"; + font-weight: 900; + content: "\e717"; + left: 5px; +} + .notices.info p::after { content: 'Info'; position: absolute; @@ -878,6 +922,16 @@ tbody { background: #FAE2E2; } +.notices.warning p::before { + position: absolute; + top: 2px; + color: #fff; + font-family: "themify"; + font-weight: 900; + content: "\e607"; + left: 5px; +} + .notices.warning p::after { content: 'Warning'; position: absolute; @@ -886,6 +940,54 @@ tbody { left: 2rem; } +/*Caution Admonition Shortcode*/ +.notices.caution p { + border-top: 30px solid #802392; + background: #f7cdff; +} + +.notices.caution p::before { + position: absolute; + top: 2px; + color: #fff; + font-family: "themify"; + font-weight: 900; + content: "\e620"; + left: 5px; +} + +.notices.caution p::after { + content: 'Caution'; + position: absolute; + top: 2px; + color: #fff; + left: 2rem; +} + +/*Important Admonition Shortcode*/ +.notices.important p { + border-top: 30px solid #e40046; + background: #f7bacc; +} + +.notices.important p::before { + position: absolute; + top: 2px; + color: #fff; + font-family: "themify"; + font-weight: 900; + content: "\e6c0"; + left: 5px; +} + +.notices.important p::after { + content: 'Important'; + position: absolute; + top: 2px; + color: #fff; + left: 2rem; +} + /* /single page */ @@ -1072,3 +1174,54 @@ pre code::-webkit-scrollbar-thumb { } .cardLink:hover { text-decoration: none; } + + +/* Table of Contents */ + +#toc{ + background-color: #f7f7f7; + border: 1px solid #6D6E71; + box-sizing: border-box; + border-radius: 4px; + padding-inline-start: 2rem; + padding-inline-end: 2rem; +} + +#toctitle{ + font-weight: 600; + font-size: 1.5rem; + color: #1CABE2; + margin: 1.5rem 0rem; +} + +.content > .toc > ul li::before { + display:none; +} + +.content > .toc > .sectlevel1 > li a{ + font-weight: 400; + font-size: 1.2rem; + color: #4C4C4C; + margin: 0.5rem 0rem; +} + +.content > .toc > .sectlevel1 > li ul li a{ + color:#677993; + font-size:1rem; +} + +.sectlevel2{ + padding-top:1rem; +} + +@media only screen and (max-width: 768px){ + .sectlevel2 { + display:none; + } + + .content > .toc > .sectlevel1 > li a:hover, a:focus + .sectlevel2 { + display:block; + padding-top:1rem; + } + +} diff --git a/data/dpg_standards.yaml b/data/dpg_standards.yaml new file mode 100644 index 0000000..c9ebdd6 --- /dev/null +++ b/data/dpg_standards.yaml @@ -0,0 +1,37 @@ +--- +req1: + sequence: "1" + description: Relevance to Sustainable Development Goals +req2: + sequence: "2" + description: Use of Approved Open Licenses +req3: + sequence: "3" + description: Clear Ownership +req4: + sequence: "4" + description: Platform Independence +req5: + sequence: "5" + description: Documentation +req6: + sequence: "6" + description: Mechanism for Extracting Data +req7: + sequence: "7" + description: Adherence to Privacy and Applicable Laws +req8: + sequence: "8" + description: Adherence to Standards & Best Practices +req9: + sequence: "9" + description: Do No Harm by Design +req9a: + sequence: "9a" + description: Data Privacy & Security +req9b: + sequence: "9b" + description: Inappropriate & Illegal Content +req9c: + sequence: "9c" + description: Protection from Harassment diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index ac8f70b..cf75633 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -35,8 +35,8 @@ markup: hl_Lines: "" lineAnchors: "" lineNoStart: 1 - lineNos: false - lineNumbersInTable: true + lineNos: true + lineNumbersInTable: false noClasses: true style: murphy tabWidth: 4 @@ -73,6 +73,7 @@ params: # customize color primary_color: "#02007e" + primary_color_light: "#1b66b1" body_color: "#f9f9f9" text_color: "#636363" text_color_dark: "#242738" @@ -146,9 +147,6 @@ Languages: # --- navigation menu --- menu: main: - - name: Home - weight: 10 - url: . - name: FAQ weight: 20 url: faq diff --git a/exampleSite/content/installation/configuration/_index.en.md b/exampleSite/content/installation/configuration/_index.en.md index a407959..e3cfa42 100644 --- a/exampleSite/content/installation/configuration/_index.en.md +++ b/exampleSite/content/installation/configuration/_index.en.md @@ -25,5 +25,3 @@ Note that some of these parameters are explained in details in other sections of enable = false # You can change banner title and other text from the config file. ``` - -{{< embed-pdf pdfName="sample.pdf">}} \ No newline at end of file diff --git a/exampleSite/content/installation/elements/_index.en.md b/exampleSite/content/installation/elements/_index.en.md index 58539be..445e1e2 100644 --- a/exampleSite/content/installation/elements/_index.en.md +++ b/exampleSite/content/installation/elements/_index.en.md @@ -96,6 +96,14 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime This is a simple warning. {{< /notice >}} +{{< notice important >}} + This is a simple important. +{{}} + +{{< notice caution >}} + This is a simple caution. +{{}} +
#### Tab @@ -162,7 +170,9 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well. ##### Tables -Colons can be used to align columns. +To make a table, create each column's header with three or more hyphens (---), and separate each column with pipes (|). + +{{}} | Tables | Are | Cool | | ------------- |:-------------:| -----:| @@ -170,15 +180,21 @@ Colons can be used to align columns. | col 2 is | centered | $12 | | zebra stripes | are neat | $1 | -There must be at least 3 dashes separating each header cell. -The outer pipes (|) are optional, and you don't need to make the -raw Markdown line up prettily. You can also use inline Markdown. +{{
}} + +You can align text in the columns to the left, right, or center by adding a colon (:) to the left, right, or on both side of the hyphens within the header row. + +{{}} Markdown | Less | Pretty --- | --- | --- *Still* | `renders` | **nicely** 1 | 2 | 3 +{{
}} + +To automatically generate the table by simply assigning values to the cells, use the [Markdown Table Generator Tool](https://www.tablesgenerator.com/markdown_tables). +
##### Image @@ -190,3 +206,11 @@ Markdown | Less | Pretty ##### Youtube video {{< youtube C0DPdy98e4c >}} + +
+ +##### Embed PDF + +Embedded PDFs must be committed as [static files](https://gohugo.io/content-management/static-files/) in `static/pdfs/`: + +{{< embed-pdf pdfName="sample.pdf">}} diff --git a/exampleSite/content/installation/elements/_index.fr.md b/exampleSite/content/installation/elements/_index.fr.md index df93566..9c62c5f 100644 --- a/exampleSite/content/installation/elements/_index.fr.md +++ b/exampleSite/content/installation/elements/_index.fr.md @@ -40,8 +40,8 @@ Strikethrough uses two tildes. ~~Scratch this.~~ Or leave it empty and use the [link text itself]. -URLs and URLs in angle brackets will automatically get turned into links. -http://www.example.com or and sometimes +URLs and URLs in angle brackets will automatically get turned into links. +http://www.example.com or and sometimes example.com (but not on Github, for example). Some text to show that the reference links can follow later. @@ -96,6 +96,15 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime This is a simple warning. {{< /notice >}} +{{< notice important >}} + This is a simple important. +{{}} + +{{< notice caution >}} + This is a simple caution. +{{}} + +
#### Tab @@ -126,14 +135,14 @@ Inline `code` has `back-ticks around` it. var s = "JavaScript syntax highlighting"; alert(s); ``` - + ```python s = "Python syntax highlighting" print s ``` - + ``` -No language indicated, so no syntax highlighting. +No language indicated, so no syntax highlighting. But let's throw in a tag. ``` @@ -162,7 +171,9 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well. ##### Tables -Colons can be used to align columns. +To make a table, create each column's header with three or more hyphens (---), and separate each column with pipes (|). + +{{}} | Tables | Are | Cool | | ------------- |:-------------:| -----:| @@ -170,15 +181,21 @@ Colons can be used to align columns. | col 2 is | centered | $12 | | zebra stripes | are neat | $1 | -There must be at least 3 dashes separating each header cell. -The outer pipes (|) are optional, and you don't need to make the -raw Markdown line up prettily. You can also use inline Markdown. +{{
}} + +You can align text in the columns to the left, right, or center by adding a colon (:) to the left, right, or on both side of the hyphens within the header row. + +{{}} Markdown | Less | Pretty --- | --- | --- *Still* | `renders` | **nicely** 1 | 2 | 3 +{{
}} + +To automatically generate the table by simply assigning values to the cells, use the [Markdown Table Generator Tool](https://www.tablesgenerator.com/markdown_tables). +
##### Image diff --git a/layouts/_default/dpg-report.html b/layouts/_default/dpg-report.html new file mode 100644 index 0000000..0087b82 --- /dev/null +++ b/layouts/_default/dpg-report.html @@ -0,0 +1,3 @@ +{{ define "main" }} +{{ partial "dpg-report.html" . }} +{{ end }} diff --git a/layouts/partials/cohorts.html b/layouts/partials/cohorts.html new file mode 100644 index 0000000..7279f51 --- /dev/null +++ b/layouts/partials/cohorts.html @@ -0,0 +1,205 @@ +{{ "" | safeHTML }} +
+
+
+
+ +
+
+ +
+
+ {{ partial "breadcrumb.html" . }} +
+
+

{{ .Title }}

+ {{ if .Content }} +
+

About

+

{{ .Content }}

+
+ +
+

DPG Indicators

+

The Digital Public Goods Standard is a set of specifications and guidelines designed to maximise consensus about whether a digital solution conforms to the definition set by the UN Secretary-General in the 2020 Roadmap for Digital Cooperation, which states that a DPG, “is open source software, open data, open AI models, open standards and open content that adhere to privacy and other applicable best practices, do no harm and are of high relevance for attainment of the UN’s 2030 Sustainable Development Goals (SDGs)”. Learn more about the DPG here.

+

Below are the DPG indicators {{.Params.Title}} has met:

+
    + {{ range .Params.dpgs }} + {{ $num:= . }} + {{ $base:= "dpg" }} + {{ $dpg:= printf "%s" $num | printf "%s%s" $base | printf "%s" }} + {{ range $dpg_i := $.Site.Params.dpgs }} + {{ range $key, $value := $dpg_i }} + {{ if eq $key $dpg }} +
  • {{ $value }}
  • + {{ end }} + {{ end }} + {{ end }} + {{ end }} +
+
+ +
+

Aligned SDGs

+
+ {{ range .Params.sdgs }} + {{ $num:= . }} + {{ $base:= "images/sdgs/sdg" }} + {{ $ext:= ".png" }} + + {{ $sdg:= printf "%s" $ext | printf "%s%s" $num | printf "%s%s" $base | printf "%s" }} + + SDG {{ . }} + {{ end }} +
+
+ +
+

Learn more

+ {{ if .Params.github }} +
+

Checkout our GitHub repo

+
+ {{end}} + {{ if .Params.gitlab }} +
+

Checkout our GitLab repo

+
+ {{end}} + {{ if .Params.twitter }} +
+

Follow us on twitter

+
+ {{end}} + {{ if .Params.linkedin }} +
+

Connect with us on linkedin

+
+ {{end}} + {{ if .Params.website }} +
+

Visit our website

+
+ {{end}} + {{ if .Params.community }} +
+

Join our community and ask us your questions

+
+ {{end}} + +
+ +
+
+ {{ else }} +
+ {{range .Pages}} +
+
+
+
+ {{ .Params.Title }} Logo +
+ +

{{ .Params.Title }}

+

{{ .Params.Description }}

+ +
+
+ {{ .Params.country }} + {{ dateFormat "Monday, Jan 2, 2006" .Params.date }} +
+
+ + + + + +
+
+
+ {{end}} +
+ {{ end }} + + + + + + + +
+
+
+
+
+
+{{ "" | safeHTML }} \ No newline at end of file diff --git a/layouts/partials/default.html b/layouts/partials/default.html index 9785fc8..4d2d2b7 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -75,38 +75,41 @@

{{ .Title }}

- + {{ end }} + {{ end }} + + + {{ end }} + {{ end }} + {{ end }} + {{ end }} diff --git a/layouts/partials/dpg-report.html b/layouts/partials/dpg-report.html new file mode 100644 index 0000000..4b3fc4d --- /dev/null +++ b/layouts/partials/dpg-report.html @@ -0,0 +1,200 @@ +{{ "" | safeHTML }} + + +{{ "" | safeHTML }} +
+
+
+ +
+ +
+ +
+ {{ "" | safeHTML }} +
+ {{ partial "breadcrumb.html" . }} +
+ {{ "" | safeHTML }} + +
+

{{ .Title }}

+
+ {{ partial "header-link.html" .Content }} + + +
+
+
Req. #
+
Indicator
+
Status
+
Evidence
+
+ + +
+
{{ .Site.Data.dpg_standards.req1.sequence }}
+
{{ .Site.Data.dpg_standards.req1.description }}
+
+
{{ .Param "dpg_report.req1.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req2.sequence }}
+
{{ .Site.Data.dpg_standards.req2.description }}
+
+
{{ .Param "dpg_report.req2.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req3.sequence }}
+
{{ .Site.Data.dpg_standards.req3.description }}
+
+
{{ .Param "dpg_report.req3.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req4.sequence }}
+
{{ .Site.Data.dpg_standards.req4.description }}
+
+
{{ .Param "dpg_report.req4.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req5.sequence }}
+
{{ .Site.Data.dpg_standards.req5.description }}
+
+
{{ .Param "dpg_report.req5.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req6.sequence }}
+
{{ .Site.Data.dpg_standards.req6.description }}
+
+
{{ .Param "dpg_report.req6.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req7.sequence }}
+
{{ .Site.Data.dpg_standards.req7.description }}
+
+
{{ .Param "dpg_report.req7.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req8.sequence }}
+
{{ .Site.Data.dpg_standards.req8.description }}
+
+
{{ .Param "dpg_report.req8.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req9.sequence }}
+
{{ .Site.Data.dpg_standards.req9.description }}
+
+
{{ .Param "dpg_report.req9.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req9a.sequence }}
+
{{ .Site.Data.dpg_standards.req9a.description }}
+
+
{{ .Param "dpg_report.req9a.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req9b.sequence }}
+
{{ .Site.Data.dpg_standards.req9b.description }}
+
+
{{ .Param "dpg_report.req9b.evidence" | markdownify }}
+
+
+
{{ .Site.Data.dpg_standards.req9c.sequence }}
+
{{ .Site.Data.dpg_standards.req9c.description }}
+
+
{{ .Param "dpg_report.req9c.evidence" | markdownify }}
+
+
+
+ + + +
+
+
+
+
+{{ "" | safeHTML }} + + +{{ define "section-tree-nav" }} +{{ $showvisitedlinks := .showvisitedlinks }} +{{ $currentNode := .currentnode }} +{{with .sect}} +{{safeHTML .Params.head}} +{{ $fileUniqueID := "" }} +{{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }} +{{ $currentNodeFileUniqueID := "" }} +{{ with $currentNode.File }}{{ $currentNodeFileUniqueID = .UniqueID }}{{ end }} +
  • + + {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}} + + {{ $numberOfPages := (add (len .Pages) (len .Sections)) }} + {{ if ne $numberOfPages 0 }} +
      + {{ range .Pages.ByWeight }} + {{ if and .Params.hidden (not $.showhidden) }} + {{else}} + {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode }} + {{end}} + {{end}} +
    + {{ end }} +
  • +{{ end }} +{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a2f302f..2466bfa 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -32,6 +32,7 @@