1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-26 23:24:39 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
Oliver Steele
1b6ef60051 Re-export FrontMatter from pages 2021-06-16 14:51:59 +08:00
Oliver Steele
924085779e Use go 1.9 type aliases 2021-06-16 14:51:59 +08:00
Oliver Steele
c64c4fe7cc Rename Page methods 2017-09-02 13:53:50 -04:00
Oliver Steele
0344353d4d Implement jekyll-default-layout plugin 2017-09-02 12:10:35 -04:00
Oliver Steele
c870633ae8 Permalinks ignore frontmatter title (currently disabled) 2017-08-27 14:33:28 -04:00
Oliver Steele
32b1d0e7c4 Report markdown error filename 2017-08-22 11:19:06 -04:00
Oliver Steele
56a7d8474d page.path appears to == page.relative_path 2017-08-20 16:54:33 -04:00
Oliver Steele
6a15ee0463 Code format 2017-08-20 16:51:51 -04:00
Oliver Steele
1fa322bb69 Define page.date 2017-08-20 16:51:26 -04:00
Oliver Steele
a8e5e47197 Go straight to config for output extension 2017-08-20 15:12:13 -04:00
Oliver Steele
8d79623641 Replace some VariableMap by new type FrontMatter 2017-08-20 15:05:07 -04:00
Oliver Steele
3ded951bff Define page and static_file variables
* Define page.draft, page.slug, file.collection
* static_file.{name, basename} use basename
* page.id is based on the permalink, not the pathname
2017-08-20 12:56:23 -04:00
Oliver Steele
7a551f516c Remove page.{dir,name,permalink} 2017-08-20 12:56:23 -04:00
Oliver Steele
3744beef32 Parse post filenames dates in local location 2017-08-20 12:56:23 -04:00
Oliver Steele
9816243db2 Rename pipeline -> renderers 2017-08-18 11:07:01 -04:00
Oliver Steele
8ac7f1e191 Define jekyll.environment = JEKYLL_ENV 2017-08-18 10:55:34 -04:00
Oliver Steele
2ee44cf787 Recompute excerpt after rendering 2017-08-16 16:11:29 -04:00
Oliver Steele
8e0c8743a9 Use liquid.IterationKeyedMap 2017-08-15 18:55:18 -04:00
Oliver Steele
d3cf6e1d2a Define jekyll.version to liquid 2017-08-14 15:23:00 -04:00
Oliver Steele
89ed90dd93 "variables" subcommand: replace yaml.Marshal -> pp.Print 2017-08-11 17:22:11 -04:00
Oliver Steele
bffb3518c6 Rename {Page.Content,Collection.SetPageContent,Site.setPageContent} -> Render 2017-08-10 11:03:24 -04:00
Oliver Steele
d8b4d57d88 Render excerpts 2017-08-10 10:44:04 -04:00
Oliver Steele
a010d84ba8 Change Page.content []byte -> string 2017-08-10 09:07:33 -04:00
Oliver Steele
b001cc7b34 Create a PageEmbed 2017-07-25 11:24:37 -04:00
Oliver Steele
2dc46e00da Incremental pt. 2 2017-07-25 11:08:53 -04:00
Oliver Steele
7c21bdbe13 add page.{dir,name} 2017-07-25 09:49:54 -04:00
Oliver Steele
c6d68627ea Implement jekyll-default-layout 2017-07-25 09:49:54 -04:00
Oliver Steele
490018fca1 page.title apparently doesn't have a default 2017-07-25 09:49:54 -04:00
Oliver Steele
d6bab69738 include tag looks in $theme/_includes 2017-07-25 09:49:54 -04:00
Oliver Steele
0a0fa46ab3 Page drops use []byte instead of string
Improves perf on jekyll/docs 0.80s ± 0.06s -> 54s ± 0.05
2017-07-23 16:21:24 -04:00
Oliver Steele
b808f37f90 Add static_file.{name,basename} to drop 2017-07-20 11:33:25 -04:00
Oliver Steele
7e8feec5a5 Permalink patterns use local (or site) tz 2017-07-17 08:22:40 -04:00
Oliver Steele
2f3ed9a9d1 Read title from frontmatter 2017-07-14 11:30:39 -04:00
Oliver Steele
02981b719b Fix a race 2017-07-14 10:59:32 -04:00
Oliver Steele
9b5cbaa2c3 Move tags, categories -> Page 2017-07-13 12:28:02 -04:00
Oliver Steele
651f33d8f3 Move permalink -> page 2017-07-13 12:05:32 -04:00
Oliver Steele
5d646b47e5 Distinguish better between site-relative and collection-relative paths 2017-07-12 08:15:34 -04:00
Oliver Steele
f9c67a4272 Don't apply permalinks to static files 2017-07-10 14:14:42 -04:00
Oliver Steele
9d95f03917 Use date from post filename in permalink 2017-07-10 13:54:52 -04:00
Oliver Steele
908fc1d897 remove page.RenderContext 2017-07-10 13:23:51 -04:00
Oliver Steele
4dc06356e9 Move helpers -> utils 2017-07-09 16:17:20 -04:00
Oliver Steele
4f664d2998 stylistic changes 2017-07-09 16:09:03 -04:00
Oliver Steele
ad59c0239d Use template.SetSourceLocation instead of adding fake whitespace 2017-07-09 11:57:20 -04:00
Oliver Steele
90b1422567 Emulate jekyll-redirect-from plugin 2017-07-08 19:57:41 -04:00
Oliver Steele
e49007f408 Used cached page content in render 2017-07-08 14:38:37 -04:00
Oliver Steele
3fb43c65ab Implement site.html_pages 2017-07-07 14:55:24 -04:00
Oliver Steele
e43569d14f Move some frontmatter fns to own package 2017-07-07 14:55:24 -04:00
Oliver Steele
d1abd57e7a Approximation of excerpts 2017-07-06 19:31:36 -04:00
Oliver Steele
266c14c798 Implement site.{pages,static_files,documents} 2017-07-05 12:44:38 -04:00
Oliver Steele
55ac57dcbe Move liquid.generics -> evaluator 2017-07-05 11:35:20 -04:00