summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-08-08readme: https links to 3rd party sitesChristian Oliff
2018-08-07Update alias.goChristian Oliff
less markup :-)
2018-08-06tpl/tmplimpl: Add MIME type to embedded JSBjørn Erik Pedersen
So they get minified correctly. See #5042
2018-08-06resource: Remove test debugBjørn Erik Pedersen
2018-08-06Update dependenciesBjørn Erik Pedersen
2018-08-06Update ChromaBjørn Erik Pedersen
Fixes #5025
2018-08-06Add support for minification of final outputBjørn Erik Pedersen
Hugo Pipes added minification support for resources fetched via ´resources.Get` and similar. This also adds support for minification of the final output for supported output formats: HTML, XML, SVG, CSS, JavaScript, JSON. To enable, run Hugo with the `--minify` flag: ```bash hugo --minify ``` This commit is also a major spring cleaning of the `transform` package to allow the new minification step fit into that processing chain. Fixes #1251
2018-08-06Remove alias of os.Statsatotake
2018-08-06Renmae FileStat Statsatotake
2018-08-06Fix typosatotake
2018-08-06Add fileStat to tpl/os/ossatotake
2018-08-05transform: Reduce allocation in the benchmark itselfBjørn Erik Pedersen
2018-08-05transform: Simplify the 0 transformer caseBjørn Erik Pedersen
2018-08-01releaser: Prepare repository for 0.47-DEVhugoreleaser
[ci skip]
2018-08-01releaser: Add release notes to /docs for release of 0.46v0.46hugoreleaser
[ci skip]
2018-08-01releaser: Bump versions for release of 0.46hugoreleaser
[ci skip]
2018-08-01Release 0.46Bjørn Erik Pedersen
2018-08-01releaser: Add release notes draft for 0.46hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2018-08-01Merge commit '766085c2dc6fc95ac30fda2a9ebde2355fc12554'Bjørn Erik Pedersen
2018-08-01Squashed 'docs/' changes from a4fa0d1d6..81847981fBjørn Erik Pedersen
81847981f Add notes for installing "extended" Sass/SCSS version 02da3bb58 Include usage of disqus internal template 9b53380c4 Update sitemap-template.md f3417dd52 Update sitemap-template.md aae33d9a8 Update sitemap-template.md 834edc205 Release 0.45.1 fb93ab905 Merge branch 'temp451' 79f350906 releaser: Prepare repository for 0.46-DEV 25cd2352c releaser: Add release notes to /docs for release of 0.45.1 e60377c71 releaser: Bump versions for release of 0.45.1 873f6dce2 Update features.md ecc116642 Update link for Azure cb88c3185 Added .Site.Home to Site Variiables (#541) 975a88791 Document includePaths 56c4e332f Release Hugo 0.45 c22b25210 Merge branch 'temp45' 0ffad3ada releaser: Prepare repository for 0.46-DEV 08d494cc3 releaser: Add release notes to /docs for release of 0.45 ad546ba45 releaser: Bump versions for release of 0.45 971c46bb2 Fixed "Sratch" to become "Scratch" on line 44 a28255bf3 Clarify the meaning of .Pages vs .Site.Pages 127aeee09 docs: Update ref, relref, GetPage docs 350d674ec resources.Concat doesn't have an alias 1fd1219b0 docs: Document refLinksErrorLevel and refLinksNotFoundURL af2252ff6 Merge commit 'a3535c8486b2ce762b1a8a9c30b03985c3e02cee' a11486805 Merge commit 'b6b37a1f00f808f3c0d2715f65ca2d3091f36495' 1c8896cb1 Fix addkit link to account for i18n 468aef3fc releaser: Prepare repository for 0.45-DEV c6f4b97a2 releaser: Add release notes to /docs for release of 0.44 d3985afb7 releaser: Bump versions for release of 0.44 2c59a330c Adjust release notes 83966769a releaser: Prepare repository for 0.44-DEV e539613f7 releaser: Add release notes to /docs for release of 0.43 2bf648944 releaser: Bump versions for release of 0.43 d9d6e4bf7 Fix typos d6798afda Merge commit '98293eaa1570b5aff4452021c8b6d6c8560b3f06' 37cc52261 Add a newScratch template func 1f7f09613 Merge branch 'release-0.42.2' 857b0b26a releaser: Prepare repository for 0.43-DEV git-subtree-dir: docs git-subtree-split: 81847981f1f2cb1ebc83d42d275a2afb2bb22df1
2018-08-01Update ChromaBjørn Erik Pedersen
And since I have updated Dep locally, I get a bunch of other totally unrelated diffs. Which looks innocent enough. Fixes #5019
2018-07-31Make resources fetched via resources.Get and similar language agnosticBjørn Erik Pedersen
With the newly released Hugo Pipes, resources fetched and processed via `resources.Get` and similar was published to the relevant language sub folder when in multilingual mode. The thought behind that was maximum flexibility with support for `assetDir` per language. In practice this was a bad idea: * You get duplication of identical content, with added processing time * You end up with path issues that seem to be hard to find a way around (`@fa-font-path` is one example) This commit changes that. Now there is only one `assetDir` and if you, as one example, need to generate a CSS per langugage, you need to set the paths yourself. Fixes #5017
2018-07-31tocss/scss: Improve _ prefix handling in SCSS importsBjørn Erik Pedersen
See #5008
2018-07-31Fix file paths for uncached transformed imagesRob Jackson
This commit also fixes an existing test to work according to the correct logic. The test was written based on erroneous behavior. We resize the image to 300x200px, and are now trying to fit it within a 50px square. The longest edge is 300 pixels, so we need to divide it by 6 (300 / 50 == 6). And then scale the shortest edge with the same proportion (200 / 6 == 33.33). The original test was transforming the original source image, hence the previous values: 900 x 562 900 / 50 == 18 562 / 18 == 31.22 Fixes #5012
2018-07-31tpl/partials: Add templates.ExistsBjørn Erik Pedersen
Fixes #5010
2018-07-31tpl/partials: Remove superflous loopBjørn Erik Pedersen
No need to check the themes template prefix.
2018-07-31tocss/scss: Improve SCSS project vs themes import resolutionBjørn Erik Pedersen
Before this commit, only SASS/SCSS components imported from main.scss at first level can be overwritten by homonymous files in projects or over-preceding theme components. This commit fixes that by implementing a custom import resolver which will be tried first. This resolver will make sure that the project/theme hierarchy is always respected. Fixes #5008
2018-07-29Fix image cache eviction for sites with subdir in baseURLBjørn Erik Pedersen
Fixes #5006
2018-07-25releaser: Prepare repository for 0.46-DEVhugoreleaser
[ci skip]
2018-07-25releaser: Add release notes to /docs for release of 0.45.1v0.45.1hugoreleaser
[ci skip]
2018-07-25releaser: Bump versions for release of 0.45.1hugoreleaser
[ci skip]
2018-07-25Release 0.45.1Bjørn Erik Pedersen
2018-07-25releaser: Add release notes draft for 0.45.1hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2018-07-24hugolib: Fix .Site.GetPage regressionBjørn Erik Pedersen
In Hugo 0.44 we simplified the `.Site.GetPage` API and added code to handle the old-style syntax in most cases. This logic did not handle the lookup of the home page via `.Site.GetPage "section" ""` and similar. This commit fixes that. Fixes #4989
2018-07-23Add Page.FirstSectionBjørn Erik Pedersen
It was added and then removed by accident some time ago. Let us add it again, as it is useful.
2018-07-23hugolib: Fix "borrow content from another language" issueBjørn Erik Pedersen
If a content file contains shortcode(s), we have logic in place to re-render it per output format. We also have logic in place that avoids making a copy of the content used for this process if we don't need it. This was before this commit limited to server mode and if the page should be output to multiple formats. But there is a third case: If a site (language) borrows and renders `.Content` from another language. This would, before this commit, behave oddly for content with shortcodes. Fixes #4986
2018-07-22releaser: Prepare repository for 0.46-DEVhugoreleaser
[ci skip]
2018-07-22releaser: Add release notes to /docs for release of 0.45v0.45hugoreleaser
[ci skip]
2018-07-22releaser: Bump versions for release of 0.45hugoreleaser
[ci skip]
2018-07-22Update release notes 0.45Bjørn Erik Pedersen
2018-07-22releaser: Add release notes draft for 0.45hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2018-07-22Get rid of the utils packageBjørn Erik Pedersen
2018-07-22Update hugo_windows.goBjørn Erik Pedersen
2018-07-21hugolib: Print a WARNING about relative non-relative ref/relref matchesBjørn Erik Pedersen
Fixes #4973
2018-07-21hugolib: Allow untyped nil to be merged in lang.MergeBjørn Erik Pedersen
Fixes #4977
2018-07-20resource/scss: Add IncludePaths config optionBjørn Erik Pedersen
Takes paths relative to the current working dir. Fixes #4921
2018-07-20resource/scss: Fix source maps on WindowsBjørn Erik Pedersen
I have tested this OK on * Windows 10 (it did not work before this commit) * MacOS Fixes #4968
2018-07-20Increase refLinker test coverageVas Sudanagunta
2018-07-19hugolib: Avoid nilpointer in absoluteSourceRefBjørn Erik Pedersen
2018-07-19Fix typo-logic bug in GetPageVas Sudanagunta