Skip to content

Commit

Permalink
Update for 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Sep 17, 2020
1 parent 5ffb920 commit 3ae9cf0
Show file tree
Hide file tree
Showing 11 changed files with 594 additions and 441 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.2.6] - 2020-09-17

### Changed

- `netlify.toml`
- `{{ .Site.BaseURL }}` => `{{ "/" | absURL }}`
- `absLangURL` => `absURL`
- `travis-ci.org` => `travis-ci.com`

## [1.2.5] - 2020-07-10

### Changed
Expand Down Expand Up @@ -155,7 +164,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- lazysizes 5.2.0-beta1
- [Atlas](https://github.com/indigotree/atlas), Copyright (c) 2017 Indigo Tree, [MIT License](https://github.com/indigotree/atlas/blob/master/LICENSE)

[Unreleased]: https://github.com/h-enk/hyas/compare/v1.2.5...HEAD
[Unreleased]: https://github.com/h-enk/hyas/compare/v1.2.6...HEAD
[1.2.6]: https://github.com/h-enk/hyas/releases/tag/v1.2.6
[1.2.5]: https://github.com/h-enk/hyas/releases/tag/v1.2.5
[1.2.4]: https://github.com/h-enk/hyas/releases/tag/v1.2.4
[1.2.3]: https://github.com/h-enk/hyas/releases/tag/v1.2.3
Expand Down
2 changes: 0 additions & 2 deletions config/production/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
baseurl = ""
canonifyURLs = true
2 changes: 0 additions & 2 deletions config/staging/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
baseurl = "/"
canonifyURLs = false
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="col-lg-7 pb-5 text-center">
<h1>{{ .Title }}</h1>
<p class="lead">{{ .Params.Lead | safeHTML }}</p>
<a class="btn btn-primary px-3" href="{{ .Site.BaseURL }}quick-start/" role="button">Quick Start</a>
<a class="btn btn-primary px-3" href="{{ "quick-start/" | absURL }}" role="button">Quick Start</a>
<a class="btn btn-outline-primary px-3" href="https://gethyas.com/" role="button">View Docs</a>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions layouts/partials/head/favicons.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<meta name="theme-color" content="{{ $.Site.Params.themeColor }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | absLangURL }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | absLangURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | absLangURL }}">
<link rel="manifest" href="{{ "site.webmanifest" | absLangURL }}">
<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 }}">
12 changes: 6 additions & 6 deletions layouts/partials/head/structured-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "{{ .Site.BaseURL }}",
"url": "{{ "/" | absURL }}",
"name": "{{ .Site.Params.title }}",
"logo": "{{ .Site.BaseURL }}{{ .Site.Params.schemaLogo }}",
"logo": "{{ "/" | absURL }}{{ .Site.Params.schemaLogo }}",
"sameAs": [
"{{ .Site.Params.schemaTwitter | safeURL }}",
"{{ .Site.Params.schemaLinkedIn | safeURL }}",
Expand All @@ -20,7 +20,7 @@
{
"@context": "https://schema.org",
"@type": "Person",
"url": "{{ .Site.BaseURL }}",
"url": "{{ "/" | absURL }}",
"name": "{{ .Site.Params.title }}",
"sameAs": [
"{{ .Site.Params.schemaTwitter | safeURL }}",
Expand All @@ -35,10 +35,10 @@
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "{{ .Site.BaseURL }}",
"url": "{{ "/" | absURL }}",
"potentialAction": {
"@type": "SearchAction",
"target": "{{ .Site.BaseURL }}?q={search_term_string}",
"target": "{{ "/" | absURL }}?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
Expand Down Expand Up @@ -69,7 +69,7 @@
{{ if eq .Site.Params.schemaType "Organization" -}}
"logo": {
"@type": "ImageObject",
"url": "{{ .Site.BaseURL }}{{ .Site.Params.schemaLogo }}"
"url": "{{ "/" | absURL }}{{ .Site.Params.schemaLogo }}"
}
{{ end -}}
},
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header class="navbar navbar-expand-sm navbar-light">
<div class="container">
{{ if not .IsHome -}}
<a class="navbar-brand" href="{{ .Site.BaseURL }}">← {{ .Site.Params.Title }}</a>
<a class="navbar-brand" href="{{ "/" | absURL }}">← {{ .Site.Params.Title }}</a>
{{ end -}}
<div class="ml-auto">
{{ range .Site.Menus.main }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Allow: /
{{ else -}}
Disallow: /
{{ end }}
Sitemap: {{ "sitemap.xml" | absLangURL -}}
Sitemap: {{ "sitemap.xml" | absURL -}}
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
YARN_VERSION = "1.22.4"

[context.production]
command = "yarn build -b $URL"
command = "hugo -b $URL --gc --minify && npm run build:functions"

[context.deploy-preview]
command = "yarn build -b $DEPLOY_PRIME_URL"
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"

[context.branch-deploy]
command = "yarn build -b $DEPLOY_PRIME_URL"
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyas",
"version": "1.2.5",
"version": "1.2.6",
"private": true,
"browserslist": [
"defaults"
Expand Down
Loading

0 comments on commit 3ae9cf0

Please sign in to comment.