Ross Lawley
0f143dcf14
Skip Static directory if its in your content directory
...
Allows organisation where all source files are in one directory:
```
`config.yaml`:
contentdir: "source"
staticdir: "source/static"
...
.
└── source
├── post
| ├── firstpost.md // <- http://site.com/post/firstpost.html
| └── secondpost.md // <- http://site.com/post/secondpost.html
└── static
└── css
└── site.css // <- http://site.com/css/site.css
```
2013-08-15 20:05:46 +01:00
spf13
3c3fc45d3c
Merge branch 'master' of github.com:spf13/hugo
2013-08-14 10:19:59 -04:00
spf13
480e01eb15
Further work on path/section stuff. Tests passing now.
2013-08-14 08:57:14 -04:00
Steve Francia
7a51a8a5a3
Merge pull request #38 from noahcampbell/workflow_dotfile
...
Workflow dotfile
2013-08-13 20:03:18 -07:00
spf13
b4bcc591e4
Now support for nested paths. Better section detection.
2013-08-13 19:39:24 -04:00
spf13
ec02fa4bdd
Adding support for a default content type template
...
default template found at layouts/_default/single.html
2013-08-13 09:23:43 -04:00
spf13
8968524900
Adding support for recent content.
2013-08-13 08:43:42 -04:00
Noah Campbell
97eb9225a7
Ignore dotfiles in content directory
...
This supports my personal workflow of using vim which places a temporary file in the same directory as the file I'm editing.
2013-08-12 20:40:52 -07:00
elij
023567b05e
fix bad tab/space due to paste
2013-08-12 19:01:23 -07:00
elij
2f9b582dbe
fix wrong renderlist feed permalink
...
when not using ugly urls, the feed permalink does not end up in the
expected location, and instead always behaves as if using ugly urls.
this fixes that behavior and inserts the feed xml file into the
directory as index.xml.
fixes #32
2013-08-12 19:00:29 -07:00
Noah Campbell
8c03141307
Use / for template names regardless of platform.
...
The path seperator was causing templates to not be loaded on windows.
Now all template names use / internally.
2013-08-12 15:03:06 -07:00
VonC
17aafb39dd
Avoid error if no content.
...
The homepage should still be generated.
This is useful especially in the beginning, where you start just with
the homepage.
2013-08-12 14:31:39 +02:00
spf13
0233708907
Started new release notes, added nitro step for aliases
2013-08-10 15:44:22 +01:00
spf13
ac26de205e
Adding correct canonical link to alias pages
2013-08-10 15:41:10 +01:00
spf13
d5518c0966
Adding support for aliases (redirects)
2013-08-10 15:35:34 +01:00
spf13
733c0207cb
Merge branch 'master' of github.com:spf13/hugo
...
Conflicts:
hugolib/site.go
2013-08-10 02:07:35 +01:00
Noah Campbell
2bbecc7bc8
Better reporting when the template is missing.
2013-08-09 17:36:32 -07:00
Noah Campbell
309db474c7
Nitro timer is encapsulated.
...
Remove the need for NewSite by relying on appropriate defaults. Renamed
site.c to site.Config to allow Sites to be created outside the package.
2013-08-09 17:36:32 -07:00
Noah Campbell
274d324c8b
Introduce unit testing for page.go
2013-08-09 17:36:32 -07:00
Noah Campbell
fa55cd9857
Remove unreachable code path.
2013-08-09 17:36:32 -07:00
Noah Campbell
fc5e92cc24
Provide better error handling
...
Change the method signatures to follow the check ok pattern.
2013-08-09 17:36:31 -07:00
spf13
a870f4d955
Fixing missing trailing slash in baseUrl
2013-08-08 12:30:01 +01:00
Nick Sabine
780e2f311b
Populated page Site metadata. Enables accessing Indexes from Page template.
2013-08-07 14:23:24 -04:00
spf13
783f0d6154
fixing badlink on homepage
2013-08-06 01:06:59 +02:00
spf13
6789b6c5ce
removing erroneous debugging output
2013-08-06 01:05:50 +02:00
spf13
dff86cb22c
Renaming indexes template to indexes.html
2013-08-03 03:29:24 -04:00
spf13
52c089ffbd
Added support for indexes of indexes & ordered indexes
2013-08-03 03:09:28 -04:00
spf13
ddad1e04ac
adding previous next capabilities
2013-08-02 16:30:26 -04:00
Noah Campbell
3e539c7126
Adding error message when no content pages exists.
2013-08-01 13:27:56 -07:00
spf13
7ab28c564f
Adding support for destination dir, split out static
2013-07-26 18:06:13 -04:00
spf13
92c31bbe10
permalink now respects pretty urls
2013-07-26 09:56:00 -04:00
spf13
d5f5543061
create content at any level of nesting
2013-07-26 09:28:26 -04:00
spf13
e08d14ad49
fixing issue with some urls missing '/'
2013-07-26 09:27:22 -04:00
spf13
8fae5f0dd6
Default is now pretty urls (without .html)
...
Adding --uglyurls option to retain previous behavior
2013-07-19 00:10:42 -07:00
spf13
c24112ce86
Render shortcodes before index and section rss feeds
2013-07-11 23:26:03 -04:00
spf13
649560fca2
proper BaseUrl handling (if has trailing slash or not)
2013-07-11 22:55:07 -04:00
spf13
7a521ad1a1
Fixing some RSS issues
2013-07-11 22:31:58 -04:00
spf13
75a2e6d4e8
Now support for config files as yaml, json or toml
2013-07-11 22:04:57 -04:00
spf13
51e3098548
Writing relative links to absolute so they work in feeds
2013-07-10 00:14:02 -04:00
spf13
f875577197
rendering shortcodes earlier for better performance
2013-07-05 12:03:47 -04:00
spf13
6e16449e5f
adding hugo
2013-07-04 11:32:55 -04:00