Edward Vielmetti
c8477c4f6e
Fix typo: "taxononomy" -> "taxonomy"
2015-07-19 19:36:23 +02:00
Bjørn Erik Pedersen
33ffda7225
Add paginator support for page groups
...
Fixed #1274
2015-07-18 14:53:52 +02:00
Bjørn Erik Pedersen
1a94148d06
Add paginator support for page groups
...
Fixed #1274
2015-07-18 14:53:52 +02:00
Valere JEANTET
2c22a8b79a
fix TestHomeNodeMenu test
...
Signed-off-by: Valere JEANTET <valere.jeantet@gmail.com >
2015-07-14 21:31:47 +02:00
Valere JEANTET
247574976c
Allow page.HasMenuCurrent() and node.HasMenuCurrent() to proceed with multi-level nested menus
...
Currently HasMenuCurrent only process the first 2 levels.
2015-07-14 21:31:47 +02:00
Bjørn Erik Pedersen
354192d2b8
Log missing theme as FATAL
...
See #1234
2015-07-13 10:38:28 +02:00
Scott C Wilson
029cdb68f5
Checks to ensure theme directory, if specified, exists
...
See #1234
2015-07-13 10:31:59 +02:00
Bjørn Erik Pedersen
a2fa3895ee
Fix log message in test
2015-07-12 19:27:29 +02:00
Bjørn Erik Pedersen
3663828f5e
Optimize RuneCount
...
Do not create it unless used.
See #1266
2015-07-12 11:28:19 +02:00
Bjørn Erik Pedersen
29b4440505
Add RuneCount to Page
...
Fixes #1266
2015-07-12 11:05:37 +02:00
Bjørn Erik Pedersen
77c60a3440
Add RuneCount to Page
...
Fixes #1266
2015-07-12 11:05:37 +02:00
Éli Marshal
c8e3ffc875
Omit protocol from embedded font resources
...
Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/
2015-07-11 01:10:45 +02:00
Éli Marshal
90af334c21
Omit protocol from embedded font resources
...
Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/
2015-07-11 01:10:45 +02:00
Arian Allenson M. Valdez
c85dd7068b
Change arianv sourceLink to master branch
2015-07-09 19:13:31 +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
e1f7ad0877
Add learnoverpass
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
f04f605751
Add arianv
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
d655800cff
add a showcase of sa.muel.be
2015-07-09 10:56:40 +02:00
Sam Debruyn
6807151a22
add a showcase of sa.muel.be
2015-07-09 10:56:40 +02:00
Borys Borysenko
662698c93e
[Docs] Press page. Fix URL
2015-07-09 10:52:00 +02:00
Borys Borysenko
c6d46ff2bd
[Docs] Press page. Fix URL
2015-07-09 10:52:00 +02:00
Andrew Brampton
c139c6e1ef
Add support for GitHub-flavoured markdown code fences for highlighting
...
This commit adds a new PygmentsCodeFences config option (default false), which if true will allow GitHub style backtick code fences around code, which will then be rendered by Pygments.
For example:
``` language
your code
```
can be used instead of {{< highlight language >}}your code {{< /highlight >}}.
Fixes #362
2015-07-08 08:12:52 +02:00
Andrew Brampton
fdab118010
If no language is provided to Pygments, then try and guess it
...
Previously if no language was specified, then illegal args would be passed to pygments, for example `pygments -l -fhtml`, which would result in pygments printing an error.
2015-07-08 08:12:06 +02:00
kangkona
bd204e759c
Add a showcase of Kangkona
2015-07-08 07:42:04 +02:00
kangkona
450dc7a411
Add a showcase of Kangkona
2015-07-08 07:42:04 +02:00
Rick Cogley
b57bf9e4db
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
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
196e6e4a82
Add Rick and eSolia's sites to the Hugo docs showcase
2015-07-08 07:37:30 +02:00
Rick Cogley
617fa2fe65
Add Rick and eSolia's sites to the Hugo docs showcase
2015-07-08 07:37:30 +02:00
delputnam
9b3d0cf5bf
Added missing "Social" section to SiteInfo
...
I could be wrong here, but it looks to me like .Site.Social.facebook is used in tpl/template_embedded.go, but the variable is never set. I've added a line to initializeSiteInfo to map the info from config into this variable.
2015-07-02 19:26:01 +02:00
Marc-Antoine Ruel
2533b39a50
Document Page.RawContent in templates/variables/
2015-07-02 19:24:30 +02:00
Marc-Antoine Ruel
24c8226cbf
Document Page.RawContent in templates/variables/
2015-07-02 19:24:30 +02:00
Marc-Antoine Ruel
c9fc0e786f
Add Page.RawContent() to access raw Markdown as a string.
...
In particular, RawContent() excludes the metadata header.
This is necessary in the use case of embedding remarkjs.com slides, as it needs
the unprocessed Markdown content to generate the slides.
2015-07-02 19:24:30 +02:00
Tatsushi Demachi
dd732e84f4
Add nil comparison to where tpl function
...
`where` template function's internal condition check function always
returns `false` when a target value doesn't exist or it's nil value but
this behavior makes it difficult to filter values which doesn't have a
particular parameter.
To solve it, this adds nil value comparison to the function.
`where Values ".Param.key" nil` like clause can be used for the case
above.
Only "=", "==", "eq", "!=", "<>", "ne" operators are allowed to be used
with `nil`. If an other operator is passed with `nil`, the condition
check function returns `false` like before.
Fix #1232
2015-06-29 19:50:45 +02:00
Bjørn Erik Pedersen
033a13e10e
Fix watcher detecting changes as static when no theme
...
There have been some changes to the ´helpers.GetThemesDirPath()´ so it now returns an empty string when no theme.
This is correct, but it broke the watch service (at lest on OSX), as `strings.HasPrefix("", "somestring") evaluates to true somehow, and content changes are incorrectly branded as static.
There are other issues in there, but that will come later ...
See #1236
2015-06-28 19:27:28 +02:00
Bjørn Erik Pedersen
1b91a8e261
Add doc for new Blackfriday options
...
See #1220
See #1231
2015-06-28 15:27:47 +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
Bjørn Erik Pedersen
483fc8fa3d
Add config option for Blackfriday HTML_HREF_TARGET_BLANK
...
Fixes #1220
2015-06-28 15:18:15 +02:00
Bjørn Erik Pedersen
05c07c561a
Add option to disable Blackfriday LaTeX style dashes
...
Can be used in site config of per page front matter:
```
[blackfriday]
latexDashes = false
```
Fixes #1231
2015-06-28 15:08:52 +02:00
Bjørn Erik Pedersen
664a97819f
404 is homeless
...
Fixes #1235
2015-06-28 10:43:43 +02:00
Mario Sanchez Carrion
6304ccf0f8
added thumbnail
2015-06-26 21:26:17 +02:00
Mario Sanchez Carrion
50df31406f
added thumbnail
2015-06-26 21:26:17 +02:00
Mario Sanchez Carrion
1b56a1a311
Create mariosanchez.md
...
Submitting site for consideration in Hugo Showcase
2015-06-26 21:26:08 +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
fb175101a4
add vamp.io site as showcase
2015-06-26 20:59:40 +02:00
tim
1b50ccd162
add vamp.io site as showcase
2015-06-26 20:59:40 +02:00
Jonathan Anderson
6792655c2c
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
Jonathan Anderson
c4ad8f6498
Use helpers.GetThemeDir() to find base templates.
...
Now that we have the helpers.GetThemeDir() function, use it instead of
calling directly into viper.
2015-06-25 18:05:43 +02:00