summaryrefslogtreecommitdiffstats
path: root/hugolib/site_url_test.go
Commit message (Collapse)AuthorAge
...
* Section is determined by the source, not the urlNoah Campbell2013-09-20
| | | | This change allows for top level html content to exists.
* Fix parsing edge case of frontmatterNoah Campbell2013-09-18
| | | | | When the frontmatter contains a - (or other delimiter) close to the closing frontmatter delimiter, frontmatter detection would fail.
* Merge remote-tracking branch 'origin/parser' into mrg_praserNoah Campbell2013-09-17
| | | | | | | | Also brought in parse for github.com/noahcampbell/akebia Conflicts: hugolib/page.go hugolib/page_test.go
* Move AbUrlify to post content transformationNoah Campbell2013-09-17
| | | | | Currently the a@href and script@src elements will have BaseUrl applied to their elements prior to being written to disk.
* Add /index.html to unadorned alias pathsNoah Campbell2013-09-13
| | | | Bring code to be better in line with documentation.
* Move alias logic to target moduleNoah Campbell2013-09-12
| | | | | | I want to move all logic to writing aliases to target so I can pave the way for writing aliases specific to other runtimes (like .htaccess for apache or a script for updating AWS or symlinking on a filesystem).
* Move alias rendering to targetNoah Campbell2013-09-12
|
* Normalize paths within hugoNoah Campbell2013-09-12
| | | | | | | | | filepath was used inconsistently throughout the hugolib. With the introduction of source and target modules, all path are normalized to "/". This simplifies the processing of paths. It does mean that contributors need to be aware of using path/filepath in any module other than source or target is not recommended. The current exception is hugolib/config.go
* Homepage "/" respects PublishDirNoah Campbell2013-09-05
| | | | | | | It wasn't taking the value of PublishDir into consideration for the special case of the homepage "/". Fixes #75
* Introduce source.FilesystemNoah Campbell2013-09-04
| | | | | This provides an abstraction over how files are processed by Hugo. This allows for alternatives like CMS systems or Dropbox, etc.
* Expand the ShowPlan functionalityNoah Campbell2013-09-03
|
* Externalize the writing of content to a targetNoah Campbell2013-08-30
Introducing the target module in hugo. This provides the simple interface for writing content given a label (filename) and a io.Reader containing the content to be written. If site.Target is not set, it defaults back to the original behavior of writing to file system. In hugolib/site_url_test.go I have an InMemoryTarget for testing purposes and use it to see if the final output of a render matches.