diff options
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 35 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/feature_request.md | 17 | ||||
-rw-r--r-- | CHANGELOG.md | 20 | ||||
-rw-r--r-- | CONTRIBUTING.md | 17 | ||||
-rw-r--r-- | PULL_REQUEST_TEMPLATE.md | 13 | ||||
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | config.toml.example | 1 | ||||
-rw-r--r-- | layouts/404.html | 2 | ||||
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 18 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | layouts/partials/social.html | 28 | ||||
-rw-r--r-- | static/css/fonts.css | 64 | ||||
-rw-r--r-- | theme.toml | 2 |
16 files changed, 102 insertions, 139 deletions
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..edfbe4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ 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) + +### 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) + ## [1.2.0] ### Added - You can now import custom CSS from `<YOUR_HUGO_SITE>/static/css/custom.css` per [#48](https://github.com/AngeloStavrow/indigo/issues/48) @@ -59,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.1.0...HEAD --> +<!-- [Unreleased]: https://github.com/AngeloStavrow/indigo/compare/v1.3.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 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. @@ -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 @@ -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: + +```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 `<YOUR_HUGO_SITE>/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 ``` @@ -58,7 +64,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 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/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" . }} <body> <div id="sitelogo"> - <a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}images/site-logo.svg" alt="Site Logo" height="64px" width="64px"></a> + <a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src={{ "images/site-logo.svg" | absURL }} alt="Site Logo" height="64px" width="64px"></a> </div> <header> {{ partial "pagenav.html" . }} 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" . }} <h2>{{ .Title }}</h2> <div id="content"> -{{ 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 @@ <!-- Content goes here --> <div id="content"> -{{ 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" }} 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 @@ <!-- Footer content --> {{ if .Site.Params.ShowBio }} <div class="h-card"> - <img class="u-photo" src="{{ .Site.BaseURL }}{{ .Site.Params.Avatar }}" /> + <img class="u-photo" src="{{ .Site.Params.Avatar | absURL }}" /> <div class="card-content"> <h2 class="card-name"><a class="p-name u-url" href="{{ .Site.BaseURL }}" rel="me">{{ .Site.Params.Author }}</a></h2> <p class="card-subhead"> 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 @@ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}"> <meta name="author" content="{{ .Site.Params.AuthorName }}"> <!-- Favicon details --> - <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> - <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> - <link rel="manifest" href="/site.webmanifest"> - <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00416a"> + <link rel="apple-touch-icon" sizes="180x180" href={{ "apple-touch-icon.png" | absURL }}> + <link rel="icon" type="image/png" sizes="32x32" href={{ "favicon-32x32.png" | absURL }}> + <link rel="icon" type="image/png" sizes="16x16" href={{ "favicon-16x16.png" | absURL }}> + <link rel="manifest" href={{ "site.webmanifest" | absURL }}> + <link rel="mask-icon" href={{ "safari-pinned-tab.svg" | absURL }} color="#00416a"> <meta name="msapplication-TileColor" content="#00aba9"> <meta name="theme-color" content="#ffffff"> <!-- IndieWeb identity --> @@ -20,10 +20,10 @@ <!-- IndieAuth endpoint --> <link rel="authorization_endpoint" href="https://indieauth.com/auth"> <!-- Other stuff to make the site work --> - <link rel="stylesheet" href="/css/fonts.css" /> - <link rel="stylesheet" href="/css/style.css" /> - {{ if (fileExists "/static/css/custom.css") -}} - <link rel="stylesheet" href="/css/custom.css" /> + <link rel="stylesheet" href={{ "css/fonts.css" | absURL }} /> + <link rel="stylesheet" href={{ "css/style.css" | absURL }} /> + {{ if (fileExists "static/css/custom.css") -}} + <link rel="stylesheet" href={{ "css/custom.css" | absURL }} /> {{- end }} <meta name="viewport" content="width=device-width, initial-scale=1"> </head> 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" . }} <body> <div id="sitelogo"> - <a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}images/site-logo.svg" alt="Site Logo" height="64px" width="64px"></a> + <a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src={{ "images/site-logo.svg" | absURL }} alt="Site Logo" height="64px" width="64px"></a> </div> <header> {{ 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 @@ <div id="social-icons"> {{ if isset .Site.Params "emailaddress" }} <div class="icon-24x24"> - <a class="glyph" alt="Email me" href="mailto:{{ .Site.Params.EmailAddress }}"><img src="{{ .Site.BaseURL }}icons/envelope.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Email me" href="mailto:{{ .Site.Params.EmailAddress }}"><img src={{ "icons/envelope.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "facebookuser" }} <div class="icon-24x24"> - <a class="glyph" alt="Facebook profile" href="{{ .Site.Params.FacebookUser }}"><img src="{{ .Site.BaseURL }}icons/facebook.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Facebook profile" href="{{ .Site.Params.FacebookUser }}"><img src={{ "icons/facebook.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "flickruser" }} <div class="icon-24x24"> - <a class="glyph" alt="Flickr profile" href="https://flickr.com/people/{{ .Site.Params.FlickrUser }}"><img src="{{ .Site.BaseURL }}icons/flickr.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Flickr profile" href="https://flickr.com/people/{{ .Site.Params.FlickrUser }}"><img src={{ "icons/flickr.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "githubuser" }} <div class="icon-24x24"> - <a class="glyph" alt="GitHub profile" href="https://github.com/{{ .Site.Params.GitHubUser }}"><img src="{{ .Site.BaseURL }}icons/github.svg" height="24px" width="24px"></a> + <a class="glyph" alt="GitHub profile" href="https://github.com/{{ .Site.Params.GitHubUser }}"><img src={{ "icons/github.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "gitlabuser" }} <div class="icon-24x24"> - <a class="glyph" alt="GitLab profile" href="https://gitlab.com/{{ .Site.Params.GitLabUser }}"><img src="{{ .Site.BaseURL }}icons/gitlab.svg" height="24px" width="24px"></a> + <a class="glyph" alt="GitLab profile" href="https://gitlab.com/{{ .Site.Params.GitLabUser }}"><img src={{ "icons/gitlab.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "glitchuser" }} <div class="icon-24x24"> - <a class="glyph" alt="Glitch profile" href="https://glitch.com/@{{ .Site.Params.GlitchUser }}"><img src="{{ .Site.BaseURL }}icons/glitch.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Glitch profile" href="https://glitch.com/@{{ .Site.Params.GlitchUser }}"><img src={{ "icons/glitch.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "keybaseuser" }} <div class="icon-24x24"> - <a class="glyph" alt="Keybase profile" href="https://keybase.io/{{ .Site.Params.KeybaseUser }}"><img src="{{ .Site.BaseURL }}icons/keybase.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Keybase profile" href="https://keybase.io/{{ .Site.Params.KeybaseUser }}"><img src={{ "icons/keybase.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "linkedinuser" }} <div class="icon-24x24"> - <a class="glyph" alt="LinkedIn profile" href="https://www.linkedin.com/in/{{ .Site.Params.LinkedInUser }}"><img src="{{ .Site.BaseURL }}icons/linkedin.svg" height="24px" width="24px"></a> + <a class="glyph" alt="LinkedIn profile" href="https://www.linkedin.com/in/{{ .Site.Params.LinkedInUser }}"><img src={{ "icons/linkedin.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "mediumuser" }} <div class="icon-24x24"> - <a class="glyph" alt="Medium profile" href="https://medium.com/{{ .Site.Params.MediumUser }}"><img src="{{ .Site.BaseURL }}icons/medium.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Medium profile" href="https://medium.com/{{ .Site.Params.MediumUser }}"><img src={{ "icons/medium.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "microbloguser" }} <div class="icon-24x24"> - <a class="glyph" alt="Micro.Blog profile" href="https://micro.blog/{{ .Site.Params.MicroBlogUser }}"><img src="{{ .Site.BaseURL }}icons/microblog.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Micro.Blog profile" href="https://micro.blog/{{ .Site.Params.MicroBlogUser }}"><img src={{ "icons/microblog.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "reddituser" }} <div class="icon-24x24"> - <a class="glyph" alt="Reddit profile" href="https://www.reddit.com/user/{{ .Site.Params.RedditUser }}"><img src="{{ .Site.BaseURL }}icons/reddit-alien.svg" height="24px" width="24px" /></a> + <a class="glyph" alt="Reddit profile" href="https://www.reddit.com/user/{{ .Site.Params.RedditUser }}"><img src={{ "icons/reddit-alien.svg" | absURL }} height="24px" width="24px" /></a> </div> {{ end }} {{ if isset .Site.Params "stackoverflowuser" }} <div class="icon-24x24"> - <a class="glyph" alt="Stack Overflow profile" href="https://stackoverflow.com/users/{{ .Site.Params.StackOverflowUser }}"><img src="{{ .Site.BaseURL }}icons/stack-overflow.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Stack Overflow profile" href="https://stackoverflow.com/users/{{ .Site.Params.StackOverflowUser }}"><img src={{ "icons/stack-overflow.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "tumblruser" }} <div class="icon-24x24"> - <a class="glyph" alt="Tumblr profile" href="https://{{ .Site.Params.TumblrUser }}.tumblr.com/"><img src="{{ .Site.BaseURL }}icons/tumblr.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Tumblr profile" href="https://{{ .Site.Params.TumblrUser }}.tumblr.com/"><img src={{ "icons/tumblr.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} {{ if isset .Site.Params "twitteruser" }} <div class="icon-24x24"> - <a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ .Site.Params.TwitterUser }}"><img src="{{ .Site.BaseURL }}icons/twitter.svg" height="24px" width="24px"></a> + <a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ .Site.Params.TwitterUser }}"><img src={{ "icons/twitter.svg" | absURL }} height="24px" width="24px"></a> </div> {{ end }} </div> diff --git a/static/css/fonts.css b/static/css/fonts.css index 44776e3..ad1f5c4 100644 --- a/static/css/fonts.css +++ b/static/css/fonts.css @@ -1,10 +1,10 @@ -@font-face{ +@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; } @@ -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" |