5687 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen
a78bbe22d7 Add link to Go issue 2017-08-10 14:22:05 +02:00
guayom
31d1ef4037 Add example for taxonomy terms with metadata
There is no information on how you can add custom metadata to your
taxonomy terms. What you need to do is add front matter data in the file
/content/<TAXONOMY>/<TERM>/_index.md

Then you will be able to access the taxonomy term as a page in a
taxonomy terms template.

That is why I added instructions in /content-management/taxonomies on
how to add custom metadata. And in /templates/taxonomy-templates/ I
added an example on how you can display that metadata in the taxonomy
terms template.

I think that would be enough to guide the user in how to add custom
metadata to their taxonomy terms.
2017-08-09 08:53:53 +02:00
digitalcraftsman
da978cc7e1 Fix links in Blackfriday extension documentation 2017-08-08 20:50:15 +02:00
Kaushal Modi
950ad11556 Fix reference to Blackfriday Extensions section 2017-08-08 20:38:33 +02:00
Kaushal Modi
12d1d02659 Add documentation for Blackfriday Extensions 2017-08-08 20:20:22 +02:00
ManoHaran
8c2b8fb548 Fix explaination for uglyURLs config option 2017-08-07 21:05:01 +02:00
Jaroslav Lichtblau
378aded702 Use community repository for Arch Linux installation guide 2017-08-07 20:47:03 +02:00
Bjørn Erik Pedersen
56455e7e00 Improve 0.26 release notes 2017-08-07 10:06:07 +02:00
Bjørn Erik Pedersen
be7db03a1c netlify: Build with the new 0.26 2017-08-07 09:45:29 +02:00
Bjørn Erik Pedersen
d430b2d36d Bump version to 0.26 2017-08-07 09:43:30 +02:00
Bjørn Erik Pedersen
61adaca0c2 releaser: Prepare repository for 0.27-DEV
[ci skip]
2017-08-07 09:13:50 +02:00
Bjørn Erik Pedersen
abef29a644 releaser: Add release notes to /docs for release of 0.26
[ci skip]
v0.26
2017-08-07 09:09:19 +02:00
Bjørn Erik Pedersen
5937fe415e releaser: Bump versions for release of 0.26
[ci skip]
2017-08-07 09:05:07 +02:00
Bjørn Erik Pedersen
033752f10f Merge commit 'e81208265bb3cdb7606d051a23d83aeebcb7d34d' 2017-08-06 17:24:51 +02:00
Ron Liskey
35abbc8691 Add example with taxonomy for title template func
Example URL with printf.
2017-08-06 11:34:37 +02:00
digitalcraftsman
85e28c10ea Remove comment from variable in front matter example 2017-08-05 19:28:19 +02:00
digitalcraftsman
eee8543b25 Remove comment from variable in front matter example 2017-08-05 18:02:27 +02:00
Jeremiah Valenzuela
13a8e0b770 Add missing closing and opening comment tags
The comment tags were split between lines and therefore caused the content within them to render as html.
2017-08-03 13:35:36 +02:00
Abdullah Diab
8353177226 Replace http://example.{com,org}/ with https://example.{com,org}/
* Replace http://example.{com,org}/ with https://example.{com,org}/

To be consistent with gohugoio/hugo, @bep suggests changing all
instances of http://(www.)?example.{com,org} with
https://(www.)?example.{com,org}

See issue gohugoio/hugo#3728 with pull request gohugoio/hugo#3739
2017-08-01 22:54:32 +02:00
Ryan Watters
6727d8203f Update gh repo for issues in config
Fixes #117
2017-08-01 22:13:46 +02:00
JuFisch
3a58818ea6 Add note to install Testify
* docs: Add note to install Testify

The Hugo Contributor Guide (Development) instructs users to run "go test ./..." and ensure it passes before moving on. However Hugo requires the Testify package for testing, and running the go test command without Testify results in 'cannot find package' errors and failing tests. It's hard to understand what to do next for users not familiar with Go dependencies. This commit adds a note to the contributor guide instructing users to get Testify if they don't already have it installed. Running the 'go get' command added here results in passing tests in the next step of the contributor guide.

* Fix typo https:// in go get command
2017-08-01 22:03:44 +02:00
Yann Hodique
19f13e6162 Fix YAML examples in taxonomies.md
Align YAML examples with TOML ones.
2017-08-01 22:01:14 +02:00
Bjørn Erik Pedersen
bec2bd12c1 Make the title case style guide configurable
This works for the `title` func and the other places where Hugo makes title case.

* AP style (new default)
* Chicago style
* Go style (what we have today)

Fixes #989
2017-07-31 22:16:46 +02:00
Jeremiah Valenzuela
dc4b90db27 Replace old RSS template with new embedded version (#116)
Current documentation shows an old version of the embedded RSS template. The newer version is in:
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/template_embedded.go

This was copied and pasted into the documentation as embedded.
2017-07-31 20:52:14 +02:00
Bjørn Erik Pedersen
00f39bd78d camelCase output format options
Fixes #114
2017-07-31 16:56:51 +02:00
Jeremiah Valenzuela
902a14a185 Add missing word to pretty URLs explanation 2017-07-31 13:59:22 +02:00
Bjørn Erik Pedersen
f1739a4481 Merge commit '50ec65fbe1a48475d3320775dab2c47389c02114' 2017-07-31 09:21:24 +02:00
Bryan Klein
ef02e34eaf Correct the mmark example frontmatter parameter 2017-07-30 19:08:50 +02:00
Bjørn Erik Pedersen
6e91e9003b SectionPagesMenu > sectionPagesMenu 2017-07-29 13:18:12 +02:00
Bjørn Erik Pedersen
1a0db1a699 Adjust sectionPagesMenu
To test search.

See https://github.com/gohugoio/gohugoioTheme/issues/63
2017-07-29 13:16:55 +02:00
Bjørn Erik Pedersen
a1aac0e533 helpers: Add support for French Guillemets
Fixes #3725
2017-07-29 10:10:40 +02:00
Ricardo N Feliciano
f9f87d9d71 Fix extension's missing period. 2017-07-28 22:03:54 +02:00
digitalcraftsman
7062ae075b Remove Press and Articles page 2017-07-28 20:19:56 +02:00
digitalcraftsman
771f2b38eb Remove outdated and redudant content file for release notes 2017-07-28 18:55:36 +02:00
digitalcraftsman
64cf47c320 Remove outdated note in docs contribution guide 2017-07-28 18:39:06 +02:00
Mathieu Cornic
bdb11b890b Fix typo 2017-07-27 21:19:17 +02:00
Vivace
8324af7038 Fixes broken link on Roadmap 2017-07-27 14:28:04 +02:00
Cameron Moore
d93f09926b functions: Add all missing binary comparison operators
Fixes #91
2017-07-27 00:20:02 +02:00
Farhan Attamimi
fb7ae80aa3 Fix typo in usage.md
Changes "most command commands" to "most common commands".
2017-07-26 14:10:31 +02:00
Andrey S
fbdae08be4 Fix typo in content-management/taxonomies.md 2017-07-25 18:11:41 +02:00
Bjørn Erik Pedersen
66fab8d233 Make <title> less stuttery
Fixes https://github.com/gohugoio/gohugoioTheme/issues/58
2017-07-25 08:57:30 +02:00
Anthony Fok
b3cd4c2266 Remove old temp release notes 2017-07-24 16:35:12 -06:00
Andrey S
5589ba96c1 Fix typos in templates/lists.md 2017-07-24 19:53:50 +02:00
Bjørn Erik Pedersen
af3a0807e8 http > HTTP 2017-07-24 19:52:31 +02:00
Bjørn Erik Pedersen
b2af90ae96 Remove formatting in description of blog article 2017-07-24 19:50:59 +02:00
Bjørn Erik Pedersen
6e2e60a932 Add blog article about Netlify files 2017-07-24 19:43:43 +02:00
Bjørn Erik Pedersen
0bb6f2f28b Use title in archetype file 2017-07-24 18:43:56 +02:00
Bjørn Erik Pedersen
7b2490ff5c Get the Archetypes up to new spec 2017-07-24 18:33:00 +02:00
Bjørn Erik Pedersen
f401d69b49 Load CSS and JS via HTTP/2 server push
See https://www.netlify.com/blog/2017/07/18/http/2-server-push-on-netlify/

```
▶ nghttp -ans https://deploy-preview-83--gohugoio.netlify.com/
***** Statistics *****

Request timing:
  responseEnd: the  time  when  last  byte of  response  was  received
               relative to connectEnd
 requestStart: the time  just before  first byte  of request  was sent
               relative  to connectEnd.   If  '*' is  shown, this  was
               pushed by server.
      process: responseEnd - requestStart
         code: HTTP status code
         size: number  of  bytes  received as  response  body  without
               inflation.
          URI: request URI

see http://www.w3.org/TR/resource-timing/#processing-model

sorted by 'complete'

id  responseEnd requestStart  process code size request path
 13   +199.52ms      +1.22ms 198.30ms  200  42K /
  4   +404.60ms *   +69.97ms 334.62ms  200 102K /dist/main.css
  2   +484.93ms *   +69.63ms 415.30ms  200 131K /dist/app.bundle.js
```

Compare that to the live site:

```
▶ nghttp -ans https://gohugo.io/
***** Statistics *****

Request timing:
  responseEnd: the  time  when  last  byte of  response  was  received
               relative to connectEnd
 requestStart: the time  just before  first byte  of request  was sent
               relative  to connectEnd.   If  '*' is  shown, this  was
               pushed by server.
      process: responseEnd - requestStart
         code: HTTP status code
         size: number  of  bytes  received as  response  body  without
               inflation.
          URI: request URI

see http://www.w3.org/TR/resource-timing/#processing-model

sorted by 'complete'

id  responseEnd requestStart  process code size request path
 13   +596.97ms      +2.54ms 594.43ms  200  42K /
 15   +606.87ms    +403.50ms 203.37ms  200  15K /files/muli-latin-200.woff2
 2`1   +790.39ms    +403.51ms 386.88ms  200  20K /dist/main.css
 23      +1.14s    +596.00ms 544.48ms  200  42K /dist/app.bundle.js
 19      +1.14s    +403.50ms 737.99ms  200  15K /files/muli-latin-800.woff2
 17      +1.14s    +403.50ms 738.01ms  200  15K /files/muli-latin-400.woff2
```
2017-07-24 18:05:24 +02:00
Bjørn Erik Pedersen
4aef494434 Adjust titles 2017-07-24 08:30:02 +02:00