Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-06helpers: Test coverage increaseGergely Brautigam
Started to increase coverage in helpers package, now at 74.9% of statements. In the process, also a few minor changes have been applied to content.go. * Content.go has undergone a formatting refactor regarding comments * Unused function TruncateWords has been removed * RenderingContext's "mmark" has been changed to use MmarkRender * Content_test.go added to cover content.go's functionality
2016-02-06Apply gofmt -sBjørn Erik Pedersen
2016-01-28Make the watch logger less chattyBjørn Erik Pedersen
2016-01-28Make the DistinctErrorLogger more genericBjørn Erik Pedersen
2016-01-04added remaining relevant optionsBen Thomas
2016-01-04added more pygments optsBen Thomas
2016-01-04Fix /.xml RSSLink when uglyurls are enabledJohn McFarlane
Prior to this commit the root url with uglyurls enabled is "/.xml". This commit relates to #175.
2016-01-01Source file based relative linkingSven Dowideit
ala GitHub repository markdown for both md files and non-md files Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-01-01Add themesDir option to configurationdigitalcraftsman
themesDir can be used to change the default path of the themes folder. Fixes 1556
2016-01-01Fixes #1292Daniel TISCHER
2015-12-19Fix hugo server "Watching for changes" path displayAnthony Fok
especially when the given `--source` path is a relative directory. Also, when `--source` is specified, make WorkingDir an absolute path from the very beginning, to be consistent with the case when `--source` is not given. Otherwise, the function name helpers.AbsPathify(), which prepends WorkingDir to a relative path, does not really make sense. Fixes #1721
2015-12-11Add copyright header to that source files that don’t have one.Anthony Fok
See #1646
2015-12-09move some of the path helper utilities to aferoSteve Francia
and provide wrappers in Hugo.
2015-12-07Fix copyright headers in source filesBjørn Erik Pedersen
Still need to add some missing headers and an AUTHORS file. See #1646
2015-11-25Version bump to 0.16-DEVSteve Francia
2015-11-25version bump to v0.15v0.15Steve Francia
2015-11-24Change the license to Apache 2.0Steve Francia
2015-11-24Simplify ExtractRootPathsBjørn Erik Pedersen
2015-11-23Add PygmentsOptions optionAndrew Brampton
This allows default pygments settings to be used, if none are explictly set per shortcode. Fixes #1260
2015-11-23Move blackfriday site-wide config loading to NewBlackFriday()Marek Janda
2015-11-23Improve "watching for ..." loggingBjørn Erik Pedersen
2015-11-22Fix missing word in code comment (my own fault)Anthony Fok
2015-11-19Remove some superficial testsBjørn Erik Pedersen
2015-10-30Add smartDashes flag for BlackfridayAnthony Fok
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-18Preserve Unicode marks in MakePathBjørn Erik Pedersen
Fixes #1488
2015-10-15Insert code tag for server-side syntax highlightingNathan Youngman
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-15Rename prettiyPath to prettifyPathBjørn Erik Pedersen
2015-10-14Unexport internal path helperBjørn Erik Pedersen
2015-10-12Apply project wide go fmtBjørn Erik Pedersen
2015-10-07Fix comment for NormalizeHugoFlagsAlexander Morozov
2015-10-07WordCount and Summary support CJK Languagecoderzh
* 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-06Add GitHub style code fence support to mmarkAndrew Brampton
Fixes #1258.
2015-10-02Rename NormalizeHugoFlagsFunc to NormalizeHugoFlagsBjørn Erik Pedersen
It IS a func.
2015-09-14Move isThemeVsHugoVersionMismatch to /commandsBjørn Erik Pedersen
To prevent potential package cycles in /helpers.
2015-09-13Add helpers.NormalizeHugoFlagsFunc() to handle flag name changesAnthony Fok
It currently handles --baseUrl to --baseURL, and --uglyUrls to --uglyURLs. Special thanks to Eric Paris (@eparis) for writing the "normalized name" support in Cobra, and for showing us how it is used in Kubernetes. See Issue #959
2015-09-12WordCount Summary support UTF-8 stringcoderzh
2015-09-01Add config option "disablePathToLower"chrongzhang
Enabling this prevents lowercasing of the path/url. Fixes #557
2015-08-26Unexport FileAndExtBjørn Erik Pedersen
If needed outside helpers, create an exported file path (FilePathAndExt?) and/or a url version.
2015-08-07Revert "Fix some Go code doc issues"Bjørn Erik Pedersen
This reverts commit de7dd70bbc1ac533f137e5f788e1b337d6ba6b8c. Broke the code fence feat.
2015-08-06Fix some Go code doc issuesBjørn Erik Pedersen
2015-08-04Add option to disable Blackfriday SmartypantsAnthony Fok
Can be used in site config or per page front matter: ``` [blackfriday] smartypants = false ```
2015-07-29Asciidoc[tor]: use --no-header-footer optionBaptiste Mathus
This simplifies the retrieval of the HTML (no more need to extract the part within body) and also removes the unwanted "Last Updated" part in the article.
2015-07-12Add RuneCount to PageBjørn Erik Pedersen
Fixes #1266
2015-07-08Add support for GitHub-flavoured markdown code fences for highlightingAndrew Brampton
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-08If no language is provided to Pygments, then try and guess itAndrew Brampton
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-06-28Add config option for Blackfriday HTML_HREF_TARGET_BLANKBjørn Erik Pedersen
Fixes #1220
2015-06-28Add option to disable Blackfriday LaTeX style dashesBjørn Erik Pedersen
Can be used in site config of per page front matter: ``` [blackfriday] latexDashes = false ``` Fixes #1231
2015-06-25Refactor theme path helper functions.Jonathan Anderson
Reduce duplication (`x + FilePathSeparator + y` a few lines away from `filepath.Join(x, y)`) and add a `GetThemeDir()` function to get the current theme's directory. Also add a comment complaining about the `GetThemesDirPath()` function, which doesn't seem to do what its name would suggest. This might be a candidate for deprecation?
2015-06-16Remove superfluous returnBjørn Erik Pedersen
2015-06-16Make removal of accents in taxonomy and section paths optionalBjørn Erik Pedersen
And default off. Fixes #1180