1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-27 09:24:38 +01:00
Commit Graph

274 Commits

Author SHA1 Message Date
Oliver Steele
eb35e6415e Windows linefeeds are \r\n, not \r 2017-06-16 20:49:28 -04:00
Oliver Steele
35cc2d2142 Store Collection in Page 2017-06-16 20:19:46 -04:00
Oliver Steele
aa35dbf1c5 Remove . imports 2017-06-16 20:11:52 -04:00
Oliver Steele
20cde62eff Rename path -> name or relpath 2017-06-16 20:06:55 -04:00
Oliver Steele
9695a57374 Factor out commands, dynamic_page, helpers/liquid 2017-06-16 19:34:39 -04:00
Oliver Steele
2102f544dc Move *_helpers.go -> ./helpers/*.go 2017-06-16 19:17:22 -04:00
Oliver Steele
01f423ef02 Rename test -> example 2017-06-16 19:13:49 -04:00
Oliver Steele
1c6e4527ca Tests: assert -> require; add require.NoError 2017-06-16 16:47:49 -04:00
Oliver Steele
76db93cab6 Reduce reliance on global site variable 2017-06-16 16:44:09 -04:00
Oliver Steele
5e6de82bbf Move variable_map, file_helpers to own files 2017-06-16 15:47:41 -04:00
Oliver Steele
8c7deb783e Fix lints 2017-06-16 15:41:03 -04:00
Oliver Steele
a3a98ab4e6 Site is a field of Page; separate out {layout,markdown}.go 2017-06-16 15:14:56 -04:00
Oliver Steele
0f085318b5 Permalink computations are methods on pageFields 2017-06-16 14:52:29 -04:00
Oliver Steele
1d9fa428bc Implement sass 2017-06-16 13:47:11 -04:00
Oliver Steele
6a4b048a09 Default permalink honors md, scss output extensions 2017-06-15 22:32:10 -04:00
Oliver Steele
15cff8988a Implement --destination 2017-06-15 22:31:36 -04:00
Oliver Steele
1e12903487 Add a couple more filters 2017-06-15 22:30:53 -04:00
Oliver Steele
54bbbc9c96 Refine permalink variables 2017-06-15 19:49:04 -04:00
Oliver Steele
19274932a1 Layout inheritance 2017-06-15 11:51:40 -04:00
Oliver Steele
1f80b485d2 Apply layouts (w/out inheritance) 2017-06-15 11:30:44 -04:00
Oliver Steele
3263183272 Patch permalink paths 2017-06-15 11:18:52 -04:00
Oliver Steele
9b882e1407 Implement jsonify filter 2017-06-15 10:17:30 -04:00
Oliver Steele
103390d39d Handle empty frontmatter 2017-06-15 10:17:21 -04:00
Oliver Steele
75ea2e11d0 More README 2017-06-15 09:39:06 -04:00
Oliver Steele
428b4cb1c4 Update README install 2017-06-15 09:34:51 -04:00
Oliver Steele
a4d4e363ca Simplfy page creation; always apply permalink pattern 2017-06-15 09:34:51 -04:00
Oliver Steele
4f382b1830 Rearrange Page methods 2017-06-15 09:34:51 -04:00
Oliver Steele
d57468e045 More work on template variables 2017-06-15 09:34:51 -04:00
Oliver Steele
a3ff348d3c Recompute Page.Published() 2017-06-15 09:34:51 -04:00
Oliver Steele
fdfe64126c Move permalinks to separate file 2017-06-15 09:34:51 -04:00
Oliver Steele
7a143c0fae Add doc strings; adjjust method names 2017-06-15 09:34:51 -04:00
Oliver Steele
53304c3452 Split Page into embeddings and interface 2017-06-15 09:34:51 -04:00
Oliver Steele
089417f1db Introduce a VariableMap type 2017-06-15 09:34:51 -04:00
Oliver Steele
3e68659b3a Add static page variables 2017-06-14 13:20:52 -04:00
Oliver Steele
a04d501b5f Move subcommand function top-level 2017-06-14 12:54:44 -04:00
Oliver Steele
d755807448 Use urface/cli for CLI parsing 2017-06-14 11:31:23 -04:00
Oliver Steele
af5236f7ae Fix some metalinter warnings 2017-06-13 17:19:05 -04:00
Oliver Steele
9301e82793 Add a Travis badge 2017-06-13 12:47:59 -04:00
Oliver Steele
925f772967 Add travis file 2017-06-13 12:45:33 -04:00
Oliver Steele
c954878abe Honor site includes 2017-06-13 12:38:06 -04:00
Oliver Steele
2c24bb5ab3 Fix error reporting for link tag 2017-06-13 12:37:50 -04:00
Oliver Steele
2f60d8a528 The build command displays the file count 2017-06-13 12:19:10 -04:00
Oliver Steele
83800e38d4 NewSite creates initialized Site 2017-06-13 12:19:10 -04:00
Oliver Steele
81c6c28faf Move Source, Dest to Site type; make Config private 2017-06-13 11:27:24 -04:00
Oliver Steele
408e5d13ec Rename test collection -> c1 2017-06-13 11:00:35 -04:00
Oliver Steele
c996a6495f Make config a type w/ methods; add --dry_run 2017-06-13 11:00:24 -04:00
Oliver Steele
0e9354ab87 Move Collection to a separate file 2017-06-13 09:01:20 -04:00
Oliver Steele
0f6691eda2 Refactor Collection type and methods out of site config 2017-06-13 08:55:39 -04:00
Oliver Steele
09acac0190 Use site config to recognize markdown files 2017-06-13 08:55:39 -04:00
Oliver Steele
ad70550a7c Test file tests site variable 2017-06-13 08:55:39 -04:00