summaryrefslogtreecommitdiffstats
path: root/hugolib/planner.go
AgeCommit message (Collapse)Author
2016-11-23Remove ShowPlanBjørn Erik Pedersen
It is out of sync with reality, has some disabled tests, and the cost of getting it up-to-date is too high to be worth it.
2016-09-06Add parent as owner to SiteBjørn Erik Pedersen
And pull up common member vars like Tmpl and Multilinguage. Or: the final multilingual TODO-fixes. See #2309
2016-09-06Add multilingual support in HugoAlexandre Bourget
Implements: * support to render: * content/post/whatever.en.md to /en/2015/12/22/whatever/index.html * content/post/whatever.fr.md to /fr/2015/12/22/whatever/index.html * gets enabled when `Multilingual:` is specified in config. * support having language switchers in templates, that know where the translated page is (with .Page.Translations) (when you're on /en/about/, you can have a "Francais" link pointing to /fr/a-propos/) * all translations are in the `.Page.Translations` map, including the current one. * easily tweak themes to support Multilingual mode * renders in a single swift, no need for two config files. Adds a couple of variables useful for multilingual sites Adds documentation (content/multilingual.md) Added language prefixing for all URL generation/permalinking see in the code base. Implements i18n. Leverages the great github.com/nicksnyder/go-i18n lib.. thanks Nick. * Adds "i18n" and "T" template functions..
2016-04-07huglib: Add even more missing GoDocBjørn Erik Pedersen
See #2014
2016-03-05Unexport the target handlersBjørn Erik Pedersen
These are of no interest outside the package.
2015-12-10Add copyright header to that source files that don’t have one.Anthony Fok
See #1646
2015-11-02Export Page.LayoutBjørn Erik Pedersen
And at the same time rename and unexport the badly named `Layout()` func. That method is not very usable outside the package. Fixes #1539
2014-11-04New targets & new renderers and write methods [WIP]spf13
2014-10-16Big refactor of how source files are used. Also added default destination ↵spf13
extension option.
2013-10-08Refactor layout selection codeNoah Campbell
The render code path would use a fallback if there was an exception. This change instead relies on explicit declaration of the layout to use and includes a check to see if the layout indeed exists before attempting to render it.
2013-09-20Create a TargetPath() method that provides OutFileNoah Campbell
Moved the generation of the target path to the page breaking all dependecies on Site.
2013-09-18Allow non-markdown content in content directoryNoah Campbell
Allow content that is not markdown and does not need to be rendered to exists in the content directory. Currently any valid html or xml document can exist. Templates are applied to these documents as well. If you need to have content that doesn't have templates or AbsUrlify like operations, then continue to put this content in static and it will be copied over.
2013-09-18More expressive --check outputNoah Campbell
2013-09-18Add renderer information to --checkNoah Campbell
Now reports if the page will be rendered or not and by which render engine.
2013-09-12Move alias rendering to targetNoah Campbell
2013-09-04Introduce source.FilesystemNoah Campbell
This provides an abstraction over how files are processed by Hugo. This allows for alternatives like CMS systems or Dropbox, etc.
2013-09-03Expand the ShowPlan functionalityNoah Campbell
2013-09-03Add Translate to targetNoah Campbell
Translate handles Ugly Urls.
2013-09-03Add file reporting to plannerNoah Campbell
2013-09-03Adding PlannerNoah Campbell