Commit graph

166 commits

Author SHA1 Message Date
Cameron Moore 10c13f5d79 hugolib: Make RSS item limit configurable
Add a new rssLimit site configuration option with default of 15.  Prior
to this fix, you could create your own RSS feed to override the default
limit of 15, but we still had a hardcoded limit of 50 items set in
`hugolib.renderRSS()`.

With this option in place, the `range first 15 .Data.Pages` logic is no
longer hardcoded into the embedded RSS template.

Because the size of the slice passed to the template is now limited to
rssLimit instead of 50, this commit is a breaking change for sites
with a custom RSS template that expects more than 15 items.

Fixes #3035
2017-02-17 19:53:08 +01:00
Bjørn Erik Pedersen a988d3cf36 docs: Remove the source relative links docs
See #3028
2017-02-13 16:35:05 +07:00
ZaneDev 1e79900860 docs: Add netlify to the list of static hosting solutions
Netlify is a solid solution similar to surge and aerobatic and they have a great free plan and pro plan for open source projects.
2017-01-26 19:42:56 +01:00
Leo Arias 24a286791f Add the instructions to install the snap 2017-01-06 18:55:25 +01:00
digitalcraftsman be39ae5e11 docs: Fix typo in overview/source-directory.md 2017-01-02 15:58:48 +01:00
Cameron Moore d332aa1606 docs: Update GitInfo usage docs 2016-12-15 11:15:15 +01:00
Cameron Moore 971d1baf13 commands: Add noChmod option to disable perm sync
Includes updates to docs.

Fixes #2749
2016-11-30 08:35:30 +01:00
digitalcraftsman 001e2bbe8a docs: Set correct default archetype directory in overview
Fixes #2719.
2016-11-23 19:53:24 +01:00
Bjørn Erik Pedersen a5b3b07657 docs: Add Pages to variables section
And some other minor doc fixes.

Closes #2297
Closes #2649
2016-11-22 09:57:03 +01:00
Bjørn Erik Pedersen e29f6fe527 docs: Add sections on node now being a page
Updates #2297
2016-11-22 09:57:03 +01: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
Nicholas Thomson 6427fba90b docs: Improve instructions in quickstart.md 2016-10-21 19:20:34 +02:00
vsopvsop 886754738b Updated link for Ace template site 2016-10-15 16:48:26 +05:30
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
Robert Schilling 8d50925820 docs: Mention GitLab hosting support 2016-10-10 20:14:23 +02:00
Mitchell Cohen e7e2a1ca02 tpl: Improve tests and docs for i18n 2016-09-20 11:11:57 +02:00
Mark D. Blackwell 83533a8881 docs: Improve Overview Configuration manual 2016-09-17 21:29:37 -04: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 9dab62c559 docs: List config options for multilingual feature 2016-09-16 14:36:54 +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
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
Mark D. Blackwell 0614a59b0f docs: Improve Quickstart guide
Fixes #2331.
2016-09-03 15:19:01 +02:00
Mark D. Blackwell 81f04ef4f0 docs: Clarify Usage 2016-08-19 14:38:20 -04: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
Mark D. Blackwell 8474b9defe docs: Improve section 'Why did you write Hugo?' 2016-08-18 20:33:57 +02:00
Mark Ayers 26725515c8 docs: Convert toml to yaml in config overview 2016-08-12 13:37:30 +02:00
Max Milton df0a4534cd docs: Add missing configuration option disableHugoGeneratorInject 2016-07-29 19:58:25 +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
Hanchen Wang 02d2f05e74 docs: Add instructions on buildExpired in build configurations 2016-06-14 15:45:26 +02:00
Frank Blecha ce05dfa553 docs: Grammar fix in overview/quickstart.md 2016-06-02 22:13:01 +02:00
Brijesh Bittu dcee05b2ae docs: Fix minor typo in overview/quickstart.md 2016-05-27 19:32:27 +02:00
nurp 9aa70af1a3 docs: Fix git clone for hugo_theme_robust in quickstart guide 2016-05-17 21:10:04 +02:00
yuzroz 7cbafa4ec5 docs: Fix typo in overview/configuration.md 2016-05-04 21:44:28 +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
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
digitalcraftsman ebefa47691 docs: Move image-width fix to style.css 2016-04-22 18:23:12 +02:00
Bjørn Erik Pedersen 5e9b147c2a docs: Add some doc about ENV config
See #2090
2016-04-18 18:45:37 +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 0d9a5f8023 docs: Update default for plainIDAnchors 2016-04-12 18:36:45 +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
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
Sven Dowideit 1648e327c0 Document and clean SourceRelativeLinksEval code 2016-04-07 20:10:38 +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
Rob Muhlestein d65fbfe16c docs: Add surge.sh to main page of static site hosters
See #1994
2016-03-28 16:44:13 +02:00