teodorraul
c859810b37
docs: Add clearhaus.com to the showcase
2016-10-24 23:52:21 +02:00
Sam Klein
a2cc2e75a6
docs: Fix typos in content section
...
- changed preposition into intended infinitive for syntactical clarity
- removed "easily" as it doesn't describe anything technical and is
confusing (which is why the author may have used a preposition)
2016-10-24 23:43:28 +02:00
Albert Nigmatzianov
f21e2f25c9
all: Unify case of config variable names
...
All config variables starts with low-case and uses camelCase.
If there is abbreviation at the beginning of the name, the whole
abbreviation will be written in low-case.
If there is abbreviation at the end of the name, the
whole abbreviation will be written in upper-case.
For example, rssURI.
2016-10-24 20:56:00 +02:00
digitalcraftsman
dffd7da07c
docs: Clarify installation of themes
2016-10-22 17:08:35 +02:00
Nicholas Thomson
6427fba90b
docs: Improve instructions in quickstart.md
2016-10-21 19:20:34 +02:00
Dmitrii Dimandt
db86f48082
docs: Add dmitriid.com to the showcase
2016-10-19 22:38:19 +02:00
Bjørn Erik Pedersen
faa64abdc2
docs: Add singular/plural i18n example
2016-10-17 17:01:38 +02:00
Christian Mendoza
e6f2426ef0
docs: Add christianmendoza.me to the showcase
2016-10-17 16:58:06 +02:00
Chen Fangzhou
3a5b702712
docs: Add fixatom.com to the showcase
2016-10-17 16:00:08 +02:00
digitalcraftsman
6a7f989d7b
docs: Add hugojoomla to the tools section
2016-10-17 15:50:49 +02:00
János Illés
7f4d90250f
docs: Remove merge artifact
2016-10-17 15:44:05 +02:00
digitalcraftsman
4d6cd3cb2a
docs: Update link for Ace template site
2016-10-16 14:39:48 +02:00
iktakahiro
2ea22a422c
docs: Add docs.eurie.io to the showcase
2016-10-16 14:37:15 +02:00
digitalcraftsman
0456f950a3
docs: Add GitLab to Forestry.io integrations
2016-10-16 14:26:48 +02:00
Nate Finch
10a773cde7
Implement support for alias templates
...
This change adds a canonical alias.html template that is used for page
redirects, and passes the page as data to the template under .Page
Fixes #2533
Closes #2576
2016-10-15 15:25:05 +02:00
vsopvsop
886754738b
Updated link for Ace template site
2016-10-15 16:48:26 +05:30
Bjørn Erik Pedersen
794589fbfd
Use example.org for replace-this-with-your-hugo-site.com
...
Fixes #2575
2016-10-14 09:51:39 +02:00
Scott Gallant
4e0c71a6eb
Added GitLab to Forestry.io integrations
2016-10-13 10:24:51 -04:00
digitalcraftsman
5355ddf621
docs: Remove deleted article "Hugo on Netlify — Insanely Fast Deploys"
2016-10-10 21:00:41 +02:00
voom
bfe9b8708a
docs: Add "Hugo on Netlify" article to press.md
2016-10-10 20:55:21 +02:00
George Ornbo
8a63ebcb3d
docs: Add shapeshed.com to the showcase
2016-10-10 20:42:29 +02:00
TheCodeKing
9d0b1320e0
docs: Add thecodeking.co.uk to the showcase
2016-10-10 20:38:55 +02:00
Michael Bleigh
71422a7dee
docs: Add Firebase Hosting to usage.md
2016-10-10 20:26:46 +02:00
Michael Bleigh
df7b8b5c38
docs: Add Firebase Hosting to hosting providers
2016-10-10 20:26:02 +02:00
Adnan Hajdarević
b3bcd78f4f
docs: Add webhook to tools for deployments
2016-10-10 20:20:41 +02:00
Robert Schilling
8d50925820
docs: Mention GitLab hosting support
2016-10-10 20:14:23 +02:00
digitalcraftsman
a7e2a04d5b
docs: Add Forestry.io to the tools section
2016-10-09 14:20:14 +02:00
Dimitri Merejkowsky
56512e816f
Allow to set cache dir in config file
2016-10-09 11:00:36 +02:00
Anthony Fok
a22294aa7c
docs: Stylize "Mac OS" as "macOS" in v0.17 release notes
2016-10-07 10:43:34 -06:00
Cameron Moore
6195d8f79b
docs: Fix grammar in v0.17 release notes
...
Also trimmed trailing whitespace.
2016-10-07 10:39:56 -06:00
Steve Francia
f9c70c0f89
add release notes for v0.17
2016-10-07 09:58:32 -04:00
Rahul Rai
57d7dd5bd9
docs: Add rahulrai.in to the showcase
2016-10-06 18:19:56 +02:00
Bjørn Erik Pedersen
b3a113b73a
docs: Regenerate commands doc
2016-10-05 10:23:45 +02:00
Pine
80367ea218
docs: Us vs you
2016-10-03 00:45:23 +02:00
Tim Rourke
ffbf3dd319
doc: Improving language in archetypes doc
2016-10-01 15:05:38 +02:00
digitalcraftsman
d9c1f1eee7
docs: Add Lipi to tools section
2016-10-01 11:43:38 +02:00
digitalcraftsman
d30c6a26d1
docs: Fix typo in tutorials/how-to-contribute-to-hugo.md
2016-09-28 17:27:18 +02:00
digitalcraftsman
0043b48658
docs: Add notes about multilingual menus
2016-09-28 17:19:33 +02:00
patdhlk
e36b0305ca
docs: Add tryo labs article to press.md
2016-09-28 12:37:52 +02:00
Joseph Anderson
8b0d16b8d9
docs: Fix typo on hosting-on-gitlab
...
Corrects "github" typo to "gitlab"
2016-09-27 16:22:42 +02:00
Mitchell Cohen
e7e2a1ca02
tpl: Improve tests and docs for i18n
2016-09-20 11:11:57 +02:00
Bjørn Erik Pedersen
4a79fa0c33
Revert the "standardize author data"
...
There were some breaking changes etc. that is too late to fix for 0.17.
Let us think this through and add proper author support for Hugo 0.18.
Fixes #2464
Revert "docs: Add documentation for author profiles"
This reverts commit b6673e5309
.
Revert "Add First Class Author Support"
This reverts commit cf978c0649
.
2016-09-18 19:16:39 +02:00
Mark D. Blackwell
83533a8881
docs: Improve Overview Configuration manual
2016-09-17 21:29:37 -04:00
digitalcraftsman
b6673e5309
docs: Add documentation for author profiles
2016-09-17 13:14:05 +02:00
Mitchell Cohen
56afd943a8
docs: Add multilingual alias example
2016-09-17 11:23:47 +02:00
Derek Perkins
cf978c0649
Add First Class Author Support
...
Closes #1850
2016-09-17 00:49:24 +02:00
digitalcraftsman
742911146a
docs: Clarify difference between slug and url
2016-09-16 17:38:08 +02:00
digitalcraftsman
e80453a991
tpl: Add EnableMissingTranslationPlaceholders option
...
Fixes #2451
2016-09-16 17:20:29 +02:00
digitalcraftsman
0dd57b907b
docs: List i18n folder in source organization
2016-09-16 17:13:59 +02:00
digitalcraftsman
bca567faea
docs: Clarify usecase of data files
...
Fixes #1769
2016-09-16 17:05:38 +02:00
digitalcraftsman
0c49370ca0
docs: Fix example of displaying taxonomies
...
Fixes #2216
2016-09-16 16:43:50 +02:00
digitalcraftsman
3410007dca
docs: List multilingual tpl vars and show menu creation
...
Fixes #2436
2016-09-16 15:37:12 +02:00
digitalcraftsman
9dab62c559
docs: List config options for multilingual feature
2016-09-16 14:36:54 +02:00
Jacob Walker
4e16a6d4fd
docs: Fix markdown in content/extras/scratch.md
2016-09-15 11:35:39 -05:00
Frank Taillandier
cdf1edd549
docs: Fix French translation in multilingual.md
2016-09-15 15:25:31 +02:00
Mark D. Blackwell
0d1e96701f
docs: Improve Traversing Local Files
2016-09-15 15:15:04 +02:00
digitalcraftsman
e70cf1ace4
docs: Remove JPEG as format for showcase thumbnails
2016-09-11 18:18:28 +02:00
David Yates
d5379fd1fe
docs: Add davidyat.es to the showcase
2016-09-11 18:11:50 +02:00
Bjørn Erik Pedersen
eaf2f9bce5
Add TODO list support for Blackfriday
...
* Add CSS class to TODO list and list items
* Add a flag to turn task list support off
Fixes #2269
2016-09-09 13:08:20 +02:00
Pascal Aubort
5ef45bec63
docs: Fix typos in multilingual section
2016-09-08 15:54:26 +02:00
Bjørn Erik Pedersen
2f7e8df5ba
docs: Fix spelling: HasTranslations > IsTranslated
2016-09-06 18:32:20 +03:00
Bjørn Erik Pedersen
93717aac5c
docs: Get the variable and funcs re multilingual up-to-date
2016-09-06 18:32:20 +03:00
Bjørn Erik Pedersen
d1212307f2
doc: Fix TOML vs YAML in multilang section
...
Updates ##2309
2016-09-06 18:32:19 +03:00
Bjørn Erik Pedersen
7610844004
Add IsTranslated to Node and Page
...
Makes the templates simpler.
See #2309
2016-09-06 18:32:19 +03:00
Bjørn Erik Pedersen
f1e1cdab3f
Improve i18n string handling
...
* Fall back to default language on missing translation file
* Add a i18n-warnings build flag
* If that flag is set, print a parseable and greppable string on missing translation strings
See #2303
2016-09-06 18:32:19 +03:00
Bjørn Erik Pedersen
8da040342e
Render main content language in root by default
...
Fixes #2312
2016-09-06 18:32:18 +03:00
Bjørn Erik Pedersen
54141f71dd
Improve language handling in URLs
...
The current "rendering language" is needed outside of Site. This commit moves the Language type to the helpers package, and then used to get correct correct language configuration in the markdownify template func.
This commit also adds two new template funcs: relLangURL and absLangURL.
See #2309
2016-09-06 18:32:18 +03:00
Bjørn Erik Pedersen
2079a23dd8
Make it possible to configure Blackfroday per language
...
See #2309
2016-09-06 18:32:17 +03:00
Bjørn Erik Pedersen
90de511017
Make taxonomies configurable per language
...
See #2312
2016-09-06 18:32:17 +03:00
Bjørn Erik Pedersen
f0b91852ea
Rework the multilingual docs
...
And in the same go adjusted some minor parts of the language API:
Add LanguagePrefix alias to Node and rename the Multilingual config section to Languages.
See #2309
2016-09-06 18:32:17 +03:00
Alexandre Bourget
ec33732fbe
Add multilingual support in Hugo
...
Implements:
* support to render:
* content/post/whatever.en.md to /en/2015/12/22/whatever/index.html
* content/post/whatever.fr.md to /fr/2015/12/22/whatever/index.html
* gets enabled when `Multilingual:` is specified in config.
* support having language switchers in templates, that know
where the translated page is (with .Page.Translations)
(when you're on /en/about/, you can have a "Francais" link pointing to
/fr/a-propos/)
* all translations are in the `.Page.Translations` map, including the current one.
* easily tweak themes to support Multilingual mode
* renders in a single swift, no need for two config files.
Adds a couple of variables useful for multilingual sites
Adds documentation (content/multilingual.md)
Added language prefixing for all URL generation/permalinking see in the
code base.
Implements i18n. Leverages the great github.com/nicksnyder/go-i18n lib.. thanks Nick.
* Adds "i18n" and "T" template functions..
2016-09-06 18:32:15 +03:00
Russ Shanahan
faa3472fa2
docs: Fix typo in Quickstart guide
...
To publish a post, draft status should be changed to `false`.
2016-09-06 14:34:46 +02:00
Vasiliy Solovey
ccc51fe764
docs: Add open.cinegy.com to the showcase
2016-09-06 14:32:33 +02:00
digitalcraftsman
723d4656b5
docs: Add Vim/Emacs plugin to tools section
2016-09-04 15:22:05 +02:00
integrii
a48ac6e945
docs: Clarify first level URL generation
2016-09-03 15:32:29 +02:00
Mark D. Blackwell
0614a59b0f
docs: Improve Quickstart guide
...
Fixes #2331 .
2016-09-03 15:19:01 +02:00
Mark D. Blackwell
696c67b04a
docs: Clarify Creating a New Theme
2016-09-01 20:34:00 -04:00
Nichlas Hummelsberger
bb1812b6af
docs: Mention theme config option on Usage page
2016-09-01 17:22:50 +02:00
sethmacleod
8e1bcea82f
docs: Update documentation for URLs
...
Using absolute URLs overrides relative URL behavior. This should be explicit in the docs.
2016-08-30 01:26:21 -04:00
vsopvsop
7cb8107735
docs: Correct spelling for "parameters" in partials.md
2016-08-29 12:25:53 +02:00
digitalcraftsman
38d034df38
docs: Document shuffle template func
...
Fixes #2393 .
2016-08-29 12:22:37 +02:00
Andreas Grunewald
6eff9e5015
docs: Update highlight.js example to latest version
...
Highlight.js has evolved quite a bit since it this doc was written. Updating the example to the latest 9.6 version of Highlight JS hosted by cloudflare
2016-08-25 14:05:34 +02:00
Eric
2fc05dad4e
docs: Add location of block template
2016-08-20 21:54:14 +02:00
Mark D. Blackwell
81f04ef4f0
docs: Clarify Usage
2016-08-19 14:38:20 -04:00
Anthony Fok
2530087ab1
docs: Add Spanish video tutorial by Verónica López to press.md
2016-08-19 08:26:26 -06:00
Steef Hegeman
c5d072990a
docs: Just a small grammar fix in quickstart.md
2016-08-18 20:58:29 +02:00
Mark D. Blackwell
3ce9de7672
docs: Follow through on watch default
2016-08-18 20:55:05 +02:00
Georg Hartmann
68c8e0e23d
docs: Correct name of release archives for OS X
...
Fixes #2341
2016-08-18 20:49:13 +02:00
Mark D. Blackwell
be429d2268
docs: Correct all erroneous swaps of "it's" and "its"
2016-08-18 20:42:40 +02:00
Mark D. Blackwell
8474b9defe
docs: Improve section 'Why did you write Hugo?'
2016-08-18 20:33:57 +02:00
Stephan Kulla
de1ca477b8
docs: Fix URLs in examples sites with path prefix
...
When baseurl ist something like "http://example.com/hugo/ " a link to
"/tags/..." does not work. Therefore I fixed the examples so that they
also work in cases where the website is not saved at the server's root.
See also https://discuss.gohugo.io/t/how-shall-i-link-a-taxonomy-page/3920
2016-08-18 20:15:37 +02:00
Mark Ayers
26725515c8
docs: Convert toml to yaml in config overview
2016-08-12 13:37:30 +02:00
Wade Fitzpatrick
b33bfd40be
docs: Add doc for time template func
2016-08-08 12:28:41 +02:00
Maxime Michel
f2faae0805
Remove maximeguitare.com from showcase
2016-08-06 23:37:11 +02:00
Randall Degges
0d9c0677f6
docs: Add rdegges.com to the showcase
2016-08-06 15:06:10 +02:00
astrochili
5824e80932
docs: Add romansilin.com to the showcase
2016-07-31 13:09:25 +02:00
digitalcraftsman
0087beefe1
docs: Add tumblr2hugomarkdown to tools section
2016-07-29 20:37:32 +02:00
digitalcraftsman
0d0a7596a2
docs: Add tumblr-importr to tools section
2016-07-29 20:36:10 +02:00
digitalcraftsman
04889a5ee6
docs: Document .File variables for pages
...
Fixes #2154 .
2016-07-29 20:12:28 +02:00
Chris DeLuca
333646c52d
docs: Drop .isDraft to new line
...
Bring **.isDraft** onto a new line, to be consistent with the other list items.
2016-07-29 20:10:40 +02:00
Jeremy Brown
e3e1f7a2bb
docs: Add a link to hugo-openapispec-shortcode
...
Added a link to the Hugo Open API Spec shortcode which allows you to embed OAI Spec (formerly known as Swagger) in your site.
2016-07-29 20:07:46 +02:00
Felipe Rohde
ddd5a92240
docs: Removed comma from json example.
...
The comma causing invalid json and hugo not compile the file based on the same example.
2016-07-29 20:01:23 +02:00
Max Milton
df0a4534cd
docs: Add missing configuration option disableHugoGeneratorInject
2016-07-29 19:58:25 +02:00
Weilin
9c458657da
docs: Add weilinshi.org to the showcase
2016-07-29 19:51:28 +02:00
zarina
17f53526ca
docs: Add CTL Compiled edtech blog to showcase
2016-07-29 19:46:53 +02:00
Leow Kah Man
76f332bfdc
docs: Add www.leowkahman.com to the showcase
2016-07-29 19:38:18 +02:00
Peter Panagiotakos
198efc89ca
docs: Add Algolia as commercial search service
2016-07-21 14:53:23 +02:00
Anthony Fok
c0eedfe956
docs: Update last-mod date of installing-on-windows.md
...
Sorry, this should have been part of the previous commit.
2016-07-18 18:06:39 -06:00
Anthony Fok
10ad648e2f
docs: Fix PATH issue in the instruction for Windows 10
...
i.e., "The PATH entry should be the folder where Hugo lives, not the binary."
Fixes #2280 .
Also fix a rendering issue with list entries that consist of multiple
paragraphs by using four spaces instead of two. Special thanks to
@shurcooL for the insight! (Fixes #2285 )
Also made a few minor formatting tweaks.
2016-07-18 17:58:26 -06:00
Cathal Garvey
20555b1630
Add htmlEscape
and htmlUnescape
template functions
...
These functions allow trivial escaping and unescaping of HTML entities,
and make it far easier to compose other functions for the creation of
parameterised URLs.
2016-07-19 00:14:05 +02:00
Michael Orr
0a812beb12
tpl: Modify tpl.humanize to ordinalize integer input
...
Add logic to tpl.humanize such that it understands input of int literals
or strings which represent an integer. When tpl.humanize sees this type
of input, it will use inflect.Ordinalize as opposed to the standard
inflect.Humanize.
Fixes #1886
2016-07-13 22:09:59 +02:00
Bjørn Erik Pedersen
4a48b5f326
Replace replace-this-with-your-hugo-site.com with example.org
...
Fixes #2264
2016-07-08 21:38:28 +02:00
JoeArizona
0ce6438268
docs: Update install instructions to reflect hugo.exe filename change
...
The install tutorial instructed users to rename the *.exe file to
hugo.exe because it used to have a big long name.
In Hugo 0.16 the file is already named hugo.exe, so the tutorial
made no sense on that point. Edited out those instructions.
2016-06-30 02:16:16 -06:00
Riku-Pekka Silvola
e140070c9a
docs: Add tutorial for GitLab Pages
2016-06-30 00:35:59 -06:00
Anthony Fok
195a2b3845
docs: Suggests the use of delimiter for taxonomy listing
...
as a shortcut suggested by @digitalcraftsman.
See #2143
2016-06-29 22:52:29 -06:00
Roy Reveltas
364686ecbb
docs: Add additional example for taxonomies listing
...
Add another example how to list taxonomies inline,
adding title (singular or plural) and commas between taxonomies.
See #2143
2016-06-29 22:36:34 -06:00
marco
c21e2b3b4d
tpl: Enable safeHTMLAttr
...
See #2234 and #347
2016-06-27 09:18:14 -06:00
Bjørn Erik Pedersen
29ca323a34
docs: Regen commands doc
...
Fixes #2235
2016-06-22 14:03:18 +02:00
Cameron Moore
a4b8496210
docs: Fix typo is 0.16 release notes
2016-06-20 13:21:10 -05:00
Martijn ten Bhömer
357c9db235
docs: Add mtbhomer.com to the showcase
2016-06-19 16:12:59 +02:00
Cesare
6ba074562c
docs: Add upbeat.it to the showcase
2016-06-14 18:19:03 +02:00
Roberto Rosario
c01f98255b
docs: Add mayan-edms to the showcase
2016-06-14 18:13:19 +02:00
Hanchen Wang
f7b2e532e2
docs: Add ExpiryDate to the list of variables
2016-06-14 15:45:26 +02:00
Hanchen Wang
448f0306d7
docs: Example of how to use Order by ExpiryDate
2016-06-14 15:45:26 +02:00
Hanchen Wang
02d2f05e74
docs: Add instructions on buildExpired in build configurations
2016-06-14 15:45:26 +02:00
Hanchen Wang
6e9fbf8ad6
docs: Add expirydate to front-matter doc
2016-06-14 15:45:26 +02:00
Marvin Pinto
5d3aabcb32
Update the alias generated HTML files to conform to the W3C HTML spec
...
- W3C recommends that there be a [whitespace character][1] between the
`;` and the `url=` portions.
- W3C also recommends that there be a [title][2] child in the `head`
element
[1]: https://www.w3.org/TR/html-markup/meta.http-equiv.refresh.html
[2]: https://www.w3.org/TR/html-markup/head.html
Closes #1933
2016-06-09 15:57:35 +02:00
James Campbell
48ebd598a9
docs: Add jamescampbell.us to the showcase
2016-06-06 21:04:02 +02:00
Steve Francia
7212e51347
Update release-notes.md
...
bump 0.16 to the correct date and add meta generator note.
2016-06-06 08:37:59 -04:00
Bjørn Erik Pedersen
80ebe0578a
Update release-notes.md
2016-06-04 21:44:38 +02:00
Bjørn Erik Pedersen
60184823e5
docs. Add the guranteed exit -1 on eror to Hugo 0.16 rel notes
...
It is a minor thing, but BIG thing for many, including myself.
2016-06-04 00:14:32 +02:00
Bjørn Erik Pedersen
cf10d4ce79
Some polish and addends to 0.16 release notes
2016-06-03 22:54:18 +02:00
Bjørn Erik Pedersen
d4e5fa6fdf
Pull the shootouts about 0.16 into the intro section
2016-06-03 20:53:33 +02:00
Steve Francia
834d41771b
update release notes for 0.16 release
2016-06-03 11:33:51 -04:00
Frank Blecha
ce05dfa553
docs: Grammar fix in overview/quickstart.md
2016-06-02 22:13:01 +02:00
digitalcraftsman
4ab5ed6c21
docs: Add Digital Ocean articles to press section
2016-05-30 20:25:50 +02:00
digitalcraftsman
d486396ff5
docs: Add c't magazine article to press section
2016-05-29 12:02:07 +02:00
digitalcraftsman
20358f46c8
docs: Document UniqueID page variable
2016-05-27 20:14:52 +02:00
Roy Reveltas
5611631539
docs: Add an example of how to use .PrevInSection
...
It's not a common knowledge what the "pointer" is so let's
add an example of how to use .PrevInSection
2016-05-27 20:02:29 +02:00
David King
c21b1558ae
docs: Add note about live reload script injection
...
Answers common question in docs.
https://discuss.gohugo.io/t/livereload-only-works-on-the-homepage/1006/4
2016-05-27 19:51:17 +02:00
Brijesh Bittu
dcee05b2ae
docs: Fix minor typo in overview/quickstart.md
2016-05-27 19:32:27 +02:00
Peter Y. Chuang
efae41c186
docs: Add novelist.xyz to the showcase
2016-05-22 14:08:45 +02:00
Martin Linkov
90362933ee
docs: Fix typo / readability in extras/menu.md
2016-05-22 11:30:29 +02:00
Stefano Chiodino
6dec7b3ea6
docs: Add stefano.chodino.uk to the showcase gallery.
2016-05-22 11:25:07 +02:00
Andreas Linz
dec744316e
docs: Add klingt.net to the showcase gallery
2016-05-18 12:23:40 +02:00
Amit Saha
9305deca15
docs: Clarify that watch is enabled by default
2016-05-18 12:08:26 +02:00
nurp
9aa70af1a3
docs: Fix git clone for hugo_theme_robust in quickstart guide
2016-05-17 21:10:04 +02:00
digitalcraftsman
ac938d9da7
docs: Improve description for .Hugo.Generator
2016-05-11 20:59:31 +02:00
Cameron Moore
fd40fe39bc
docs: Document relativeURLs
...
Fixes #1342
2016-05-07 16:52:18 -05:00
yuzroz
7cbafa4ec5
docs: Fix typo in overview/configuration.md
2016-05-04 21:44:28 +02:00
Alex Leventer
a07889d4a3
docs: Fix typo in templates/content.md
2016-05-04 21:40:22 +02:00
mattjmcnaughton
bf4206a02f
docs: Fix links in the documentation
...
A couple of internal links use `#toc_4` to attempt to locate a document
element within another document page. In both of these instances, there
is no element on the linked to pages with the id `#toc_4`. This commit
updates those links with the document elements which were the original
intended links, meaning these links now take you directly to the
intended element.
Signed-off-by: mattjmcnaughton <mattjmcnaughton@gmail.com>
2016-05-04 21:35:24 +02:00
Masashi Tsuru
5caea6f2da
docs: Add 2626.info to the showcase
2016-05-03 20:23:04 +02:00
Christopher Mancini
09038865c2
tpl: Add intersect operator to where function
...
Returns true if a given field value that is a slice / array of strings, integers or floats contains elements in common with the matching value. It follows the same rules as the intersect function.
Closes #1945
2016-04-28 00:58:47 +02:00
Göran Svensson
ffbd2b6c67
docs: Add appernetic blog to showcase
2016-04-27 22:05:45 +02:00
Fahri Aydos
c5723a8931
docs: Add aydos.com to the showcase
2016-04-23 21:57:31 +02:00
Bjørn Erik Pedersen
4152ce886b
Update release-notes.md
2016-04-22 23:45:39 +02:00
Bjørn Erik Pedersen
7da9163df9
docs: More on release notes
2016-04-22 21:37:36 +02:00
Bjørn Erik Pedersen
efa9bdcc11
docs: Order by Lastmod in release notes
2016-04-22 20:47:21 +02:00
Bjørn Erik Pedersen
eb627ca16d
docs: Order by Lastmod
2016-04-22 20:46:04 +02:00
Alvaro Garcia
fbca53ac32
docs: Add notion of exiting the themes folder in quickstart
2016-04-22 19:47:59 +02:00
Cian Ruane
fe2b22fe6f
docs: Grammar fixes in overview/quickstart.md
2016-04-22 19:43:11 +02:00
lynxiayel
19afa5ee6c
docs: Update showcase screenshot of yulinling.net
2016-04-22 19:36:33 +02:00
Bjørn Erik Pedersen
81a2466b80
docs: Add some more fixes to release notes
2016-04-22 19:03:46 +02:00
digitalcraftsman
ebefa47691
docs: Move image-width fix to style.css
2016-04-22 18:23:12 +02:00
Cameron Moore
76738347d3
docs: Fix findRE typo
2016-04-21 12:38:40 -05:00
Bjørn Erik Pedersen
a8e05b1196
docs: Fix some typos in release notes
2016-04-21 11:27:12 +02:00
Bjørn Erik Pedersen
56cd308184
doc: Get feature list of 0.16 release notes up to date
2016-04-21 11:23:54 +02:00
Bjørn Erik Pedersen
01c3389857
📚 Add ENV support to release notes
2016-04-20 23:50:43 +02:00
Bjørn Erik Pedersen
5e9b147c2a
docs: Add some doc about ENV config
...
See #2090
2016-04-18 18:45:37 +02:00
digitalcraftsman
0743c76795
docs: Fix typo in tutorials/how-to-contribute-to-hugo.md
2016-04-17 20:57:21 +02:00
Ernie Hershey
215b8939bd
docs: Fix grammar in templates/partials.md
...
Noticed this sentence seemingly missing a word or two.
2016-04-15 18:57:30 +02:00
callmelanmao
fed5f20f89
docs: Add tutorialonfly.com to the showcase
2016-04-15 18:54:42 +02:00
digitalcraftsman
4b4bfa6a9c
docs: Fix lastmod date for chipsncookies in showcase
2016-04-15 18:45:46 +02:00
David Coallier
6fdb0ca6eb
docs: Add barricade.io to the showcase
2016-04-15 18:43:55 +02:00
Sam Debruyn
ba0a661410
docs: sa.muel.be has moved to chipsncookies.com in showcase
2016-04-15 18:31:07 +02:00
Robert Basic
24cb0d1f58
tpl: Do not write to cache when ignoring cache
...
Fixes #2067
Closes #2069
2016-04-14 10:48:26 +02:00
Bjørn Erik Pedersen
88759eecf7
docs: Add plainIDAnchors change to release notes
2016-04-12 18:39:07 +02:00
Bjørn Erik Pedersen
0d9a5f8023
docs: Update default for plainIDAnchors
2016-04-12 18:36:45 +02:00
Bjørn Erik Pedersen
2468b10eb3
docs: Fix example for Param method
...
Fixes #2070
2016-04-11 13:26:33 +02:00
Robert Basic
37fb2d43e5
helpers: Ignore cache for Pygments when flag set
...
When the --ignoreCache flag is set to true, do not write and read
the Pygments results to/from the cache directory.
Fixes #2066
Closes #2068
2016-04-10 20:55:57 +02:00
Bjørn Erik Pedersen
ff7eec2f48
docs: Regenerate the commands docs
2016-04-09 23:01:55 +02:00
digitalcraftsman
b7efbdc12f
hugolib: Add option to disable rendering of 404 page
...
Fixes #1889
Closes #2037
2016-04-09 20:25:59 +02:00
Göran Svensson
39c74b70dc
docs: Add commercial services to the "Tools" section
2016-04-09 14:03:45 +02:00
JoeArizona
88a07b7564
docs: Fix missing step in Windows version check instructions
...
The procedure Start button --> Settings --> About was missing a step. Corrected it to: Start --> Settings --> System --> About. Also replaced ASCII arrows (-->) with Unicode right arrow character (U+2192).
2016-04-09 13:43:40 +02:00
Erik Ebsen
65f9427031
docs: Document Go 1.6's new ability to trim whitespace
2016-04-09 13:21:23 +02:00
Bjørn Erik Pedersen
e4d328d835
docs: Fix Go version in install guide
2016-04-09 13:16:56 +02:00
digitalcraftsman
ac1ec5c72c
docs: Remove remaining Mercurial references
2016-04-09 12:40:58 +02:00
digitalcraftsman
e6e98bf52d
docs: Remove Mercurial from contribution tutorial
...
Fixes #2064
2016-04-08 21:52:50 +02:00
digitalcraftsman
ebf3cef162
docs: Add "How to contribute to Hugo" tutorial
2016-04-08 19:18:58 +02:00
Julien Chien
16ad628114
docs: Fix references to section list templates
...
Fixes #2032
2016-04-08 10:15:48 -05:00
Anthony Fok
6d2898b33b
docs: Correct date for proper sorting in showcase
2016-04-08 20:23:10 +08:00
Sven Dowideit
1648e327c0
Document and clean SourceRelativeLinksEval code
2016-04-07 20:10:38 +02:00
digitalcraftsman
5bfe16ef8d
tpl: Add findRE template func
2016-04-05 22:26:03 +02:00
Bjørn Erik Pedersen
54750b0780
Do not create robots.txt by default
...
Meny people, including me, have a custom robots.txt in static.
Also remove that option from the command line; it doesn't feel
important enough.
Fixes ##2049
2016-04-05 22:20:39 +02:00
Philipp Oppermann
43b5dfabb5
Disable syntax guessing for PygmentsCodeFences by default
...
This disables highlighting for fenced code blocks without explicitly specified language. It also introduces a new `PygmentsCodeFencesGuessSyntax` config option (defaulting to false).
To enable syntax guessing again, add the following to your config file: `PygmentsCodeFencesGuessSyntax = true`
This is a breaking change.
2016-04-04 22:19:36 +02:00
ysqi
0698f294c6
docs: Add yushuangqi.com to the showcase
2016-04-04 20:37:39 +02:00
digitalcraftsman
dea06f863e
docs: embed YouTube video in Windows installation tutorial
2016-04-03 14:28:12 +02:00
JohnBlood
2304614639
docs: Update set PATH instructions for Windows
2016-04-03 14:22:50 +02:00
JohnBlood
1adf40355b
docs: Add alternative for Wordpress import
...
I have had trouble getting the Wordpress to Hugo exporter working, so I
added this tip for others to take advantage of.
2016-04-03 13:35:42 +02:00
digitalcraftsman
4502c4e3ae
docs: Add documentation for hasPrefix template func
...
Fixes #2039
2016-04-03 00:44:43 +02:00
Bjørn Erik Pedersen
c2277fcbc1
docs: Add doc and a test for readDir
...
Fixes #2009
2016-03-31 23:16:42 +02:00
Bjørn Erik Pedersen
4f66f790b1
Add readFile template func
...
This also includes a refactor of the hugofs package and its usage.
The motivation for that is:
The Afero filesystems are brilliant. Hugo's way of adding a dozen of global variables for the different filesystems was a mistake. In readFile (and also in some other places in Hugo today) we need a way to restrict the access inside the working dir. We could use ioutil.ReadFile and implement the path checking, checking the base path and the dots ("..") etc. But it is obviously better to use an Afero BasePathFs combined witha ReadOnlyFs. We could create a use-once-filesystem and handle the initialization ourselves, but since this is also useful to others and the initialization depends on some other global state (which would mean to create a new file system on every invocation), we might as well do it properly and encapsulate the predefined set of filesystems. This change also leads the way, if needed, to encapsulate the file systems in a struct, making it possible to have several file system sets in action at once (parallel multilanguage site building? With Moore's law and all...)
Fixes #1551
2016-03-31 21:24:18 +02:00
digitalcraftsman
a89035bdaa
docs: Mention CLA in the showcase contribution guidelines
2016-03-30 18:01:50 +02:00
Rob Muhlestein
6a3a6f683d
docs: Remove incorrent reference to list.html
2016-03-30 17:54:31 +02:00
digitalcraftsman
93e41a1fb2
docs: Fix typo in templates/functions.md
2016-03-28 17:04:29 +02:00
Rob Muhlestein
d65fbfe16c
docs: Add surge.sh to main page of static site hosters
...
See #1994
2016-03-28 16:44:13 +02:00
Robert Basic
effaf6c2c9
docs: Document GitHub flavoured code fences
...
Fixes #1259
2016-03-28 16:38:28 +02:00
Robert Basic
e35a69216e
docs: Document lastmod variable
...
Fixes #1351
2016-03-28 16:33:50 +02:00
Robert Basic
50506ebeac
docs: Document the split function
...
Fixes #1997
2016-03-28 15:58:41 +02:00
Scopel Emanuele
4c95b70020
docs: Add silvergeko.it to the showcase
2016-03-28 14:48:01 +02:00
Robert Basic
79af7143c9
docs: Add robertbasic.com to the showcase
2016-03-27 19:52:07 +02:00
digitalcraftsman
977b0e342c
docs: Adapt commit message for showcase additions
2016-03-25 12:32:46 +01:00
Bjørn Erik Pedersen
048e07422d
Add Scratch to shortcode
...
Fixes #2000
2016-03-21 21:11:20 -04:00
Bjørn Erik Pedersen
e5e1bcc271
Add plainify template function
...
To strip away any HTML. May be useful for the .Title in head etc.
People may shoot themself in the foot with this, maybe ...
The replacement function is pretty fast.
2016-03-21 20:27:25 -04:00
Cameron Moore
f52b040ee1
docs: Draft of 0.16 release notes
...
Also included is an enhancement to the gh shortcode to support sending commit
hashes by prepending "0x" to the hash.
2016-03-21 14:08:39 +01:00
Cameron Moore
b0326a1c0f
tpl: Treat booleans as set in default function
...
Booleans and `default` don't really make sense together, so we'll always treat
booleans as "set" and return the given value.
2016-03-16 20:05:48 +01:00
digitalcraftsman
b5c718a4de
docs: Fix typos in functions.md and contributing.md
2016-03-16 13:04:41 +01:00
digitalcraftsman
612c61146d
Docs: move tutorial screenshots in their own subfolder
2016-03-12 13:08:46 +01:00
JoeArizona
a103d58162
Docs: update Windows install instructions
...
- updated the instructions to account for Windows 10 path editor
- linked to third-party editors for pre-10 Windows
- separated instructions for technical and non-technical users changed
D drive paths to C drive since D is the default optical drive on most
Windows systems
- cut the assumption about 64-bit Windows since 32-bit binary is also available
- cut the assumption about command line since we're giving GUI instructions
to non-technical users
- cut a bug in the doc where we had people typing D: at the command prompt
*after* submitting `cd D:\Hugo\Sites.` Recommend snipping 386 and AMD from
ZIP file names, since they don't add useful info and will just confuse novices.
2016-03-12 13:02:54 +01:00
Jason Gowans
6fb4e0718a
Docs: add Aerobatic as a deployment option in the Introduction
2016-03-12 12:19:56 +01:00
Jason Gowans
d9049752dc
Docs: add tutorial for Hosting on Bitbucket
2016-03-12 12:19:31 +01:00
Daniel Compton
153dccc0e8
Add debugging steps for no variables defined
2016-03-12 21:44:50 +13:00
Bjørn Erik Pedersen
cafb784799
Add emoji support
...
This uses the Emoji map from https://github.com/kyokomi/emoji -- but with a custom replacement implementation.
The built-in are fine for most use cases, but in Hugo we do care about pure speed.
The benchmarks below are skewed in Hugo's direction as the source and result is a byte slice,
Kyokomi's implementation works best with strings.
Curious: The easy-to-use `strings.Replacer` is also plenty fast.
```
BenchmarkEmojiKyokomiFprint-4 20000 86038 ns/op 33960 B/op 117 allocs/op
BenchmarkEmojiKyokomiSprint-4 20000 83252 ns/op 38232 B/op 122 allocs/op
BenchmarkEmojiStringsReplacer-4 100000 21092 ns/op 17248 B/op 25 allocs/op
BenchmarkHugoEmoji-4 500000 5728 ns/op 624 B/op 13 allocs/op
```
Fixes #1891
2016-03-11 15:51:37 -06:00
Salar Rahmanian
5926c6c8d5
Update showcase entry and article link to softinio.com
2016-03-11 22:31:59 +01:00
Cameron Moore
b8d3651242
tpl: Add replaceRE function
...
This commit addes a `replaceRE` template function. Regexp patterns are compiled
once and cached.
2016-03-11 19:59:18 +01:00
Konstantin Kliakhandler
e9008b91fa
Allow picking a specific file out of a gist
2016-03-11 18:29:07 +01:00
Avery Rosen
0667d8a0f5
Add engineering.mongodb.com to the showcase
2016-03-10 21:46:12 +01:00
Shekhar Gulati
6cb032b67e
Docs: use Shekhar Gulati's Hugo tutorial as quickstart guide
2016-03-10 20:36:54 +01:00
Cameron Moore
f3f9763afd
tpl: Add time note to default func description
2016-03-10 17:47:59 +01:00
Cameron Moore
09c8c17bf0
tpl: fix default function
...
This commit fixes a few things:
1. `given` is now a variadic parameter so that piping works properly
2. add separate template tests to make sure piping works
3. support time values
4. add more tests of the dfault function
2016-03-10 17:47:59 +01:00
Cameron Moore
0743646f32
docs: add better default example
2016-03-10 17:47:59 +01:00
Cameron Moore
ce9ee3cf49
tpl: Add default function
2016-03-10 17:47:59 +01:00
digitalcraftsman
94c3825e5b
Add md5 and sha1 template funcs
2016-03-10 11:03:06 +01:00
Bjørn Erik Pedersen
9896cd0030
Add reference to parent shortcode
...
Fixes #1936
2016-03-09 11:06:40 +01:00
Steve Moser
866176be97
Docs: fix missing words, tense in datadrivencontent.md
2016-03-07 20:39:55 +01:00
Fabio Alessandro Locati
0f48631351
Add viglug website to showcase
2016-03-07 18:30:16 +01:00
Horst Gutmann
64ed64d93f
Add h10n.me to the showcase
2016-03-07 18:09:01 +01:00
Fabio Alessandro Locati
2a75e9704e
Add fale.io website to showcase
2016-03-07 18:03:09 +01:00
Bjørn Erik Pedersen
429b669a29
doc: Correct Scratch slice example
2016-03-06 16:38:38 +01:00
Bjørn Erik Pedersen
c7d2260420
doc: Add some Scratch slice samples
2016-03-06 16:36:46 +01:00
Bjørn Erik Pedersen
eaba04e82b
Add list support in Scratch
2016-03-06 15:44:17 +01:00
Bjørn Erik Pedersen
435e996c4f
Add jsonify template func
2016-03-06 15:01:14 +01:00
Samuel Debruyn
cc38a40f4e
Docs: fix typo in tools section
2016-02-29 21:59:43 +01:00
digitalcraftsman
c1f8b188f7
Add template function slice
2016-02-27 17:04:45 +01:00
Thijs de Zoute
ff4ca99286
Press: add "Comparison site built with Hugo"
2016-02-26 21:32:54 +01:00
Shekhar Gulati
ac2eaca06d
Press: add tutorial written by Shekhar Gulati
2016-02-24 20:07:16 +01:00
Marq Martí
c59bdc20af
Press: add article from sitelabs.es
2016-02-24 19:57:35 +01:00
Akagi201
d1bf2f5435
Docs: fix typo in introduction.md
2016-02-24 19:43:05 +01:00
Wouter Spee
086d6540c3
Add cdnoverview.com to the showcase
2016-02-24 19:37:05 +01:00
Paul Koppen
060f0206ee
Docs: remove .Taxonomies from Page variables
...
The property seems to have never existed on Pages.
Fixes #1865 .
2016-02-24 19:22:53 +01:00
Thijs de Zoute
d607f4c7df
Docs: fix small typos in functions.md
2016-02-24 19:14:04 +01:00
Ratson
3749dc76f7
Docs: add "Minify Hugo Generated HTML" to press
2016-02-24 19:04:45 +01:00
digitalcraftsman
df17fae532
Docs: add hugo-lunr to the tools section
2016-02-16 23:14:22 +01:00
Andrew Langhorn
ce7c267140
Docs: clarify that Amazon WS is, actually, AWS
...
Amazon WS is an uncommon way of referring to Amazon Web Services, which
is usually referred to either by its full name, or as AWS.
2016-02-14 12:12:03 +01:00
Gustav Näslund
4ecf019e2f
Add gntech.se to the showcase
2016-02-14 12:03:57 +01:00
digitalcraftsman
2b1ad54617
Docs: fix typo in YouTube shortcode description
2016-02-13 16:41:25 +01:00
Darrel Herbst
06e90b1237
Add documentation for Google Analytics internal template
...
Fixes #1654
2016-02-13 11:41:21 +01:00
Cameron Moore
207a574f0c
Docs: fix Disqus shortname reference
2016-02-13 11:23:21 +01:00
digitalcraftsman
cfbae7cea2
docs: Add guideline for showcase additions
2016-02-13 10:05:08 +08:00
Jörgen Nilsson
42f43ad433
Add jorgennilsson.com to showcases
2016-02-12 15:24:22 +01:00
shelan
d1b0290fef
Add shelan.org to showcase page
2016-02-07 23:38:51 +01:00
Rick Cogley
d1d7702c06
Add a benefit and a simple example to return current year
...
Thanks @bep!
2016-02-07 13:04:35 +08:00
Ray Lai
49c2761b28
docs: Fix typo: Janapese → Japanese
2016-02-07 12:53:13 +08:00
Cameron Moore
45df4596bb
tpl: Add humanize func and cleanup lint
...
Add humanize (inflect.Humanize) to the template funcMap. Documentation and
tests are included.
Various code cleanups of the template funcs:
- Break pluralize and singularize out into stand-alone funcs.
- Sort the list of funcMap entries.
- Add some minimal godoc comments to all public funcs.
- Fix some issues found by golint and grind.
2016-02-06 15:31:25 +01:00
Anthony Fok
ed23711e2e
Optimize seven recently added Showcase thumbnails
...
Reducing their total size from 960KB to 308KB.
2016-02-06 17:27:06 +08:00
Vladislav Supalov
5a7837cdf0
Added showcase for datapipelinearachitect.com
2016-02-04 18:35:55 +01:00
David Allen
868d0745b3
Added showcase for davidrallen.com
2016-02-03 22:26:11 +01:00
digitalcraftsman
ec02b9908c
Fixed example and cross-reference in content/variables.md
...
Fixed a path in a Page Params example to reflect real directory
structure, removed extra quotes from sample code, and fixed link to
Archetypes which read "cross-references" before.
See #1805
2016-02-01 16:54:27 +01:00
Rick Cogley
243fbbf0f9
Update lastmod date and screenshot for Rick Cogley site
2016-02-01 16:18:16 +01:00
Cameron Moore
9b8d2ce52b
Remove destination from config file docs
2016-01-30 07:47:41 -06:00
digitalcraftsman
9015aa5b84
Docs: fix some typos in templates/variables.md
2016-01-30 11:12:24 +01:00
Renato Vargas
817d69487c
Expanded the Page Params section in variables.md
...
Expanded on the use of Page Params in the templates/variables.md
documentation. Added sample code for something that keeps coming up on
discuss.github.io
2016-01-30 01:24:55 +01:00
digitalcraftsman
cd36d752a3
Add autostart option to YouTube shortcode
2016-01-29 16:23:41 -05:00
Steve Francia
9f3796a31d
Read/reread individual source content files
...
next is incremental conversion
2016-01-26 14:26:23 -05:00
leepenney
0525fbddbc
Add leepenney.com to showcase page
2016-01-24 16:22:55 +00:00
Brynjar Harðarson
eae46bdc1f
Add Web Study List to showcase page
2016-01-21 23:35:13 +00:00
digitalcraftsman
8537cecb00
Docs: add Hugopit to tools section
2016-01-21 14:30:06 +01:00
tcnksm
e27beadfe8
Add Rakuten Tech Blog in showcase page
2016-01-20 22:36:24 +01:00
callmelanmao
ca8d187b0d
add javaunion in showcase
2016-01-20 11:58:35 +08:00
Bjørn Erik Pedersen
58a183c330
Docs: Add doc for string and int
2016-01-16 00:06:32 +01:00
Anthony Fok
dd85c29091
Docs: Add missing "-b master" parameter to "git submodule add" command
...
for correct deployment on GitHub Pages. Thanks, @adrianmoya!
Fixes #1777
2016-01-14 01:24:45 -07:00
Anthony Fok
dd1d655617
Docs: Change the pseudo-absolute path to a relative one
...
See #1765
2016-01-09 11:57:14 -07:00
Emily Horsman
082476e713
Docs: add emilyhorsman.com (buttercup theme) to showcase
2016-01-09 11:02:27 -07:00
Anthony Fok
2c66167431
Docs: Copyedit extras/robots-txt.md
2016-01-06 21:11:02 -07:00
Bjørn Erik Pedersen
01f71babfc
docs: Add lastmod to content files
...
Based on last commit in Git.
2016-01-06 23:55:18 +01:00
ominty
9d70e78031
Update press.md
...
New entry: Harald Weidner in german at Cologne Linux Meeting 2015: Link to set of slides available on bottom of page
2016-01-06 12:02:42 -05:00
Ivan Fraixedes
9a6dc6c791
Add embeded template for robots.txt
2016-01-05 23:36:16 +01:00
Anthony Fok
851c16ef3b
Docs: Run "brew update" before "brew install hugo"
...
Remind user to always run "brew update" first in order to avoid
repeated bug reports from users who didn't do that.
See #824 , #1067 , #1537 , #1633 and #1749
2016-01-04 23:36:57 -07:00
Alexandre Bourget
bc48b4606a
Added documentation about variable scoping in "partials".
2016-01-04 12:42:48 -05:00
Alexandre Bourget
8f8120ba14
Added "Caddy server"'s handling of 404 errors.
2016-01-04 12:42:47 -05:00
Kartik Singhal
0bb3b49c00
Update doc to reflect default value of watch variable
2016-01-04 12:35:26 -05:00
Gerben Castel
6cdb8109cf
Allow renaming of sitemap.xml
2016-01-04 12:28:49 -05:00
Anthony Fok
f310492cb0
Add to press.md two articles about Hugo on AWS Lambda
...
and one article about WordPress-to-Hugo migration
2016-01-03 05:14:13 -07:00
ominty
b309fe853e
Update press.md
...
Fix table, and add new entry
2016-01-02 13:25:04 -07:00
digitalcraftsman
dfa34afd86
Add template funcs countwords and countrunes
2016-01-02 11:00:03 -05:00
digitalcraftsman
47587321d9
Add themesDir option to configuration
...
themesDir can be used to change the default
path of the themes folder.
Fixes 1556
2016-01-01 14:46:40 -05:00
digitalcraftsman
b56362defd
Docs: add hugodeploy to tools section
2015-12-31 14:38:09 -07:00
ominty
3b2a78ba10
Add to press.md Beginners Tutorial for Hugo (German)
2015-12-31 14:34:49 -07:00
digitalcraftsman
fc627d5553
Docs: remove unnecessary --watch flag
2015-12-26 20:03:23 -07:00
digitalcraftsman
796ef3a335
Docs: add cross-references to installation guides
2015-12-26 20:03:23 -07:00
Igor Kulman
cd54042c76
Add Coding Journal (blog.kulman.sk) to the Showcase
2015-12-25 04:12:17 -07:00
Anthony Fok
cb8f459127
Docs: Add nohighlight shortcode and improve formatting
...
And some random formatting and copyediting fixes.
See also #1708
2015-12-23 09:31:07 -07:00
Anthony Fok
22bd485072
Docs: Add lang attribute to Chinese and Japanese Press entries
...
This helps the web browser display the article titles and author names
with the correct CJK glyph variants.
2015-12-23 03:40:52 -07:00
Anthony Fok
f24ffc9c3d
Docs: Allow HTML in Showcase titles
...
This allows, for example, marking with the lang attribute
so that the correct CJK glyph variants are displayed.
2015-12-19 06:15:08 -07:00
Anthony Fok
00fc038da7
Document 32-bit hugo server
crash in v0.15 Release Note
...
See #1716
2015-12-19 04:33:45 -07:00
Salar Rahmanian
5af8cc2970
Add gadgetplayboy.com to Showcase and an article to Press
2015-12-19 01:05:03 -07:00
digitalcraftsman
32da9b20bc
Docs: add hugo-lambda to tools section
2015-12-17 10:28:52 -07:00
Anthony Fok
868e4798d5
Fix formatting of "Installing on Windows" tutorial
2015-12-16 18:43:55 -07:00
Anthony Fok
67b4c52466
Regenerate the commands section of doc
...
Reason: The `--source` flag was added back to the `hugo new` commands
in commit c1e134f
.
See #1624 , #1589
2015-12-16 09:26:06 -07:00
digitalcraftsman
78576019cf
Docs: reference Jekyll import command in tools section
2015-12-16 00:00:05 -07:00
digitalcraftsman
ebc187b480
Docs: add Contentful converter to tools section
2015-12-16 00:00:05 -07:00
Anthony Fok
d5ebf64836
Remove/update outdated links in Press and Showcase
2015-12-13 05:57:18 -07:00
Maxime Michel
38c5db98b5
Added a missing closing tag
2015-12-11 10:51:17 -07:00
Anthony Fok
f22d59bb19
Revise docs/content/tools/index.md (minor fixes)
2015-12-11 10:49:38 -07:00
Michael Holt
1469ce0edf
Remove Duplicate "Editor Plugins" Section
...
Editor Plugins was repeated a second time. with identical content
2015-12-11 10:36:21 -07:00
Cameron Moore
280b2f294e
Document PreserveTaxonomyNames
...
Fixes #1648
2015-12-11 10:17:26 -07:00
Anthony Fok
4a2623c899
Regenerate the commands section of doc
...
See #1624
2015-12-11 09:50:36 -07:00
Cameron Moore
768370a503
Docs: remove references to dynamic CMS products
...
There's no need to call out other projects here, especially when we might
mischaracterize what they do.
See #1688
2015-12-11 09:25:00 -07:00
Cameron Moore
9ae07c4f21
Docs: document Node.IsHome
2015-12-11 09:18:05 -07:00
Anthony Fok
f363faadab
Add a number sign "#" before a GitHub issue number
...
to make it more readily recognizable.
2015-12-02 13:11:24 -07:00
Cameron Moore
6812229bb8
Add gh shortcode to docs site
...
The `gh` shortcode has two modes: users and issues. For user mode, pass a list
of `@username` arguments. For the issues/PR mode, pass a list of issue or PR
numbers. PRs link to the "issues/" URL since Github redirects to the correct
URL.
Thanks to @ryanclarke for suggesting an improved template.
2015-12-02 12:18:04 -07:00
tryer3000
6959b7fa80
Update external tutorial links in usage.md
2015-12-02 07:03:54 -07:00
Takeru Naito
c5e68ba197
Fix typo in "Creating a New Theme"
...
the the skeleton's ->
the theme skeleton's
2015-12-01 00:13:48 -07:00
David Oliver
91771ee3b6
Add Draft page variable to docs
...
Also tweaks language used in page params sentence.
2015-11-30 23:38:34 -07:00
Gustav Näslund
b0b6a8c7ac
Use .Site.Pages in the documentation examples instead of .Site.Recent
2015-11-30 23:31:18 -07:00
Valentin Vago
d7ef272a23
Add Camunda blog and docs showcases
2015-11-30 23:16:58 -07:00
Anthony Fok
b557f6249f
Change plainIdAnchors to plainIDAnchors in docs
...
Also add a note saying that these blackfriday flags are
very case-sensitive as of Hugo v0.15.
Thanks to @ryanclarke for noticing the change in behaviour.
See also spf13/hugo@5838420
2015-11-30 00:19:04 -07:00
Anthony Fok
249cd62541
Copyedit the shortcodes documentation some more
2015-11-29 23:23:25 -07:00
digitalcraftsman
2e3d5c2df6
Docs: improve shortcodes page
...
See #1613
2015-11-29 22:01:31 -07:00
Anthony Fok
cf732940a3
Remove an erroneous "$" prompt in quickstart guide
2015-11-29 21:43:49 -07:00
Doug Horner
c83e10a48e
Added the command in the documentation.
...
It was confusing that the command was not in step 5, while it is in step 6.
2015-11-29 21:38:52 -07:00
Michael Henderson
09379e893e
Update for version 0.16
...
Updated output of commands. Removed unneeded flags such as
--watch. Didn't resist the temptation to reword some parts.
2015-11-28 07:09:42 -07:00
digitalcraftsman
2519b70793
Docs: remove note about config changes and manual livereload
2015-11-27 15:40:17 -07:00
digitalcraftsman
ffb1a96e76
Docs: improve usage.md
2015-11-27 15:40:17 -07:00
digitalcraftsman
37676a25c6
Docs: improve quickstart guide
...
Fixes #1553
2015-11-27 15:40:16 -07:00
ChristophFloat
72a66972b6
Update press.md
...
Include my Blogpost about using Hugo together with git to automatically
generate the site when you push it into your Repo using a Git Hook (German).
2015-11-26 16:41:44 -07:00
Bjørn Erik Pedersen
26af48a596
Add note in doc about Jekyll import
2015-11-25 23:18:20 +01:00
Bjørn Erik Pedersen
f77a899ddd
Regenerate the commands section of doc
2015-11-25 23:11:16 +01:00
Steve Francia
9c1319cdea
Update license file in the docs/website to apache
2015-11-25 08:33:38 -05:00
Cameron Moore
9410d25e96
Update release notes with additional new features
2015-11-25 09:30:17 +01:00
Steve Francia
171fb883de
Update and reorganize 0.15 release notes
2015-11-24 16:51:01 -05:00
Bjørn Erik Pedersen
0f11eb4f12
Make the release note about renderToDisk more consise
...
See #1611
2015-11-24 21:13:02 +01:00
digitalcraftsman
234fac4a45
Update release notes
2015-11-24 21:10:35 +01:00
digitalcraftsman
311307c9e4
Add IsNamedParams property in shortcodes
2015-11-24 08:59:32 +01:00
digitalcraftsman
86dcac614b
Add documentation for built-in shortcodes
...
Fixes #1576
2015-11-24 08:59:32 +01:00
Cameron Moore
fe2a9fa21d
Update shortcode docs with .IsNamedParams
...
There are some minor cleanups included here as well.
Fixes #1607
2015-11-24 08:47:06 +01:00
Cameron Moore
3abb2675c5
Add RSSLink to SiteInfo
2015-11-20 23:38:15 +01:00
Anthony Fok
e59aabcf46
docs: Change "Github" to "GitHub"
2015-11-20 14:24:22 -07:00
digitalcraftsman
2e1d2ba018
Add Go in 5 minutes to the showcases
2015-11-20 13:49:27 -07:00
digitalcraftsman
a5bd101d27
Docs: fix typo in template function section
2015-11-20 13:30:27 -07:00
Cameron Moore
c5a4c07b89
Add SafeJS template function
...
This commit adds a SafeJS template function. Tests and documentation are
included.
Fixes #1579
2015-11-20 21:12:01 +01:00
Bjørn Erik Pedersen
7c9a2dfee2
Add increased time.Time support to the 0.15 release notes
2015-11-20 19:18:38 +01:00
Steve Francia
f99730e84e
fix broken image in showcase
2015-11-20 10:26:21 -05:00
Matt Stratton
923e455731
Add Arrested DevOps site to Showcase
2015-11-20 10:16:04 -05:00
Steve Francia
97d0689580
Hugo server watch by default
2015-11-20 10:14:24 -05:00
Anthony Fok
4ecf56b891
Add latest review from Smashing Magazine to Press page
2015-11-16 22:54:15 -07:00
spf13
df824fa31b
Hugo server renders and serves from memory by default (30%+ improvement)
2015-11-16 22:00:11 -05:00
Anthony Fok
452ffab461
Copyedit docs/content/tools/index.md
2015-11-16 06:59:14 -07:00
Anthony Fok
2fec32a2da
Add @wicast’s "Hugo is cool" post to Press page
2015-11-16 06:51:57 -07:00
tuxy
5c6d8c57b9
Add ReadText project to Site Showcase
2015-11-16 06:14:32 -07:00
Richard Sumilang
39933111b9
Adding LosslessLife blog to showcase.
2015-11-16 06:03:28 -07:00
digitalcraftsman
1a26e35136
Docs: add hugofy to tools
2015-11-15 11:05:17 -05:00
digitalcraftsman
d7588fac21
Docs: fix typo in tools section
2015-11-13 11:19:55 -07:00
digitalcraftsman
b8effd8a17
Docs: add hugofy to tools
2015-11-13 04:25:34 -07:00
digitalcraftsman
b4ebd0eb57
Update release notes
...
Note the new built-in Google Analytics template.
2015-11-13 04:21:05 -07:00
Coders Digest
8e68a6487c
Adding article about moving to hugo
2015-11-13 03:51:13 -07:00
Fabiano Frizzo
469d268cc8
doc: Add new article by Fabiano Frizzo to Press
2015-11-10 16:05:16 -07:00
spf13
bccf957e36
Add support for dynamic reloading of config file when watching
2015-11-09 23:31:52 -05:00
digitalcraftsman
341dcc4765
Docs: fix broken links
2015-11-06 08:51:40 -05:00
digitalcraftsman
9dbb6dc50d
Add internal Google Analytics template
...
This commits also adds the GoogleAnalytics
variable to insert the tracking code.
Fixes #1424 .
2015-11-04 17:11:38 -05:00
Arjen Schwarz
ca55ea505a
Improvements to Automated Deployments tutorial
...
Prevent some frequently occurring problems
* Ensure version number is between quotes
* Ensure git and SSH are installed for the deployment step
* Focus extra attention on the wercker.yml verification site
2015-11-02 23:27:55 -07:00
Anthony Fok
e1729935b5
doc: Add new article by Thomas Peham to Press
2015-10-31 10:54:55 -06:00
Timothy Hopper
08b3004fcb
Update link to S3 deploy instructions
...
Previous link goes to page with warning "This article is outdated"
2015-10-31 10:09:34 -06:00
Sergey Mudrik
c8f2a57430
Fixed link to Google Prettify
...
Google Prettify has been moved to github
2015-10-31 09:54:14 -06:00
Robert Aistleitner
42453357aa
add bugtrackers.io to hugo docs showcases
2015-10-31 09:50:42 -06:00
Arun Sori
277d0ae4a5
Fix spell mistake in variables.md
2015-10-31 09:47:07 -06:00
Shivanshu Agrawal
1ce3bb22f8
add ninjaducks.in to showcase
2015-10-31 09:36:50 -06:00
Shai Efrati
50c819cede
Remove dots from snippets.
...
See confusing issue #1513 .
2015-10-30 15:08:49 -06:00
digitalcraftsman
3d96dfc924
Docs: fix typo under tools section
2015-10-30 14:47:06 -06:00
Anthony Fok
e95db67b20
Add smartDashes flag for Blackfriday
...
To allow the end users to disable any form of smart dashes
(LaTeX-style or not) while keeping the rest of Blackfriday
SmartyPants features.
Depends on https://github.com/russross/blackfriday/pull/190
"Add HTML_SMARTYPANTS_DASHES for toggling smart dashes"
to be accepted by Blackfriday developers.
2015-10-30 13:30:25 -06:00
Tobias
4e9a5d8bd1
Fix some typos in docs
2015-10-17 13:48:10 +02:00
Bjørn Erik Pedersen
c274e21356
Add Param to release notes
...
See #1462
2015-10-12 06:11:01 +02:00
Bjørn Erik Pedersen
65beca13b0
Add Param to the docs
...
See #1462
2015-10-12 06:11:01 +02:00
Anthony Fok
3586d77bd5
Docs: Add pointers to the new themes.gohugo.io site
...
in "Themes Overview" and "Installing Themes".
TODO: Should look at all other pages and see where else
we should add pointers to the Hugo Themes site.
2015-10-10 10:52:23 -06:00
Bjørn Erik Pedersen
002227e05e
Add dict
func to release notes
2015-10-09 18:51:03 +02:00
NotZippy
3a27cefec1
Add dictionary function to be passed into a template
...
Allows templates to dynamically build maps.
Example usage: Creating and passing a map to a subtemplate while in a range on the parent.
2015-10-09 18:29:16 +02:00
coderzh
ccd83c3040
Docs: Added hasCJKLanguage
global config flag and isCJKLanguage
FrontMatter
...
See #1399
2015-10-09 16:26:48 +02:00
Bjørn Erik Pedersen
2c045ac449
Remove RuneCount from doc
2015-10-06 18:48:42 +02:00
Bjørn Erik Pedersen
5ec6a61d97
Add Mmark GitHub-flavoured markdown to release notes
2015-10-06 14:16:29 +02:00
Ramon Bartl
7ecf2a55c1
Docs: Added RIDING BYTES to Showcase Page
2015-10-05 17:38:13 -04:00
Maxime Michel
622d872418
Adding maximeguitare.com to showcase
2015-10-05 17:35:19 -04:00
Bjørn Erik Pedersen
0387deee03
Add Jekyll import to release notes
2015-10-04 20:10:29 +02:00
vsopvsop
ead339abbe
is it .md instead of .ad?
2015-09-30 16:35:46 -04:00
Michael Käufl
7fd42af3b1
Used leading slash more consistently
2015-09-30 16:33:11 -04:00
Michael Käufl
d06ebc98e1
Marked the whole path as code
2015-09-30 16:33:10 -04:00
Bjørn Erik Pedersen
7708d4556d
Add the base64 template funcs to release notes
2015-09-25 21:34:32 +02:00
digitalcraftsman
79f8bb625d
Add base64Decode and base64Encode template functions
...
Fixes #1416
2015-09-25 21:31:55 +02:00
Ben Turner
a43b037651
Change port number from 1414 to 1313 (default)
...
Change the port number to access the site locally from 1414 to 1313 as per the default and the image.
2015-09-23 19:07:01 -06:00
Bjørn Erik Pedersen
82f770a6f5
Remove superfluous g
in docs
2015-09-23 09:18:20 +02:00
digitalcraftsman
493147a73f
Tools: Add more to tools to the list
2015-09-22 22:34:35 +02:00
Bjørn Erik Pedersen
06caa025a4
Fix typo in docs
...
See #1438
2015-09-22 22:33:41 +02:00
Bjørn Erik Pedersen
8d695ec592
Add singularize template func
...
See #1438
2015-09-22 22:31:02 +02:00
Bjørn Erik Pedersen
751d4906ef
Add pluralize template func
...
Fixes #1438
2015-09-22 22:25:25 +02:00
vsopvsop
74924dd50d
correct spelling for 'including' and 'counterpart'
2015-09-20 19:31:35 -06:00
Anthony Fok
ab0d29aa51
Press: Update URL to Spencer Lyon’s “Hugo and GitHub Pages”
...
Spencer had moved his web site from http://sglyon.com/ to
http://spencerlyon.com/ . Special thanks to @vsopvsop
for noticing the dead link on the Press coverage page.
Resolves #1446
2015-09-20 17:33:08 -06:00
Anthony Fok
740dc2caf1
Press: New URL to Kenny Woo’s blog about Hugo
...
Kenny had moved his blog from http://kennywoo.com/ to http://kenwoo.io/
2015-09-20 17:25:04 -06:00
vsopvsop
c397c0b238
dead link
...
Hugo over Octopress
http://kennywoo.com/blog/hugo---golang-based-static-site-generator/
2015-09-20 07:42:40 -06:00
vsopvsop
0bdb9b7da4
Link no longer works - Dead link
...
http://commiechink.com/2014/08/hello-hugo/
2015-09-18 20:46:56 -06:00
Ben Turner
c2a7c456cc
Fix typo in terms.md
2015-09-15 21:23:44 -06:00
Anthony Fok
e67bee93ce
Revert "docs: Fix URL to yulinling.net (https → http) in Showcase"
...
This reverts commit ca74dd233d
.
2015-09-15 06:12:25 -06:00
Samuel Prashker
1abc12a949
docs: Fix typo in url extras
2015-09-14 14:40:38 -06:00
Anthony Fok
ca74dd233d
docs: Fix URL to yulinling.net (https → http) in Showcase
2015-09-14 14:32:38 -06:00
lynxiayel
68b8dd73de
Add yulinling.net to Showcase
2015-09-14 14:12:49 -06:00
Anthony Fok
cd4f36ba57
docs: Optimize recent thumbnail images in Showcase
2015-09-14 14:04:21 -06:00
Anthony Fok
0a80ead5c9
docs: Fix formatting in overview/usage.md
2015-09-14 12:47:43 -06:00
Anthony Fok
397080eabe
docs: Add a few more blog articles to Press
...
Also add ` ` to one of the dates in the table
to prevent the Date column from wrapping
2015-09-14 12:44:33 -06:00
Anthony Fok
db85299c00
Complete the Url-to-URL transition in docs
...
See #959
2015-09-13 05:22:12 -06:00
digitalcraftsman
833a396f6b
Docs: extend the migration tool list and add a cross-reference in the start guide
2015-09-12 21:51:35 +02:00
digitalcraftsman
60f7394bdc
Docs: Add a section about tools around Hugo
2015-09-12 15:41:56 +02:00
Anthony Fok
c7521b3d67
docs: Change redirect documentation to aliases
...
Fixes #962
2015-09-10 03:08:32 -06:00
Anthony Fok
cec9054bb8
docs: Remove empty sourceLink from two sites in Showcase
...
The empty sourceLink created an empty HTML anchor
which got pointed back to http://gohugo.io/showcase/
2015-09-08 22:35:26 -06:00
Kohei Yoshino
93b3898633
Add FxSiteCompat.com to Showcase
2015-09-08 22:58:43 -04:00
spf13
9e526b65d3
fix showcase to render properly
2015-09-08 22:55:17 -04:00
Richard Sumilang
daf5f32cba
Adding RichardSumilang.com to the showcases.
2015-09-08 11:35:33 -04:00
Benoit Benedetti
aec0e17ae1
Docs: Add Humboldtux.net to Showcase page
2015-09-08 11:34:52 -04:00
Benoit Benedetti
c7b701eae3
Docs: Add new french mag article by @humboldtux to Press page
2015-09-08 11:34:18 -04:00
jlengstorf
9f75a51854
Added details about generated files and development flows
2015-09-08 11:32:47 -04:00
Isaac Gregson
d6f6945525
Update organization.md
...
Increases clarity on the different between `section` and `type`.
The current `section` information here is wrong (sections can *not* be specified in front matter). This caused quite the headache. This change fixes this and also adds `type`, since it *can* be specified in front matter.
2015-09-08 11:25:59 -04:00
sergeant
138ffefd6a
Add NoDesk to Showcase
2015-09-08 09:11:44 -04:00
sergeant
ea852b8dc7
Add NoDesk to Showcase
2015-09-08 09:11:44 -04:00
digitalcraftsman
d584ca59f0
Describe the use of custom archetypes in the docs
2015-09-08 09:03:03 -04:00
Karim Ali
16cbda979c
Add GreenITGlobe website for showcases page
2015-09-08 08:56:41 -04:00
Hugh Grigg
570d4e4cc4
Add Chinese Grammar to showcase
2015-09-08 08:54:56 -04:00
Anthony Fok
1b8440af50
Docs: Add new blog post by @CoderZh to Press page
2015-09-01 12:06:34 -06:00
chrongzhang
52d94fa675
Add config option "disablePathToLower"
...
Enabling this prevents lowercasing of the path/url.
Fixes #557
2015-09-01 15:26:02 +02:00
Bjørn Erik Pedersen
fd2fc1d3ce
Polish 0.15 release notes
2015-08-23 15:14:48 +02:00
Bjørn Erik Pedersen
1e06dfd12c
Add first draft of Hugo 0.15 Release Notes
2015-08-23 14:20:14 +02:00
Francois Lanthier Nadeau
35ff685c30
Update press.md
...
New article about Hugo on the Snipcart blog.
2015-08-19 07:50:52 -06:00
Benny Wu
d313bc78a4
Documentation update on Template Where Function for nil
2015-08-13 23:05:10 +02:00
Michael Diamond
209166a261
Added sitemap configuration documentation.
2015-08-08 15:04:52 -06:00
Michael Diamond
caaf637068
Added mention of .Data.Pages, removed duplicate .Site.Pages mention.
2015-08-08 14:54:46 -06:00
Anthony Fok
cafcd1909f
docs: Remove minodisk's http://dsk.mn/ from Showcase
...
The domain dsk.mn expired in January 2015,
and unfortunately I was unable to reach the author
nor find his replacement website.
2015-08-08 14:48:01 -06:00
Anthony Fok
68b424c233
docs: Clean up and align Showcase thumbnail images
...
Some of the thumbnails in Showcase were out of place
because of several irregularly sized thumbnails,
and some of them almost 300KB in filesize.
Resize them all to 600x400 (pixels), and use the `-tn.png`
suffix.
When necessary, the website snapshot is re-captured using
gnome-web-photo. Then, the following commands (or a combination
thereof) are used to crop and resize the image into a thumbnail,
and to reduce its filesize:
$ convert example.png -crop 900x600+0+0 \
-filter Lanczos2Sharp -distort Resize 600x400 \
example-tn.png
$ pngquant --nofs -v --speed 1 --quality 65-80 example-tn.png
$ optipng -o7 -zm1-9 example-tn-or8.png
$ mv example-tn-or8.png example-tn.png
2015-08-08 14:22:48 -06:00
Bruno Calheira
b14b90435a
Add Arqueart to Showcase
2015-08-07 23:34:59 -06:00
Bruno Calheira
8c3b6f8b62
Create arqueart.md
2015-08-07 23:34:59 -06:00
Anthony Fok
ee7dd2929f
docs: More detailed explanation of .Site.LastChange
2015-08-07 23:30:11 -06:00
Austin Dizzy
6511e2c48f
Removed extra .Site.LastChange listing
2015-08-07 23:13:18 -06:00
Baptiste Mathus
7a681035ce
Doc for other supported formats (external helpers)
...
As Hugo now supports more formats thanks to the new "external helpers"
feature recently introduced, and as requested by some people, I added
some lines in the doc:
* basically confirming it actually exists
* how to use it
2015-08-07 22:55:03 -06:00
Bjørn Erik Pedersen
cea82842f0
Rename ReadDir to readDir
...
To make it consistent with the other template funcs.
2015-08-07 14:33:48 +02:00
Anthony Fok
5b19a26556
docs: Extend documentation on Blackfriday options
...
Especially to spell out how the `latexDashes` flag
changes the behavior of smart dashes
2015-08-05 16:24:03 -06:00
Anthony Fok
4a2eda49cd
Add option to disable Blackfriday Smartypants
...
Can be used in site config or per page front matter:
```
[blackfriday]
smartypants = false
```
2015-08-04 21:42:32 +02:00
Anthony Fok
eb519afefd
docs: Fix typos
2015-08-04 13:01:25 -06:00
Anthony Fok
ab8e189a2a
docs: Bolden the blackfriday flags to make them stand out
...
And other minor HTML/CSS tweaks.
2015-08-04 12:34:47 -06:00
Anthony Fok
5505ac0d72
doc: Strip trailing whitespace; other revisions
...
Make some random and non-comprehensive changes to the
template functions documentation to make them more
consistent.
2015-08-04 12:00:08 -06:00
Anthony Fok
f2ab0b2608
Improve formatting of Hugo command descriptions
...
Trying to make them look good both in the terminal (`hugo help [command]`)
and in the web browser (http://gohugo.io/commands/ ). :-)
2015-08-04 03:19:57 -06:00
Marek Janda
4bed69629e
Add map support to scratch
2015-08-02 17:23:36 +02:00
Anthony Fok
211b757fee
[Docs] Add <br> to an extra-long title in the Press page
2015-08-01 11:38:58 -06:00
Bjørn Erik Pedersen
738f9561ab
docs: add netlify article to press section
2015-07-31 13:43:45 +02:00
Russell Oliver
81e69c416d
Add ReadDir function to list local files.
...
Includes documentation.
2015-07-25 21:56:38 +02:00
Sam Debruyn
6674189bc2
The guide is updated to fit the current Wercker interface and configurations.
...
Wercker changed its interface and default infrastructure (Docker).
2015-07-24 14:35:39 +02:00
Bjørn Erik Pedersen
027abcfbb9
docs: fix prev in highlightling
2015-07-24 11:31:26 +02:00
Szymon Katra
9c8ce0d935
Added szymonkatra.github.io site to showcase
2015-07-24 11:26:24 +02:00
Scott C Wilson
cdefb5a027
Fix links to Ace and Amber pages
2015-07-24 11:22:05 +02:00
Scott C Wilson
de38524cd1
Add scottcwilson.github.io to showcase site
2015-07-24 11:21:56 +02:00
Bjørn Erik Pedersen
47e65c4acd
docs: Rename dynamic content to data-driven content
...
Fixes #925
2015-07-23 12:54:58 +02:00
Scott C Wilson
dec9749bbc
Document Amber templates
...
Fixes #1064
2015-07-20 15:28:20 +02:00
Christopher Eliot
7f1bcd89b2
Fix link to front matter
...
added leading backslash, changing [front matter](content/front-matter) to [front matter](/content/front-matter)
2015-07-19 19:41:20 +02:00
Clam-
85f4935dec
Fix unclear RSS template docs
...
The documentation for the RSS templating is a little unclear.
http://gohugo.io/templates/rss/
Some users may attempt to look for a ```__internal``` directory rather than assume that's the aforementioned "Hugo own template."
Here's my suggestion.
2015-07-19 19:40:34 +02:00
digitalcraftsman
bfcf95b9de
Add mention about .Hugo.Generator in 'Creating a theme' section
2015-07-19 19:39:32 +02:00
Bjørn Erik Pedersen
1a94148d06
Add paginator support for page groups
...
Fixed #1274
2015-07-18 14:53:52 +02:00
Bjørn Erik Pedersen
77c60a3440
Add RuneCount to Page
...
Fixes #1266
2015-07-12 11:05:37 +02:00
Arian Allenson M. Valdez
c4f81840f7
Change arianv sourceLink to master branch
2015-07-09 19:13:31 +02:00
Arian Allenson M. Valdez
88fe0e7c2c
Add learnoverpass
2015-07-09 19:13:31 +02:00
Arian Allenson M. Valdez
5f69d3d654
Add arianv
2015-07-09 19:13:31 +02:00
Sam Debruyn
6807151a22
add a showcase of sa.muel.be
2015-07-09 10:56:40 +02:00
Borys Borysenko
c6d46ff2bd
[Docs] Press page. Fix URL
2015-07-09 10:52:00 +02:00
kangkona
450dc7a411
Add a showcase of Kangkona
2015-07-08 07:42:04 +02:00
Rick Cogley
a945412475
Add how-to for foreign language month names
...
FYI @nicolinuxfr, added the month name example.
2015-07-08 07:38:52 +02:00
Rick Cogley
617fa2fe65
Add Rick and eSolia's sites to the Hugo docs showcase
2015-07-08 07:37:30 +02:00
Marc-Antoine Ruel
24c8226cbf
Document Page.RawContent in templates/variables/
2015-07-02 19:24:30 +02:00
Bjørn Erik Pedersen
a509a23255
Add doc for new Blackfriday options
...
See #1220
See #1231
2015-06-28 15:27:47 +02:00
Mario Sanchez Carrion
d118d03714
Create mariosanchez.md
...
Submitting site for consideration in Hugo Showcase
2015-06-26 21:26:08 +02:00
tim
1b50ccd162
add vamp.io site as showcase
2015-06-26 20:59:40 +02:00
Jonathan Anderson
0987e98db3
Add support for baseof.ace templates in themes.
...
When we find a template that requires a base template, we should also look
for that base template in the current theme.
Fixes #1215 .
2015-06-25 18:05:43 +02:00
Bjørn Erik Pedersen
67209dbfb3
docs: make the named value Data File example simpler
2015-06-22 20:25:17 +02:00
Sebastian Krause
e96624cce8
Update datafiles.md
...
additional example for named data values
2015-06-22 00:02:48 +02:00
Rick Cogley
847ad36e45
Add new tutorial for multilingual sites
...
Simple tutorial showing one pattern for creating a multilingual site in
Hugo.
2015-06-16 12:17:09 +02:00
Ariejan de Vroom
cc9536ec46
Update docs for last
template function
2015-06-15 21:18:38 +02:00
Ariejan de Vroom
40a92a062d
Add after
to template function documentation
2015-06-15 21:18:38 +02:00
bep
beaa1b3aad
Add some docs for IgnoreFiles
...
See #1189
2015-06-03 13:46:52 +02:00
vsopvsop
2690a8c1ea
Update introduction.md
2015-05-31 13:49:41 +02:00
bep
beffe756a9
docs: getting usage up to spec
2015-05-27 11:59:19 +02:00
Anthony Fok
2a40475235
Add two articles about Hugo to the Press page
...
* http://jbrodriguez.io/mobile-friendly-website-2/
* http://blog.hypriot.com/post/moved-from-posthaven-to-hugo/
2015-05-26 21:46:40 -06:00
bep
beaa09a7f6
docs: add bepsays.com to showcase
2015-05-26 10:51:57 +02:00
Jeff Ramnani
102a3b95ae
Document techniques for debugging templates.
...
This information was previously scattered around in the forums and
mailing list. Add it to the official docs to make things easier for new
users.
Fixes #1167
2015-05-26 10:01:45 +02:00
spf13
fa58ef5394
Add GopherCon to the showcase
2015-05-25 11:55:48 -04:00
spf13
6f0b80c952
Add GoGB to the showcase
2015-05-25 11:55:33 -04:00
spf13
45efc5e4dc
Add DavidePetilli to showcase
2015-05-25 11:55:19 -04:00
spf13
fe38dc2fa0
update release notes
2015-05-25 11:55:04 -04:00
spf13
20cb4c9314
Add new directions for maintaining press page
2015-05-25 11:54:47 -04:00
spf13
f49b63a4dd
Move press page to top level menu
2015-05-25 11:54:22 -04:00
spf13
4a1773963b
add dozens of articles to the press page
2015-05-25 11:53:37 -04:00
spf13
4c850b6921
Update release notes in prep for v0.14.0
2015-05-23 22:04:12 -04:00
bep
be778c3160
docs: some more on absURL, relURL
2015-05-22 23:43:02 +02:00
bep
be1366074c
docs: add doc for substr
...
Fixes #1156
2015-05-22 22:36:25 +02:00
bep
be4376a022
docs: add doc for slicestr
...
See #1156
2015-05-22 22:20:45 +02:00
bep
be2e08c4ad
docs: add doc for seq
...
See #1156
2015-05-22 22:17:41 +02:00
bep
be4a404f28
docs: add ToC to some more pages
2015-05-22 20:45:52 +02:00
Jeff Ramnani
0d65ca27fd
Docs: Add taxonomy term variables to the list of vars.
...
Taxonomy Term pages have variables in addition to those on "node"
pages. Documenting these variables with all the other node variables
makes them easier to find.
Fixes : #1155
2015-05-22 19:41:34 +02:00
Jeff Ramnani
7125103b1e
Add ".Render" to the list of functions.
...
Fixes : #1153
2015-05-22 19:38:01 +02:00
Rick Cogley
321bac2fc2
Clarifying Edits for templates/rss.md
...
Added clarification for RSS doc page.
* a little formatting to make key words jump out
* emphasize that you can create your own
* add how to link to the feed in <head>
* add what .RSSlink does
* added point that a link to an RSS feed should be of type application/rss+xml
2015-05-22 19:35:27 +02:00
bep
be2842da18
Fix formatting in hugo command description
2015-05-21 20:05:29 +02:00
bep
be831d7409
Fix CLI command description for the top level
...
And regenerate the commands doc.
2015-05-21 13:30:11 +02:00
bep
599d1b9786
Add gendoc command
...
Using the new, great auto-doc in Cobra.
This commit also contains a current result of that command added to a commands section in docs.
Fixes #1136
2015-05-19 10:57:21 -04:00
bep
be920fdb2c
Add a line in doc about the RelativeURL setting
...
Fixes #1145
2015-05-17 15:44:33 +02:00
bep
be5f865c5c
Add bugfix to releasenotes
2015-05-17 15:01:28 +02:00
bep
be1bac9ff4
Add some bullet points to 0.14 rel notes
2015-05-16 18:11:52 +02:00
Andre R
84f4c21d4a
Fix datePublished to publishdate
2015-05-16 15:58:37 +02:00
Rick Cogley
6b5ed88cde
Edits on aliases, comments, theme customizing
...
Fleshed out aliases section, loading the "redirect" keyword so that it's easier to find. Specifically added a "how aliases work" section.
Added Discourse to comments section.
Fleshed out themes/customizing, because it seems to be the source of a lot of questions on the forum.
2015-05-16 15:38:18 +02:00
Rick Cogley
6453bb5838
Edit docs extras syntax highlighting.md
...
Added a bunch of clarifying narrative, looking at the discussion forum for what people are asking about, and what I myself was confused about.
* clearer separation of advantage of each style - server or client side - at the top
* inconsistent newlines (different column widths) so I just removed them from obvious paragraphs
* added that the highlight shortcode is not used for the client-side javascripts
* Hugo is taking crap for Pygments being slow, so tried to emphasize that's it's in Pygment's lap. I got your back, Hugo.
* On client-side added prism example
* More clarity on how the css and js needs to be added to your templates
* Explained how the client-side scripts work
2015-05-16 15:31:16 +02:00
Rick Cogley
e522e5f415
Edits to templates/404.md
...
Added bit about how the 404.html page has to be set to load automatically - auto on Github but needs config on other web servers.
Also tweaked the text a little to emphasize it's a node type, and explain a little more about where the 404 template should be saved.
2015-05-16 00:05:45 +02:00
bep
be5fa2f3bd
docs: reverse taxonomy entries
2015-05-12 18:46:55 +02:00
bep
be72f234f8
docs: Use ToC length to pick the compact version
2015-05-11 22:23:35 +02:00
bep
be82355570
Add doc for absURL and relURL
...
Also group URL related functions in doc.
2015-05-11 19:09:04 +02:00
bep
be4f48652d
Add ToC to long pages
...
* A compact, fixed box in the right screen
* Only for big screens, > 1200 px wide
2015-05-11 18:39:42 +02:00
bep
be16e5ffb9
Add absURL and relURL to release notes
2015-05-11 18:06:38 +02:00
bep
be0c1bfe13
Add docs for Section Menu for “the Lazy Blogger”
2015-05-10 16:18:19 +02:00
bep
be7e746f2b
Add list of deprecated names to release notes
2015-05-10 15:41:13 +02:00
bep
beb1735d04
Add issue to release notes
2015-05-10 15:26:03 +02:00
bep
be52eff699
Some notes on 0.14 rel notes
2015-05-09 22:03:51 +02:00
Bill Traynor
feba35cd1f
Added in set PATH and new site output.
...
I added in the instructions for how to add the hugo.exe to the PATH variable. And I added in example output post new site command.
[close #1058 ]
2015-05-08 22:36:42 -04:00
bep
beccdc04f3
Add bind to release notes
2015-05-07 22:08:17 +02:00
Yosuke INOUE
3596b1b810
Add blackfriday/ExtensionsMask option.
2015-05-07 21:12:28 +02:00
bep
beacfcf865
doc: move the index func reference to where it's used
2015-04-29 22:40:33 +02:00
Rick Cogley
da08fad5f3
Add index reference to go template primer doc page
...
Related to @bjornerik 's answer in this discussion: http://discuss.gohugo.io/t/inserting-data-from-data-file-into-content-file-newbie-question/1002/3 ... I figured I'd make myself useful and add the reference to the index function, on the go template primer page.
Also, I moved the reference links to the bottom.
A general comment: as good as these docs are, the primer at this point makes some assumptions about audience knowledge, so some might find it lacking. Once I understand better, I might make some more clarifying edits.
2015-04-29 21:06:21 +02:00
Rick Cogley
a8f91ace11
Clarify partials folder subfolders
...
A couple of edits to clarify that the layout/partials folder can contain arbitrarily-named subfolders, since I found the examples using ``{{ partial "post/tag/list" . }}`` confusing. Some folders are named specifically to work a certain way with hugo, but although the examples use key functional section and taxonomy names like post and tag, it does not matter what they are called. Hopefully this will help other newbs.
2015-04-27 11:44:26 +02:00
Rick Cogley
9e13ac9a8f
Single rather than double backticks in types.md
...
Whoops, I had the new hugo new as double backticks but it appears only single are needed.
2015-04-25 00:06:29 +02:00
Rick Cogley
6b69f951c8
Clarify hugo new command in types.md
...
Elsewhere in the docs commands are entered as code, so to be consistent with that, added backticks and the word hugo.
2015-04-25 00:06:28 +02:00
bep
be01f8430e
Add shortcut to Scratch from shortcode
2015-04-19 14:50:27 +02:00
bep
bef25432d1
doc: clarify Scratch usage in shortcodes
2015-04-19 11:30:11 +02:00
bep
be62c94872
Check spelling and some minor additions to Ace doc
2015-04-18 23:06:18 +02:00
bep
be7c1e5dd4
Add doc for Ace templates
...
Fixes #1063
2015-04-18 20:23:28 +02:00
bep
be24457acf
Add more options to highlight
...
Fixes #1021
2015-04-15 20:31:06 +02:00
Florian Baumann
0fcb78e43b
Added isso as a Disqus alternative to the docs
...
Hi,
I'm using isso with my hugo blog which works just fine.
I think this should be added to the docs :)
Thanks!
2015-04-10 22:45:22 -06:00
Anthony Fok
1b5b0b3a94
Add "Google Cloud Storage" article to docs Press page
...
See #1055
2015-04-10 14:19:54 -06:00
Samuel Lelièvre
1f4a3c1f38
Typo in mathjax.md
2015-04-10 18:18:14 +02:00
complexsplit
3b1db70af5
Add Google Cloud Storage to doc
2015-04-10 18:12:59 +02:00
mdhender
42dcaabf4f
Document getenv template function
...
Add `getenv` to the template function documentation.
2015-04-05 18:14:40 +02:00
mdhender
9a499b56c9
Add a section comparing the 'build' and 'server'
...
One of the first things that new users have to understand is the
difference between Hugo as a web server and Hugo as a web site
generator. Issue #852 asked for documentation to make that clear.
This patch updates the overview page with that information. It will
seem repetitive to users that understand the difference. Weigh that
against the needs of those that don't.
Reference #852
2015-04-04 23:58:10 +02:00
mdhender
6b50c8fb82
Sort function names in templates documentation
...
The documentation on the functions is long. It is easier to find
a function name when they are sorted within the sections.
Fixes #981
2015-04-04 23:30:08 +02:00
Alex Dunn
9de78aab3f
docs: how to compile on mac, fix minor errors
2015-04-04 22:30:42 +02:00
bep
72aa516c75
documentation: mention data files under liverload
2015-04-01 23:26:33 +02:00
bep
bec22f8981
Add pager size argument to paginator methods
...
Fixes #1013
2015-03-31 19:12:56 +02:00
mdhender
06d704f243
Updates documentation with instructions for a Windows computer
...
Adds step-by-step instructions for installing from the official
tarball.
Fixes #1007
2015-03-31 00:35:38 -06:00
Bruno Clermont
3b2e1006fc
Capitalize singular
...
Added in #523 it's ``Data.Singular``
2015-03-30 16:55:55 +02:00
Michael Henderson
0ab345236d
Updates documentation with instructions for a Mac
...
Adds step-by-step instructions for installing from both brew and
the official tarball. Not sure if steps for installing from source
belong here, so left them out.
Fixes #1005
2015-03-30 16:54:38 +02:00
sainaen
6a539db58e
Update embedded rss.xml code in the docs
2015-03-30 16:50:44 +02:00
Anthony Fok
b3bd71fec9
Update Hugo docs with the initialisms suggested by golint
...
In particular:
* .Url → .URL (for node, menu and paginator)
* .Site.BaseUrl → .Site.BaseURL
* getJson → getJSON
* getCsv → getCSV
* safeHtml → safeHTML
* safeCss → safeCSS
* safeUrl → safeURL
Continued effort in fixing #959 .
2015-03-18 11:30:37 +01:00
Anthony Fok
ca69cad8aa
Press: Add "Migrating to Hugo From Octopress" by Nathan LeClaire
2015-03-18 00:32:19 -06:00
Anthony Fok
a220a3ba37
[Docs] Copyedit http://gohugo.io/extras/dynamiccontent/
2015-03-17 23:53:17 -06:00
Anthony Fok
f848dc92db
[Docs] Update and expand http://gohugo.io/overview/usage/
...
The `hugo help` output as shown in http://gohugo.io/overview/usage/
was not yet updated for v0.13. Thanks to @alebaffa for the heads up!
Also:
- Clarify that, after using `hugo server`, the bare `hugo` command
need to be run before deployment.
- Add a section on running `hugo` as production web server,
and add links to two blog posts of two Hugo users sharing
their experience.
Partially fixes : #852 and #937
2015-03-12 08:53:48 -06:00
Anthony Fok
d3c0fde5be
Update press coverage: Fix URL; new tutorial in Chinese
2015-03-12 08:50:31 -06:00
Saint Asky
ecb2aca6a2
Update github-pages-blog.md
...
change `hugo serve` to `hugo server`
2015-03-05 01:46:06 -07:00
bep
ab5862cd00
Allow the same shortcode to be used with or without inline content
...
Fixes #934
2015-03-02 21:49:33 +01:00
Anthony Fok
bb13d82677
[Docs] NetBSD and ARM pre-built binaries are already provided
...
See https://github.com/spf13/hugo/releases
What a pleasant surprise indeed!
How come I have never noticed them before?
And even `.deb` files are provided! How amazing!
2015-02-21 23:26:34 -07:00
spf13
e43eabacee
Updating the final release notes for v0.13
2015-02-21 22:31:01 -05:00
Anthony Fok
88e7c031a8
[Docs] Clarify the switch to canonifyurls = false
as default
...
Quote from @spf13: "I also think it's the better default
and should continue to be the case going forward."
Also mention the use of `hugo config` to check the current value
of `canonifyurls`, thanks to suggestion by @bep.
Fixes #802
2015-02-21 14:50:14 -07:00
Anthony Fok
ac189fd514
Update README.md and overview/installing.md
...
- Clarify that Hugo may be built wherever Go is available;
- Add links to Git, Mercurial and Go;
- Unlist Bazaar: No libraries that Hugo depends on use it any more;
- Suggest the user to simply run `make` to build `hugo`
to get `hugo version` to display the commit hash.
2015-02-21 13:42:15 -07:00
riboflavin
aeddaee901
add note that running with watch doesn't produce a site suitable for deployment
2015-02-17 19:17:38 -08:00
karland
e31536dd85
Add information to highlighting with Payments
...
Conflicts:
docs/content/extras/highlighting.md
2015-02-17 12:35:39 -05:00
Cyrill Schumacher
41c0e82f95
Moved futured getSQL topic to another branch
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
b209f44335
getJson and getCsv documentation proof reading by @msjulias
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
4342dd84fc
Update Dynamic Content docs
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
48a6d44786
Update doc
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
47b7cfeb44
Add getSQL idea
2015-02-17 12:14:39 -05:00
Cyrill Schumacher
fdf8db9c21
Initial doc file: Dynamic Content
2015-02-17 12:14:39 -05:00
Anthony Fok
cb9fa62743
[Docs] Minor copyediting of highlighting.md
...
Also add `apt-get` command for installing Pygments.
2015-02-17 01:59:40 -07:00
karland
bd0de85dbc
Add information to highlighting with Pygments
2015-02-17 01:49:44 -07:00
karland
1827680bea
List of variables
...
Some variables are currently not documented and others are explained
across the document. So, I tried to pull an overview from the source.
Pls double check. I am not 100% sure, what the purpose of some variables
is or whether they are only relevant for previous versions. Thanks
2015-02-17 01:28:20 -07:00
Maxime Michel
09ed3c4b92
Fixed a typo
2015-02-17 01:16:41 -07:00
Anthony Fok
63e7b9705f
[Docs] Add pointers to roadmap; new tweet and article
2015-02-16 09:02:56 -07:00
Ivan Fraixedes
366f991694
Another link in the same page
2015-02-14 18:35:37 -05:00
Ivan Fraixedes
b389a92383
Fixed invalid link to partials
2015-02-14 18:35:37 -05:00
Joseph Kaptur
462e666f45
Update docs so that figure
includes the class
parameter.
2015-02-14 18:35:00 -05:00
bep
4820683330
Doc Data Files: Add section about themes and expanded the example a bit
2015-02-12 09:09:35 +01:00
Anthony Fok
664fd99135
Change "ctrl+c" to "Ctrl+C"
2015-02-11 01:11:50 -07:00
midinastasurazz
dbb86679a1
Fix typo: GetJson -> GetCsv
2015-02-11 00:57:17 -07:00
Greg Restall
7e28db18f2
Add showcase entry for consequently.org
...
Consequently.org is a personal site for an academic, with a blog, list
of publications, classes and talks, all managed by hugo.
2015-02-11 00:31:44 -07:00
spf13
e3daa359ec
Update release notes for v0.13
2015-02-10 10:58:20 -05:00
bep
371c148c34
Fix alias for data files doc
2015-02-09 16:58:12 +01:00
bep
03fff880ec
Add docs for Data Files
...
Fixes #887
2015-02-09 16:52:52 +01:00
Anthony Fok
4c7e119ca1
[Docs] Say which directory to clone the hugoThemes
...
On http://gohugo.io/overview/quickstart/ , explicitly state
that hugoThemes is to be cloned from within the working directory,
like it is stated on http://gohugo.io/themes/installing/ .
Fixes #886
2015-02-08 19:52:27 -07:00
bep
dd9344816a
Scratch doc: Use the special $ variable to prevent confusion
2015-02-01 20:36:43 +01:00
bep
f264076f66
Add doc for Scratch
2015-01-31 22:01:30 +01:00
Anthony Fok
659f71e617
[Docs] Fix more missing .
in example partial
calls
2015-01-31 07:27:42 -07:00
Dan Hatch
20bed49f52
Fixed syntax error in 404.html template code
2015-01-31 01:01:50 -07:00
Anthony Fok
d397bc4f43
[Docs] Complete the transition from "indexes" to "taxonomies" (almost)
...
Also mention `.Site.Indexes` → `.Site.Taxonomies` as well as
the upcoming `.Site.Recent` → `.Site.Pages` transitions.
2015-01-29 12:48:14 -07:00
Anthony Fok
ba44e860a3
[Docs] Copyediting
...
* Add meta author, description and generator tags
* Add Hugo version beside the logo and in the footer
* Suggest the user to run `go get -u -v` to update dependencies
* Requires Go 1.3+ rather than Go 1.1+
* Improve rendering/formatting in some places
* Add trailing slash to URLs where appropriate
* GitHub redirects all http requests to https, update accordingly
2015-01-28 18:02:40 -07:00
Anthony Fok
8e6cbe82f3
Some housekeeping of the Showcase and Press pages
2015-01-28 13:25:07 -07:00
Dan Hersam
06b1a88358
Added three videos to documentation.
...
Created shortcode for YouTube videos and made the videos responsive in the
stylesheet.
2015-01-27 23:44:46 +01:00
bep
0b5f8c8cb3
[doc] Improve paginator doc
2015-01-27 21:56:45 +01:00
bep
0c2297075a
Linkify release notes
2015-01-26 20:42:08 +01:00
bep
fb594fc6e0
Set detault for Paginate to 10
...
10 is a better default than 0, since no paginator pages will be created unles referenced by a `.Paginator`.
See #750
2015-01-26 15:26:19 +01:00
bep
a6d22bcf7d
Add documentation for pagination
...
See #750
2015-01-26 14:56:26 +01:00
bep
3628d0bbc6
Add pagination to release notes
2015-01-26 13:06:32 +01:00
Naoya Inada
407e80a9ab
Add site-wide/per-page [blackfriday] extensions
option
2015-01-26 09:55:37 +01:00
Wade Wegner
39b2cdece0
Wrong URL for Github Pages
2015-01-25 23:00:16 -07:00
Kartik Singhal
ea72f15f38
Correct wercker URL
2015-01-25 09:44:28 -07:00
Naoya Inada
57b4f3310b
Fix inverse notation
2015-01-25 00:13:10 -07:00
Anthony Fok
eb686352b1
Add site-wide/per-page [blackfriday] fractions
option
...
Make Blackfriday's `HTML_SMARTYPANTS_FRACTIONS` option
user-configurable. Defaults to `true` as before. See
discussions at:
http://discuss.gohugo.io/t/any-way-to-disable-smart-fractions/328
Thanks to @bjornerik and @spf13 for laying the groundwork
making it easy to expose Blackfriday's underlying configurable
options.
2015-01-24 20:57:40 +01:00
Anthony Fok
b345ca26cb
[Docs]: Add new press/blog coverage about Hugo
2015-01-23 11:46:39 -07:00
bep
1b42dc572a
Fix RelPermalink() and Urls in menus vs canonifyUrls
...
canonifyUrls=true, RelPermalink and baseUrl with sub-path did not work.
This fixes that by adding a check for canonifyUrl=trues=true in RelPermalink().
So given
- baseUrl "http://somehost.com/sub/ "
- the path "some-path/file.html"
For canonifyUrls=false RelPermalink() returns "/sub/some-path/file.html"
For canonifyUrls=true RelPermalink() returns "/some-path/file.html"
In the last case, the Url will be made absolute and clickable in a later step.
This commit also makes the menu urls defined in site config releative. To make them work with canonifying of urls, the context root is prepended if canonifying is turned off.
Fixes #519
Fixes #711
2015-01-23 14:13:00 +01:00
Anthony Fok
743998306a
[Docs] Document the new (temp?) default of canonifyurls = false
...
Also add a **Caveat** on http://gohugo.io/tutorials/github-pages-blog/
warning the reader that a `canonifyurls = true` must be added
for Spencer's old example files to work.
Fixes #802
2015-01-22 18:04:07 -07:00
bep
6db6d33bec
Add dateFormat to release notes
2015-01-22 01:19:02 +01:00
Tatsushi Demachi
37490ee27a
Add dateFormat template function
...
This is the implementation of the proposal at #235 and
http://discuss.gohugo.io/t/parsing-dates-in-templates/603/3
2015-01-22 00:08:30 +01:00
Peter Krautzberger
e5be592ee0
fix outdated MathJax CDN URL
...
The rackspace address has been retired, see http://www.mathjax.org/changes-to-the-mathjax-cdn/
2015-01-21 03:16:04 -07:00
Anthony Fok
173aa53b8a
[Docs] Use of $.
to access global context from anywhere
...
See #804 , http://discuss.gohugo.io/t/templates-multiple-parameters/600/3
and http://stackoverflow.com/questions/16734503/access-out-of-loop-value-inside-golang-templates-loop
for related discussions.
2015-01-21 00:35:12 -07:00
Anthony Fok
f015e9b8e0
[Docs] Recommend the use of backticks for IE conditionals
...
Special thanks to @tatsushid and @bjornerik for the insight!
Fixes #778 .
2015-01-20 23:45:26 -07:00
Anthony Fok
a17c290a33
[Docs] Correct description of "Read More" links in Summaries
...
Also revise some paragraphs for succinctness.
Fixes #788
2015-01-20 15:45:57 -07:00
Nikolay Kirsh
932214d725
fix --uglyUrls params
2015-01-20 13:51:15 -07:00
Anthony Fok
1348caa6de
[Docs] Add a note about the plan to switch to Apache License
2015-01-20 07:49:50 -07:00
Anthony Fok
2342655fde
[Docs] Incorporate some great ideas by @mohae into the safeUrl
docs
...
E.g. how `#ZgotomlZ` is used to "defang" the URL
2015-01-20 00:24:47 -07:00
Anthony Fok
724cc0ddff
Add safeUrl
; disable safeHtmlAttr
; rename safeCSS
to safeCss
...
- Add `safeUrl` template function (Fixes #347 )
- Add TestSafeUrl() fashioned after @tatsushid great examples
- Disable `safeHtmlAttr` pending further discussions on its other
use cases because `safeUrl` is a cleaner solution to #347 .
(There are also `safeJs` and `safeJsStr` that we could implement
if there are legitimate demands for them.)
- Rename `safeCSS` to `safeCss` (to follow the convention of `safeHtml`)
- Add/expand documentation on `safeHtml`, `safeCss` and `safeUrl`
2015-01-19 23:41:22 -07:00
Anthony Fok
53b4ab4cf3
Revert "[Docs] Use <dl> for definition lists of variables"
...
This reverts commit 5d6dfe81b8
.
The extra styling in docs/static/css/style.css has been retained.
2015-01-19 11:44:14 -07:00
Anthony Fok
4609f77a80
[Docs] New testimonials and press coverage
...
Found on @spf13's Twitter. :-)
Prevent the testimonial dates from wrapping.
Also fix a few minor problems to get the home page
to validate as proper HTML5.
2015-01-19 04:16:54 -07:00
Anthony Fok
b56c9db6dc
[Docs] Add FreeBSD logo beside the FreeBSD name
...
Extracted from https://www.freebsd.org/logo/logo-simple.svg
for temporary use until a future Font Awesome release adds
the `fa-freebsd` glyph (github/FortAwesome/Font-Awesome#1116) :-)
Make .fa `display: inline` to prevent unwanted line-wrapping
Also make the menu item "Issue & Help" line up with the others.
2015-01-19 02:48:44 -07:00
Anthony Fok
5d6dfe81b8
[Docs] Use <dl> for definition lists of variables
...
Hopefully making them more semantic and easier to read,
though it is raw HTML so it is slightly more work to maintain.
Also made minor revisions to some of the variable descriptions
to be more informative, e.g. `:monthname` in permalinks use
full English names ("January" etc.)
2015-01-19 01:30:38 -07:00
bep
56eead2ade
Fix broken doc section
2015-01-19 08:14:57 +01:00
bep
7257ab6855
Update release notes with the new Hugo var
2015-01-19 02:58:27 +01:00
bep
109e6f95fd
Merge branch 'master' of github.com:spf13/hugo
2015-01-19 02:41:16 +01:00
Derek Perkins
ac6b86aff8
Added top level .Hugo variable with version, commit and generator information + docs
...
Added Version, CommitHash and BuildDate to hugolib/hugo.go and used it in build
Removed commitHash and buildDate from commands/version.go and used hugolib vars
Removed getDateFormat function from commands/version.go
Conflicts:
README.md
docs/content/templates/variables.md
2015-01-19 01:22:23 +01:00
Anthony Fok
1dfd0225e3
[Docs] Minor revisions to future v0.13 Release Note
...
And a tiny bit of copyediting here and there.
2015-01-18 13:27:09 -07:00
Anthony Fok
a2c8871533
[Docs] New "Troubleshooting Overview" page
...
Somewhat cheesy at the moment.
Pull requests to improve the page are very welcome!
2015-01-18 13:27:09 -07:00
bep
90afe41e49
Add trim and replace to release notes
2015-01-18 15:18:03 +01:00
Tom Helmer Hansen
871e811339
Add trim and replace template functions
2015-01-18 14:54:26 +01:00
Anthony Fok
b59dd163ec
[Docs] More copyediting
...
* Add link to https://travis-ci.org/spf13/hugo
* Correct heading levels in docs/content/community/mailing-list.md
* Mention RFC 3339 as the `date` format set by `hugo new`
* Mention that `hugo new` does not add `draft = true` when the user
provides an archetype
* List short examples of TOML and YAML side by side
* Compact the Math template functions into a table
* Put some notes into a blockquote
2015-01-17 00:45:53 -07:00
Tomas Roos
a4da52622c
Missing . on footer partials
2015-01-16 03:39:38 -07:00
bep
4f66acdce7
First take on release notes for 0.13
2015-01-14 13:54:38 +01:00
Anthony Fok
fc39019ffe
Add an alias to the old URL of github-pages-blog.md
2015-01-13 21:24:58 -07:00
Anthony Fok
433ce3b742
Rename github_pages_blog.md to github-pages-blog.md
2015-01-13 21:19:20 -07:00
Anthony Fok
4107fd50a8
[Docs] More random revision and copyediting
...
General revisions to (hopefully) make the documentation
easier to understand and more comprehensive.
Revise "Strange EOF error" troubleshooting page to say that
a fix is in place for the upcoming Hugo v0.13.
Also add more external links, and cute icons from Font Awesome.
2015-01-13 20:48:44 -07:00
Dan Hersam
6fda9012d6
Fixed error in tutorial, added site variable docs
...
While following the github pages tutorial I found some issues. These are
the commands I ran that worked.
Added site variables to the docs from the code.
2015-01-12 23:00:28 -07:00
Arjen Schwarz
6c5a7b7b64
Tutorial: Automated deployments
...
Also fixed the next/prev for the tutorials
2015-01-12 22:59:14 -07:00
Anthony Fok
5bfc812dc6
[Docs] Remove references to "ATOM" feeds
...
Thanks to @snej for reporting!
Fixes #790
2015-01-12 14:12:08 -07:00
David Kebler
b6ab661893
note in archetype.md to alert that ending carriage return may be nessary to avoid EOF errors.
2015-01-09 22:08:35 +01:00
Anthony Fok
b0181e278b
Some more random copyediting of Hugo docs
...
- Change "livereload" and "live reload" to "LiveReload";
- Add a `$ ` prompt before example command lines
(not exhaustive, work in progress);
- Remove unnecessary whitespace from partials;
- Revise the blackfriday options table in overview/configuration.md
to make it narrower.
- Manually set the language for highlight.js where appropriate
- Rename "404" to "Custom 404 page", and remove incorrect reference
to "homepage"
- Credit the author of tutorials/github_pages_blog.md
(Similar notes are necessary for other contributed pages where
"I" am not spf13 to avoid reader confusion.)
- Add CSS for `kbd` and `table` etc. to css/style.css;
- etc.
2015-01-09 11:51:15 -07:00
Anthony Fok
190964c57b
[Docs] New Troubleshooting section
...
With two entries of frequently encountered or obscured troubles so far:
- "Categories with accented characters" Unicode NFC/NFD mismatch
on Mac OS X (See #739 )
- `hugo new` aborts with cryptic EOF error (See #776 )
2015-01-08 18:29:05 -07:00
Jacob Gillespie
c0f54aefe3
Rename to plainIdAnchors
2015-01-05 21:00:22 +01:00
Jacob Gillespie
a0e44bb71d
Add Blackfriday: documentIDAnchor documentation
2015-01-05 21:00:22 +01:00