From 42f0cae60a4e43ee62f06662d2af76648ad655d9 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sat, 21 Sep 2019 09:34:11 -0400 Subject: Remove GitHub issue templates and update process docs --- .github/ISSUE_TEMPLATE/bug_report.md | 35 ------------------------------- .github/ISSUE_TEMPLATE/feature_request.md | 17 --------------- CHANGELOG.md | 9 +++++++- CONTRIBUTING.md | 17 ++++++++------- PULL_REQUEST_TEMPLATE.md | 13 ------------ 5 files changed, 18 insertions(+), 73 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index b735373..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 066b2d9..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f45967..a486583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Changed +- Updated **CONTRIBUTING.md** to reflect new contributions process per [#28](https://github.com/AngeloStavrow/indigo/issues/28) + +### Removed +- GitHub issue and pull request templates removed from the repo per [#28](https://github.com/AngeloStavrow/indigo/issues/28) + ## [1.2.0] ### Added - You can now import custom CSS from `/static/css/custom.css` per [#48](https://github.com/AngeloStavrow/indigo/issues/48) @@ -59,7 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - The first public release of the indigo theme for Hugo, along with related project documentation (including this changelog). - +[Unreleased]: https://github.com/AngeloStavrow/indigo/compare/v1.2.0...HEAD [1.2.0]: https://github.com/AngeloStavrow/indigo/compare/v1.1.0...v1.2.0 [1.1.0]: https://github.com/AngeloStavrow/indigo/compare/v1.0.6...v1.1.0 [1.0.6]: https://github.com/AngeloStavrow/indigo/compare/v1.0.5...v1.0.6 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bb0eded..fc977fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,15 +1,18 @@ # Contributing -When contributing to this repository, please first discuss the change you wish -to make via issue, email, or any other method with the owners of this repository -before making a change. +When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. -Please note we have a code of conduct; please follow it in all your interactions -with the project. You can find it [here](https://github.com/AngeloStavrow/indigo/blob/master/CODE_OF_CONDUCT.md) +Please note we have a code of conduct; please follow it in all your interactions with the project. You can find it [here](https://github.com/AngeloStavrow/indigo/blob/master/CODE_OF_CONDUCT.md) + +## Bug Reports and Feature Requests + +1. [Check GitHub](https://github.com/AngeloStavrow/indigo/issues/) for existing issues similar your report/request. If you find one, add any extra detail you might think is helpful. It's also helpful to just see how many folks are affected by the bug. That's it! +2. If you don't find an existing report for the bug you've come across, add [a new issue](https://github.com/AngeloStavrow/indigo/issues/new) outlining steps to reproduce, the expected outcome, and the actual outcome. Thoughts on how to implement the fix are welcome! +3. Project owners (right now, me) will triage these incoming reports/requests and label them appropriately. Everything will be added to the new [Theme Work kanban board](https://github.com/AngeloStavrow/indigo/projects/1). ## Pull Request Process -1. Please start by [opening an issue](https://github.com/AngeloStavrow/indigo/issues/new) describing what you'd like to change. Remember to search first, to avoid having it closed as a duplicate. +1. If one doesn't already exist, please start by [opening an issue](https://github.com/AngeloStavrow/indigo/issues/new) describing what you'd like to change. Remember to search first, to avoid having it closed as a duplicate. 2. Make the changes discussed. Ensure that the theme builds and continues to function as expected; you can also try building the [theme gallery to test further](https://github.com/gohugoio/hugoThemes/blob/master/README.md). Place high value on page-load speed and responsive design. 3. Update the README with any new site/page parameters as necessary. If you've added new dependencies, make sure to list them too. -4. Open a pull request and include the issue you opened in step 1 as part of the PR. Changes will be tested and, when everything's good to go, will be merged in by the project principals. \ No newline at end of file +4. Open a pull request and include the issue you opened in step 1 as part of the PR. Changes will be tested and, when everything's good to go, will be merged in by the project owners. \ No newline at end of file diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 761b8d4..0000000 --- a/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,13 +0,0 @@ -**Related Issue** -This PR's content was first discussed in issue # - -**Dependency Changes** -If relevant, list any dependencies added, removed, or changed. - -**Testing** -- [ ] Built and tested to work on a standalone Hugo site -- [ ] Built and tested to work in the Hugo Theme Gallery demo site ([link](https://github.com/gohugoio/hugoThemes/blob/master/README.md)) -- [ ] Tested with browser's responsive-design tools - -**Additional context** -Add any other context about the pull request here. -- cgit v1.2.3 From 7006da574223c66fa0f4b7a7623258e8991d0a79 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sat, 21 Sep 2019 09:38:17 -0400 Subject: Clean up README's contribution section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8907618..5c002cf 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ A thorough writeup of the theme has been graciously written by @infominer33. ## Contributing -Please read [CONTRIBUTING.md](https://github.com/AngeloStavrow/indigo/blob/master/CONTRIBUTING.md) for details on the code of conduct, and the process for submitting pull requests. +Please read [CONTRIBUTING.md](https://github.com/AngeloStavrow/indigo/blob/master/CONTRIBUTING.md) for details on the code of conduct, and the process for submitting bug reports, feature requests, and having your changes merged into the project. ## Versioning -- cgit v1.2.3 From ca4e418a986eb20c10f4a8b02fe1b17632ac6c44 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Fri, 27 Sep 2019 09:19:51 -0400 Subject: Remove forward-slash URLs in HTML files (#57) --- layouts/404.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/head.html | 18 +++++++++--------- layouts/partials/header.html | 2 +- layouts/partials/social.html | 28 ++++++++++++++-------------- static/css/fonts.css | 2 +- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 1f0e7bb..248651d 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -3,7 +3,7 @@ {{ partial "head.html" . }}
{{ partial "pagenav.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 864138b..35f8718 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,7 @@ {{ if .Site.Params.ShowBio }}
- +

{{ .Site.Params.Author }}

diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b6aab03..60cfd32 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,11 +5,11 @@ - - - - - + + + + + @@ -20,10 +20,10 @@ - - - {{ if (fileExists "/static/css/custom.css") -}} - + + + {{ if (fileExists "static/css/custom.css") -}} + {{- end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e2a1dc0..a9b7a2e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,7 @@ {{ partial "head.html" . }}

{{ partial "pagenav.html" . }} diff --git a/layouts/partials/social.html b/layouts/partials/social.html index cf9a08a..f43d1f5 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -2,72 +2,72 @@
{{ if isset .Site.Params "emailaddress" }}
- +
{{ end }} {{ if isset .Site.Params "facebookuser" }}
- +
{{ end }} {{ if isset .Site.Params "flickruser" }}
- +
{{ end }} {{ if isset .Site.Params "githubuser" }}
- +
{{ end }} {{ if isset .Site.Params "gitlabuser" }}
- +
{{ end }} {{ if isset .Site.Params "glitchuser" }}
- +
{{ end }} {{ if isset .Site.Params "keybaseuser" }}
- +
{{ end }} {{ if isset .Site.Params "linkedinuser" }}
- +
{{ end }} {{ if isset .Site.Params "mediumuser" }}
- +
{{ end }} {{ if isset .Site.Params "microbloguser" }}
- +
{{ end }} {{ if isset .Site.Params "reddituser" }}
- +
{{ end }} {{ if isset .Site.Params "stackoverflowuser" }}
- +
{{ end }} {{ if isset .Site.Params "tumblruser" }}
- +
{{ end }} {{ if isset .Site.Params "twitteruser" }}
- +
{{ end }}
diff --git a/static/css/fonts.css b/static/css/fonts.css index 44776e3..e9eec92 100644 --- a/static/css/fonts.css +++ b/static/css/fonts.css @@ -1,4 +1,4 @@ -@font-face{ +@font-face { font-family: 'Fira Code'; src: url('/fonts/FiraCode-Regular.eot'); src: url('/fonts/FiraCode-Regular.eot?#iefix') format('embedded-opentype'), -- cgit v1.2.3 From d81a43d98da39b04945debee2aef8fb96895fa8e Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sat, 28 Sep 2019 08:25:35 -0400 Subject: Fix path for partial URLs in CSS files (#57) --- static/css/fonts.css | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/static/css/fonts.css b/static/css/fonts.css index e9eec92..ad1f5c4 100644 --- a/static/css/fonts.css +++ b/static/css/fonts.css @@ -1,10 +1,10 @@ @font-face { font-family: 'Fira Code'; - src: url('/fonts/FiraCode-Regular.eot'); - src: url('/fonts/FiraCode-Regular.eot?#iefix') format('embedded-opentype'), - url('/fonts/FiraCode-Regular.woff2') format('woff2'), - url('/fonts/FiraCode-Regular.woff') format('woff'), - url('/fonts/FiraCode-Regular.ttf') format('truetype'); + src: url('../fonts/FiraCode-Regular.eot'); + src: url('../fonts/FiraCode-Regular.eot?#iefix') format('embedded-opentype'), + url('../fonts/FiraCode-Regular.woff2') format('woff2'), + url('../fonts/FiraCode-Regular.woff') format('woff'), + url('../fonts/FiraCode-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: fallback; @@ -12,39 +12,39 @@ @font-face { font-family: 'Charter'; - src: url('/fonts/charter_regular-webfont.eot'); - src: url('/fonts/charter_regular-webfont.eot?#iefix') format('embedded-opentype'), - url('/fonts/charter_regular-webfont.woff') format('woff'), - url('/fonts/charter_regular-webfont.ttf') format('truetype'); + src: url('../fonts/charter_regular-webfont.eot'); + src: url('../fonts/charter_regular-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/charter_regular-webfont.woff') format('woff'), + url('../fonts/charter_regular-webfont.ttf') format('truetype'); font-display: fallback; } @font-face { font-family: 'Charter'; - src: url('/fonts/charter_bold-webfont.eot'); - src: url('/fonts/charter_bold-webfont.eot?#iefix') format('embedded-opentype'), - url('/fonts/charter_bold-webfont.woff') format('woff'), - url('/fonts/charter_bold-webfont.ttf') format('truetype'); + src: url('../fonts/charter_bold-webfont.eot'); + src: url('../fonts/charter_bold-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/charter_bold-webfont.woff') format('woff'), + url('../fonts/charter_bold-webfont.ttf') format('truetype'); font-weight: bold; font-display: fallback; } @font-face { font-family: 'Charter'; - src: url('/fonts/charter_italic-webfont.eot'); - src: url('/fonts/charter_italic-webfont.eot?#iefix') format('embedded-opentype'), - url('/fonts/charter_italic-webfont.woff') format('woff'), - url('/fonts/charter_italic-webfont.ttf') format('truetype'); + src: url('../fonts/charter_italic-webfont.eot'); + src: url('../fonts/charter_italic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/charter_italic-webfont.woff') format('woff'), + url('../fonts/charter_italic-webfont.ttf') format('truetype'); font-style: italic; font-display: fallback; } @font-face { font-family: 'Charter'; - src: url('/fonts/charter_bold_italic-webfont.eot'); - src: url('/fonts/charter_bold_italic-webfont.eot?#iefix') format('embedded-opentype'), - url('/fonts/charter_bold_italic-webfont.woff') format('woff'), - url('/fonts/charter_bold_italic-webfont.ttf') format('truetype'); + src: url('../fonts/charter_bold_italic-webfont.eot'); + src: url('../fonts/charter_bold_italic-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/charter_bold_italic-webfont.woff') format('woff'), + url('../fonts/charter_bold_italic-webfont.ttf') format('truetype'); font-style: italic; font-weight: bold; font-display: fallback; @@ -52,21 +52,21 @@ @font-face { font-family: 'Fira Sans'; - src: url('/fonts/FiraSans-Book.eot'); - src: url('/fonts/FiraSans-Book.eot?#iefix') format('embedded-opentype'), - url('/fonts/FiraSans-Book.woff2') format('woff2'), - url('/fonts/FiraSans-Book.woff') format('woff'), - url('/fonts/FiraSans-Book.ttf') format('truetype'); + src: url('../fonts/FiraSans-Book.eot'); + src: url('../fonts/FiraSans-Book.eot?#iefix') format('embedded-opentype'), + url('../fonts/FiraSans-Book.woff2') format('woff2'), + url('../fonts/FiraSans-Book.woff') format('woff'), + url('../fonts/FiraSans-Book.ttf') format('truetype'); font-display: fallback; } @font-face { font-family: 'Fira Sans'; - src: url('/fonts/FiraSans-Bold.eot'); - src: url('/fonts/FiraSans-Bold.eot?#iefix') format('embedded-opentype'), - url('/fonts/FiraSans-Bold.woff2') format('woff2'), - url('/fonts/FiraSans-Bold.woff') format('woff'), - url('/fonts/FiraSans-Bold.ttf') format('truetype'); + src: url('../fonts/FiraSans-Bold.eot'); + src: url('../fonts/FiraSans-Bold.eot?#iefix') format('embedded-opentype'), + url('../fonts/FiraSans-Bold.woff2') format('woff2'), + url('../fonts/FiraSans-Bold.woff') format('woff'), + url('../fonts/FiraSans-Bold.ttf') format('truetype'); font-weight: bold; font-display: fallback; } -- cgit v1.2.3 From 6b3f07ce9591e8304f1669e5fa87703d16bbdabc Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 30 Sep 2019 07:56:51 -0400 Subject: Update minimum Hugo version --- CHANGELOG.md | 6 ++++++ README.md | 2 +- theme.toml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a486583..4f3b0cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed - Updated **CONTRIBUTING.md** to reflect new contributions process per [#28](https://github.com/AngeloStavrow/indigo/issues/28) +- Bumped the minimum Hugo version requirement to 0.58 to account for [#52](https://github.com/AngeloStavrow/indigo/issues/52) + +### Fixed +- As part of an audit of the theme's code per [#57](https://github.com/AngeloStavrow/indigo/issues/57) + - Removed forward slashes (`/`) in URLs for better compatibility with sites that don't live at a domain root + - Fixed the location from which the theme's fonts are loaded ### Removed - GitHub issue and pull request templates removed from the repo per [#28](https://github.com/AngeloStavrow/indigo/issues/28) diff --git a/README.md b/README.md index 5c002cf..9ebc568 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ These instructions will get you a copy of the project up and running on your loc ### Prerequisites -This theme is built and tested against the latest version of Hugo and currently requires a minimum version of 0.50. You can check what version you're running with +This theme is built and tested against the latest version of Hugo and currently requires a minimum version of 0.58. You can check what version you're running with ``` $ hugo version diff --git a/theme.toml b/theme.toml index d8d63d1..7256c8d 100644 --- a/theme.toml +++ b/theme.toml @@ -8,7 +8,7 @@ description = "An IndieWeb-enabled, lightweight blogging theme for Hugo." homepage = "https://github.com/AngeloStavrow/indigo" tags = ["blog", "responsive", "minimal"] features = ["indieweb", "blog"] -min_version = "0.48" +min_version = "0.58" [author] name = "Angelo Stavrow" -- cgit v1.2.3 From 1848457904ec73625421874db40c2f7a19559d59 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 30 Sep 2019 08:25:19 -0400 Subject: Use mainSections configuration parameter in list templates (#56) --- config.toml.example | 1 + layouts/_default/list.html | 2 +- layouts/index.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.toml.example b/config.toml.example index 5e9e402..7d4cac3 100644 --- a/config.toml.example +++ b/config.toml.example @@ -12,6 +12,7 @@ theme = "indigo" Biography = "A short description, a few sentences describing the author. Set the 'ShowBio' parameter to false to hide this." ShowBio = true PermalinkText = "🔗" + mainSections = ["post"] # Contact/social-network identifiers for social icons EmailAddress = "email.address@example.com" diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4af97c7..c975ac5 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ partial "header.html" . }}

{{ .Title }}

-{{ range $index, $page := (.Paginate (where .Site.RegularPages "Type" "post")).Pages }} +{{ range $index, $page := (.Paginate (where .Site.RegularPages "Type" "in" site.Params.mainSections)).Pages }} {{ if ne $index 0 }} {{ end }} {{ .Render "li" }} diff --git a/layouts/index.html b/layouts/index.html index 4e973ac..3b02c07 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@
-{{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "post") ".Params.hidden" "!=" "true" )).Pages }} +{{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.hidden" "!=" "true" )).Pages }} {{ if ne $index 0 }} {{ end }} {{ .Render "li" }} -- cgit v1.2.3 From 6a7f1c34fcbe1ac7f35b621eeaf081188c11c968 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 30 Sep 2019 08:30:05 -0400 Subject: Update README to explain mainSections configuration parameter (#56) --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ebc568..8f1225e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,13 @@ https://github.com/AngeloStavrow/indigo.git There's a sample config.toml file in the root of the indigo theme directory (`config.toml.example`); copy it to the root of your Hugo site, and rename it to `config.toml` _after_ you've made a backup of your current config.toml file (if any). -Set up the parameters in the config file, especially those in the social and `params.indieWeb` section. Social identifiers that you leave out will not be added to the footer of the site. +Set up the parameters in the config file, especially those in the social and `params.indieWeb` section. Social identifiers that you leave out will not be added to the footer of the site. If you prefer to use a content type other than `post`, be sure to change the `mainSections` parameter in the config file as well. For example, if you want content of type `posts` and `updates` to show up in lists, change the `mainSections` parameter to: + +```toml +[params] + ... + mainSections = ["posts", "updates"] +``` You can configure the theme to show info about the author; by default, this information is shown; if you'd prefer to leave it out, set `ShowBio` to `false`. @@ -40,13 +46,13 @@ Indigo will look for custom CSS in `/static/css/custom.css`. Thi You can add a line to your `config.toml` file to set this theme as the default: -``` +```toml theme = "indigo" ``` Or, if you use `config.yaml`: -``` +```yaml theme: indigo ``` -- cgit v1.2.3 From 7344b8cb26a143a39127262ff60fbfde96e56186 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 30 Sep 2019 08:30:33 -0400 Subject: Update README to explain mainSections configuration parameter, part 2 (#56) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f1225e..0b06369 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ https://github.com/AngeloStavrow/indigo.git There's a sample config.toml file in the root of the indigo theme directory (`config.toml.example`); copy it to the root of your Hugo site, and rename it to `config.toml` _after_ you've made a backup of your current config.toml file (if any). -Set up the parameters in the config file, especially those in the social and `params.indieWeb` section. Social identifiers that you leave out will not be added to the footer of the site. If you prefer to use a content type other than `post`, be sure to change the `mainSections` parameter in the config file as well. For example, if you want content of type `posts` and `updates` to show up in lists, change the `mainSections` parameter to: +Set up the parameters in the config file, especially those in the social and `params.indieWeb` section. Social identifiers that you leave out will not be added to the footer of the site. If you prefer to use a content type other than `post`, be sure to change the `mainSections` parameter in the config file as well. For example, if you want content of type `posts` and `updates` to show up in lists: ```toml [params] -- cgit v1.2.3 From e951567f61a0974bdbc23e5b427a150ebf65ba5e Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 30 Sep 2019 08:49:03 -0400 Subject: Update change log for v1.3.0 release --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f3b0cd..edfbe4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] + +## [1.3.0] +### Added +- Adds a `mainSection` configuration parameter to set preferred content name per [#56](https://github.com/AngeloStavrow/indigo/issues/56) + ### Changed - Updated **CONTRIBUTING.md** to reflect new contributions process per [#28](https://github.com/AngeloStavrow/indigo/issues/28) - Bumped the minimum Hugo version requirement to 0.58 to account for [#52](https://github.com/AngeloStavrow/indigo/issues/52) @@ -72,7 +76,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - The first public release of the indigo theme for Hugo, along with related project documentation (including this changelog). -[Unreleased]: https://github.com/AngeloStavrow/indigo/compare/v1.2.0...HEAD + +[1.3.0]: https://github.com/AngeloStavrow/indigo/compare/v1.2.0...v1.3.0 [1.2.0]: https://github.com/AngeloStavrow/indigo/compare/v1.1.0...v1.2.0 [1.1.0]: https://github.com/AngeloStavrow/indigo/compare/v1.0.6...v1.1.0 [1.0.6]: https://github.com/AngeloStavrow/indigo/compare/v1.0.5...v1.0.6 -- cgit v1.2.3