Commit graph

804 commits

Author SHA1 Message Date
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
Bjørn Erik Pedersen f89eb349e4 Docs: Enable plain id anchors
Making it possible to post permanent anchored links to StackExchange etc.
2016-01-15 12:55:35 +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
digitalcraftsman b47652fb29 Docs: add panel showing the last revision of a page
The panel also contains the version of the
documentation.
2016-01-07 04:23:26 -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 6a23cd65e1 Docs: Update copyright year on gohugo.io front page 2016-01-04 23:47:12 -07: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 7cf7f85ad6 Docs: Upgrade highlight.js to 9.0.0
with the following added languages in anticipation of document expansion:

    apache dockerfile dos less php powershell python tex yaml

To reproduce docs/static/js/highlight.pack.js on Debian/Ubuntu:

    $ sudo apt-get install nodejs npm
    $ wget https://github.com/isagalaev/highlight.js/archive/9.0.0.tar.gz
    $ tar xzf 9.0.0.tar.gz
    $ cd highlight.js-9.0.0/
    $ npm install
    $ nodejs tools/build.js markdown asciidoc xml css javascript \
      ini yaml json go bash diff dockerfile dos powershell makefile \
      apache nginx tex http php python ruby django haml handlebars \
      scss less coffeescript

Then, copy the resulting build/highlight.pack.js as well as
src/styles/monokai-sublime.css to the appropriate Hugo docs directories.
2015-12-22 13:54:35 -07:00
Anthony Fok df92a6b998 Docs: Upgrade InstantClick from 3.0.1 to 3.1.0
Note: It is not currently used on http://gohugo.io/
2015-12-21 17:28:06 -07:00
Anthony Fok aee92f2aee Docs: Upgrade livereload.js from post-2.0.8 to 2.2.1
Note: It is not currently used on http://gohugo.io/
2015-12-21 17:27:43 -07:00
Anthony Fok 23abad7b1d Docs: Upgrade Owl Carousel to 2.0.0-beta.3 (2015-06-19)
Downloaded from
http://smashingboxes.github.io/OwlCarousel2/download/owl.carousel.2.0.0-beta.3.zip

Also modify /index.html to use minified version of CSS files.
2015-12-21 13:21:42 -07:00
Anthony Fok 4b521b4ffb Docs: Upgrade jquery.scrollTo from 1.4.6 to 2.1.2 2015-12-21 12:54:47 -07:00
Anthony Fok cca49ad01d Docs: Correct file permissions from 0755 to 0644 2015-12-21 12:40:08 -07:00
Anthony Fok f6f0111db6 Docs: Rebase bootstrap-gohugo.css on Bootstrap v3.3.6
It was previously based on a customized version of bootstrap.css
from Bootstrap v3.0.0.

Also add a brief copyright notice and description.
2015-12-21 12:12:12 -07:00
Anthony Fok 883431442d Docs: Rename bootstrap-theme.css to bootstrap-gohugo.css
because our bootstrap-theme.css was originally a customized
core bootstrap.css file from Bootstrap v3.0.0.

This rename helps to avoid confusion with Bootstrap’s official
bootstrap-theme.css files.
2015-12-21 12:04:11 -07:00
Anthony Fok ad6717bd11 Docs: Upgrade Bootstrap from v3.2.0 to v3.3.6
Fonts and JavaScript files only
2015-12-21 11:57:55 -07:00
Anthony Fok f8f128a08a Docs: Remove octicons fonts
The GitHub octicons fonts, which, in our case, came with GitHub:buttons,
are not actually used on gohugo.io.  Rather, the icons inside the GitHub
buttons are actually glyphs from Font Awesome.
2015-12-21 03:28:07 -07:00
Anthony Fok 7c84ad56cb Docs: Remove unused GitHub:buttons files
The GitHub:buttons JavaScript code docs/static/js/buttons.js
from https://github.com/ntkme/github-buttons was referenced
in docs/layouts/partials/footer.html but never used.

Apparently, the actual code for the GitHub buttons on the upper-left
corner of gohugo.io documentation was written by @spf13 in
docs/static/js/scripts.js.
2015-12-20 13:18:18 -07:00
Anthony Fok 217d25f560 Docs: Upgrade Font Awesome from 4.1.0 to 4.5.0
From https://fortawesome.github.io/Font-Awesome/assets/font-awesome-4.5.0.zip
2015-12-19 14:47:26 -07:00
Anthony Fok a84d82121a Upgrade jQuery 2.1.1 to 2.1.4 in doc 2015-12-19 12:19:26 -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 a1d232f4b6 Docs: Make <hr> slightly darker on gohugo.io 2015-12-19 05:11:54 -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 705104338e Docs: Enhance contrast and increase font-weight
Also replace 'Courier New' with newer monospace fonts,
and make font in main text slightly smaller to better fit
smaller screen.

See #1678.
2015-12-16 19:10:46 -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
Anthony Fok a871c87f90 docs: Optimize a few large showcase thumbnail PNGs
using pngquant and OptiPNG.  Result:

    arresteddevops-tn.png   154734 bytes → 47184 bytes
    maximeguitare-tn.png     95571 bytes → 24183 bytes
    ridingbytes-tn.png      262222 bytes → 66491 bytes

And a small one to an even smaller one too:

    goin5minutes-tn.png      26220 bytes →  9297 bytes
2015-11-20 14:17:02 -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
Anthony Fok acd720df92 Add docs/data/titles.toml to set title "Site Showcase"
Idea from https://discuss.gohugo.io/t/how-to-name-list-templates/949
2015-11-16 06:48:20 -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
spf13 488966dcb2 Add hugo theme site to the sidebar
Also reorder the menu a bit and clarify a couple items.
2015-11-09 23:23:39 -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
Fabiano Frizzo 217ffa87c9 Fix doc render on Firefox
Fix #1523
2015-10-31 09:59:02 -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
Diego Medina ddd8c77938 Use https
The Hugo site uses HTTPS but the video link was HTTP, which made chrome block the video
2015-10-12 13:38:33 -06: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
Anthony Fok 08d41c3a48 Fix strange carousel width on http://gohugo.io/
The solution is to add `table-layout:fixed` when `display:table` is used
as per the answer given at:

    http://stackoverflow.com/questions/21230184/owl-carousel-inside-a-table-cell-parent-makes-parent-to-expand-weird

Fixes #1465
2015-10-02 03:32:33 -06: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