From e641963ca6633d7bc72cacf02021d648a7883287 Mon Sep 17 00:00:00 2001 From: "Daniel F. Dickinson" Date: Thu, 8 Sep 2022 11:10:09 -0400 Subject: [PATCH] Add LICENSE as example of new shortcode usage Signed-off-by: Daniel F. Dickinson --- exampleSite/config.toml | 4 ++++ exampleSite/content/en/post/LICENSE.md | 15 +++++++++++++++ tests/config/words-project.txt | 1 + 3 files changed, 20 insertions(+) create mode 100644 exampleSite/content/en/post/LICENSE.md diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9ae241b..7cc3eaa 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -154,6 +154,10 @@ target = "assets" source = "README.md" target = "assets/README-minimal-test-theme.md" +[[module.imports.mounts]] +source = "LICENSE" +target = "assets/LICENSE" + [[module.imports.mounts]] source = "i18n" target = "i18n" diff --git a/exampleSite/content/en/post/LICENSE.md b/exampleSite/content/en/post/LICENSE.md new file mode 100644 index 0000000..c4bba00 --- /dev/null +++ b/exampleSite/content/en/post/LICENSE.md @@ -0,0 +1,15 @@ +--- +title: "LICENSE for DFD Hugo minimal test theme" +date: 2022-09-08T015:04:56Z +publishDate: 2022-09-08T015:04:56Z +author: Daniel F. Dickinson +tags: +- docs +- license +description: "License terms for DFD's Hugo minimal test theme" +pageCanonical: true +--- + +``` text +{{< verbatim-assets "LICENSE" >}} +``` diff --git a/tests/config/words-project.txt b/tests/config/words-project.txt index 6b5fe6c..b514a97 100644 --- a/tests/config/words-project.txt +++ b/tests/config/words-project.txt @@ -1,4 +1,5 @@ Uncategorized deploytest dontbreakthebackbutton +github licenselink