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
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