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
2013-11-09Handle schema-less urls when apply absurlNoah Campbell
Fixes #114
2013-11-06Remove the hugo-nav functionNoah Campbell
Remove the hugo-nav since it relied on a slow library. The current build reimplements the absurl functionality based on string replace. Discovered that my prior implementation missed the requirement for making absolute paths (/path) absolute with the host, whereas a relative path is left untouched. Updated the test cases to support this if this is reimplemented.
2013-11-01Improve rendering timeNoah Campbell
50% speedup. Fix #91 to run the benchmark: go test -test.run=NONE -bench=".*" -test.benchmem=true ./transform/ > new.txt to compare the results: /usr/local/go/misc/benchcmp baseline.txt new.txt Speedup and memory improvements benchmark old ns/op new ns/op delta BenchmarkChain 101219 50453 -50.15% BenchmarkTransform 51625 45531 -11.80% benchmark old allocs new allocs delta BenchmarkChain 222 103 -53.60% BenchmarkTransform 135 106 -21.48% benchmark old bytes new bytes delta BenchmarkChain 23919 10998 -54.02% BenchmarkTransform 11858 10665 -10.06%
2013-11-01Adding benchmark for transformation module.Noah Campbell
2013-10-08Code cleanupNoah Campbell
2013-10-08Change the order of Apply to be more UnixyNoah Campbell
Typically the destination is on the left and the src is on the right.
2013-10-08Chain transformers and test casesNoah Campbell
Transformers can now be chained together, working on the output of the previous run.
2013-10-08Rename Transform to AbsURLNoah Campbell
2013-09-18Fix parsing edge case of frontmatterNoah Campbell
When the frontmatter contains a - (or other delimiter) close to the closing frontmatter delimiter, frontmatter detection would fail.
2013-09-18Add a transform stepNoah Campbell
This allows for the manipulation of the DOM. This is expected to be applied after the templates are rendered.