Skip to content

Commit

Permalink
Squashed 'docs/' changes from 13097da..50c0251
Browse files Browse the repository at this point in the history
50c0251 resources: Clean
380554c Added Pharmaseal case study
bd46267 Fix typo
0522a25 no -> fr
f2c4671 Fix broken Netlify setup
056da25 Release 0.55.4
2ddca74 Merge branch 'temp554'
3d6cf99 releaser: Add release notes to /docs for release of 0.55.4
9dc637c Minor link fix
9518610 Release 0.55.3
b2449cd releaser: Add release notes to /docs for release of 0.55.3
55934c3 docs: Regenerate docs helper

git-subtree-dir: docs
git-subtree-split: 50c0251
  • Loading branch information
bep committed May 2, 2019
1 parent a0c28c9 commit f147b5c
Show file tree
Hide file tree
Showing 19 changed files with 148 additions and 9 deletions.
2 changes: 1 addition & 1 deletion content/en/content-management/multilingual.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ With the above, the two sites will be generated into `public` with their own roo
```bash
public
├── en
└── no
└── fr
```

**All URLs (i.e `.Permalink` etc.) will be generated from that root. So the English home page above will have its `.Permalink` set to `https://example.com/`.**
Expand Down
2 changes: 1 addition & 1 deletion content/en/content-management/summaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ You can show content summaries with the following code. You could use the follow
{{ end }}
{{< /code >}}

Note how the `.Truncated` boolean valuable may be used to hide the "Read More..." link when the content is not truncated; i.e., when the summary contains the entire article.
Note how the `.Truncated` boolean variable value may be used to hide the "Read More..." link when the content is not truncated; i.e., when the summary contains the entire article.

[org]: /content-management/formats/
[pagevariables]: /variables/page/
Expand Down
4 changes: 3 additions & 1 deletion content/en/hosting-and-deployment/hosting-on-aws-amplify.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ AWS Amplify is a combination of client library, CLI toolchain, and a Console for
1. Accept the default build settings. The Amplify Console automatically detects your Hugo build settings and output directory.
![Hugo Amplify](/images/hosting-and-deployment/hosting-on-aws-amplify/amplify-build-settings.png)

1. Review your changes and then choose **Save and deploy**. The Amplify Console will pull code from your repository, build changes to the backend and frontend, and deploy your build artifacts at `https://master.unique-id.amplifyapp.com`. Bonus: Screenshots of your app on different devices to find layout issues.
1. Review your changes and then choose **Save and deploy**. The Amplify Console will pull code from your repository, build changes to the backend and frontend, and deploy your build artifacts at `https://master.unique-id.amplifyapp.com`. Bonus: Screenshots of your app on different devices to find layout issues.

[Quick Start]: /getting-started/quick-start/
49 changes: 49 additions & 0 deletions content/en/news/0.55.3-relnotes/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

---
date: 2019-04-20
title: "Hugo 0.55.3: A Few More Bug Fixes!"
description: "To wrap up this Eeaster, here is one more patch release with some important fixes."
categories: ["Releases"]
images:
- images/blog/hugo-bug-poster.png

---

This is a bug-fix release with a couple of important fixes.


Hugo now has:

* 34468+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 439+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 308+ [themes](http://themes.gohugo.io/)

## Enhancements

### Templates

* Return error on invalid input in in [7fbfedf0](https://github.com/gohugoio/hugo/commit/7fbfedf01367ff076c3c875b183789b769b99241) [@bep](https://github.com/bep) [#5875](https://github.com/gohugoio/hugo/issues/5875)
* Make Pages etc. work with the in func [06f56fc9](https://github.com/gohugoio/hugo/commit/06f56fc983d460506d39b3a6f638b1632af07073) [@bep](https://github.com/bep) [#5875](https://github.com/gohugoio/hugo/issues/5875)
* Make Pages etc. work in uniq [d7a67dcb](https://github.com/gohugoio/hugo/commit/d7a67dcb51829b12d492d3f2ee4f6e2a3834da63) [@bep](https://github.com/bep) [#5852](https://github.com/gohugoio/hugo/issues/5852)

### Core

* Add some OutputFormats.Get tests [7aeeb60d](https://github.com/gohugoio/hugo/commit/7aeeb60d7ee71690461df92ff41cb8b2f7f5aa61) [@bep](https://github.com/bep) [#5877](https://github.com/gohugoio/hugo/issues/5877)
* Add some integration tests for in/uniq using Pages [6c80acbd](https://github.com/gohugoio/hugo/commit/6c80acbd5e314dd92fc075551ffabafaae01dca7) [@bep](https://github.com/bep) [#5875](https://github.com/gohugoio/hugo/issues/5875)[#5852](https://github.com/gohugoio/hugo/issues/5852)

### Other

* Regenerate docs helper [75b16e30](https://github.com/gohugoio/hugo/commit/75b16e30ec55e82a8024cc4d27880d9b79e0fa41) [@bep](https://github.com/bep)
* Replace IsDraft with Draft in list command [3e421bd4](https://github.com/gohugoio/hugo/commit/3e421bd47cd35061df89c1c127ec8fa4ae368449) [@bep](https://github.com/bep) [#5873](https://github.com/gohugoio/hugo/issues/5873)

## Fixes

### Output

* Fix links for non-HTML output formats [c7dd66bf](https://github.com/gohugoio/hugo/commit/c7dd66bfe2e32430f9b1a3126c67014e40d8405e) [@bep](https://github.com/bep) [#5877](https://github.com/gohugoio/hugo/issues/5877)
* Fix menu URL when multiple permalinkable output formats [ea529c84](https://github.com/gohugoio/hugo/commit/ea529c847ebc0267c6d0426cc8f77d5c76c73fe4) [@bep](https://github.com/bep) [#5849](https://github.com/gohugoio/hugo/issues/5849)





44 changes: 44 additions & 0 deletions content/en/news/0.55.4-relnotes/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

---
date: 2019-04-25
title: "Hugo 0.55.4: Some Bug Fixes"
description: "A couple of more bug fixes."
categories: ["Releases"]
images:
- images/blog/hugo-bug-poster.png

---



This is a bug-fix release with a couple of important fixes.


Hugo now has:

* 34558+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 439+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 310+ [themes](http://themes.gohugo.io/)

## Enhancements

### Core

* Avoid recloning of shortcode templates [69a56420](https://github.com/gohugoio/hugo/commit/69a56420aec5bf5abb846701d4a5ec67fe060d96) [@bep](https://github.com/bep) [#5890](https://github.com/gohugoio/hugo/issues/5890)
* No links for bundled pages [0775c98e](https://github.com/gohugoio/hugo/commit/0775c98e6c5b700e46adaaf190fc3f693a6ab002) [@bep](https://github.com/bep) [#5882](https://github.com/gohugoio/hugo/issues/5882)

### Other

* Avoid rebuilding the Translations map for every lookup [4756ec3c](https://github.com/gohugoio/hugo/commit/4756ec3cd8ef998f889619fe11be70cc900e2b75) [@bep](https://github.com/bep) [#5892](https://github.com/gohugoio/hugo/issues/5892)
* Init mem profile at the end [4c3c5120](https://github.com/gohugoio/hugo/commit/4c3c5120389cc95edc63b8f18a0eee786aa0c5e2) [@bep](https://github.com/bep)

## Fixes

### Core

* Fix shortcode version=1 logic [33c73811](https://github.com/gohugoio/hugo/commit/33c738116c26e2ac37f4bd48159e8e3197fd7b39) [@bep](https://github.com/bep) [#5831](https://github.com/gohugoio/hugo/issues/5831)





7 changes: 7 additions & 0 deletions content/en/showcase/pharmaseal/bio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PHARMASEAL began in 2016 with the purpose of disrupting the Clinical Trials Management market through continuos validation and intergration

We've been using **Hugo + Webpack + Netlify** to provide a scalable, modular design for the website, complete with Forestry building blocks to quickly be able to generate engagement pages.

The site is built by:

- [Roboto Studio](https://roboto.studio)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions content/en/showcase/pharmaseal/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---

title: PHARMASEAL
date: 2019-04-29

description: "Pharmaseal website developed using Hugo, Forestry, hosted and deployed by Netlify."

# The URL to the site on the internet.
siteURL: https://pharmaseal.co/

# Link to the site's Hugo source code if public and you can/want to share.
# Remove or leave blank if not needed/wanted.


# Add credit to the article author. Leave blank or remove if not needed/wanted.
byline: "[Roboto Studio](https://roboto.studio), Jonathan Alford"

---


We wanted to shake the status quo with PHARMASEAL, opting for a fast and scalable website built with Hugo instead of slower monolithic systems the competitors were using.

We had two goals:

**Make it fast**

We wanted to optimise the site as much as possible, so we opted for using Cloudinary, enabling us to take advantage of on-the-fly image manipulation, and thanks to the sheer speed of static sites, we achieved a perfect optimisation score with Google audits.

Because we're hosting the site through Netlify and our target audience is in America, we are taking advantage of Netlify edge (Their alternative to a CDN). We're talking blazing fast.

**Make it easy**

We're big fans of simplicity, and that's what we delivered with the Forestry building blocks. Every element on the site is built with building blocks in mind, allowing PHARMASEAL to generate multiple pages in the blink of an eye.

PHARMASEAL have found Forestry CMS combined with HUGO to be so effective at producing fast, purpose driven pages, that we have worked with them to add even more blocks in a scalable, modular fashion.

**TLDR:** We're blown away with HUGO, the sheer speed, scalability and deployment possibilities with Netlify is the 💣
4 changes: 2 additions & 2 deletions data/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2667,7 +2667,7 @@
"Uniq": {
"Description": "Uniq takes in a slice or array and returns a slice with subsequent\nduplicate elements removed.",
"Args": [
"l"
"seq"
],
"Aliases": [
"uniq"
Expand Down Expand Up @@ -3232,7 +3232,7 @@
},
"partials": {
"Include": {
"Description": "Include executes the named partial and returns either a string,\nwhen the partial is a text/template, or template.HTML when html/template.",
"Description": "Include executes the named partial.\nIf the partial contains a return statement, that value will be returned.\nElse, the rendered output will be returned:\nA string if the partial is a text/template, or template.HTML when html/template.",
"Args": [
"name",
"contextList"
Expand Down
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ publish = "public"
command = "hugo --gc --minify"

[context.production.environment]
HUGO_VERSION = "0.55.2"
HUGO_VERSION = "0.55.4"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.split1]
command = "hugo --gc --minify --enableGitInfo"

[context.split1.environment]
HUGO_VERSION = "0.55.2"
HUGO_VERSION = "0.55.4"
HUGO_ENV = "production"

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

[context.deploy-preview.environment]
HUGO_VERSION = "0.55.2"
HUGO_VERSION = "0.55.4"

[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.55.2"
HUGO_VERSION = "0.55.4"

[context.next.environment]
HUGO_ENABLEGITINFO = "true"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit f147b5c

Please sign in to comment.