Kato Kazuyoshi
698019a552
Disable LiveReload when Hugo is not running as a server
...
This change fixes #1410 .
2015-10-15 16:36:14 -04:00
Kato Kazuyoshi
ef4dfcec6c
Load livereload.js from "/"
...
Fix #1406
Instead of loading the file from http://localhost:port/ , it can be
loaded from /.
2015-10-15 16:36:13 -04:00
Andy Williams
0f438d1852
Create minimal default.md in archetype file
...
fixes #315
To fix the cast error, create a minimal default.md in the archetype
folder.
2015-10-15 16:36:13 -04:00
Nathan Youngman
bea7b2e202
Fix typo in shortcode tests
2015-10-15 18:00:10 +02:00
Nathan Youngman
ec9c691216
Insert code tag for server-side syntax highlighting
...
Inserts a code tag into Pygments output with the language-info that is present when using client-side highlighting (useful for CSS hooks)
```html
<code class="language-go" data-lang="go">
```
closes #1490
2015-10-15 17:59:28 +02:00
Bjørn Erik Pedersen
6a3aced15a
Rename prettiyPath to prettifyPath
2015-10-15 10:15:26 +02:00
Bjørn Erik Pedersen
5619fe52d3
Unexport internal path helper
2015-10-14 21:34:34 +02:00
Bjørn Erik Pedersen
4c04d7101a
Fix In func given an []interface{}
...
Fixes #1486
2015-10-13 17:05:36 +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
17fb752279
Correct number of args to Errorf
2015-10-12 21:34:15 +02:00
Bjørn Erik Pedersen
72f14a8202
Apply project wide go fmt
2015-10-12 20:47:06 +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
Bjørn Erik Pedersen
078fad49e2
Add Param(key) to Node and Page
...
This is a convenience method to do lookups in Page's (Page only) and Site's Params map (Page and Node), in that order.
Fixes #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
63d9859c09
Expose canonifyURLs as a command flag
...
Needed by the theme site.
2015-10-10 10:53:13 +02: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
Alexander Morozov
7b4e4769d0
Fix comment for NormalizeHugoFlags
2015-10-07 21:28:29 +02:00
Bjørn Erik Pedersen
c1a60732ae
Remove Go 1.3 from README
2015-10-07 21:09:50 +02:00
coderzh
823334875d
WordCount and Summary support CJK Language
...
* add global `hasCJKLanguage` flag, if true, turn on auto-detecting CJKLanguage
* add `isCJKLanguage` frontmatter to force specify whether is CJKLanguage or not
* For .Summary: If isCJKLanguage is true, use the runes as basis for truncation, else keep as today.
* For WordCount: If isCJKLanguage is true, use the runes as basis for calculation, else keep as today.
* Unexport RuneCount
Fixes #1377
2015-10-07 15:14:57 +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
Andrew Brampton
c2c694f136
Add GitHub style code fence support to mmark
...
Fixes #1258 .
2015-10-05 17:45:37 -04: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
b25ba8b095
Let Cobra do the usage error logging
...
Fixes #1472
2015-10-05 20:26:49 +02:00
Bjørn Erik Pedersen
b9aaa0079b
Improve command text for import command
2015-10-05 11:25:42 +02:00
Bjørn Erik Pedersen
ac1e3c3cc0
Capital J in Jekyll
2015-10-04 23:26:18 +02:00
Bjørn Erik Pedersen
0387deee03
Add Jekyll import to release notes
2015-10-04 20:10:29 +02:00
coderzh
9a2f6c62a6
Hugo import from jekyll
...
usage: hugo import jekyll jekyll_root_path target_path
Implemented:
* Create new hugo site
* Create config.yaml
* Convert all markdown contents.
* Copy all other files and folders to static
Fixes #101
2015-10-04 20:02:53 +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
Bjørn Erik Pedersen
218554e363
Rename NormalizeHugoFlagsFunc to NormalizeHugoFlags
...
It IS a func.
2015-10-02 06:48:02 +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
dcd9c69aa8
Use filepath as the last default sort key for pages
2015-09-30 05:43:11 +02: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
Sven Dowideit
a1e32439fb
Allow for any (short) line begining or ending with html comment
...
Fixes #1428
2015-09-25 18:32:32 +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