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

58 Commits

Author SHA1 Message Date
Oliver Steele
5905a1705a Implement :categories in permalink 2017-06-22 12:56:08 -04:00
Oliver Steele
b9dc9a6a08 Refactor page content computation 2017-06-22 11:55:58 -04:00
Oliver Steele
3297748f9e Create pages package 2017-06-22 11:02:32 -04:00
Oliver Steele
6367a8d0e0 Move VariableMap -> new templates package 2017-06-22 10:46:14 -04:00
Oliver Steele
d18b8931d3 Replace page.container by an interface 2017-06-22 10:46:14 -04:00
Oliver Steele
9ab752b9b2 Page functions take context argument; remove Page.container 2017-06-22 09:36:39 -04:00
Oliver Steele
8eea9e9b94 Page depends on a Container interface, not a Site struct 2017-06-22 08:35:18 -04:00
Oliver Steele
dd7d072a85 Site data, pt. 2 2017-06-21 09:11:09 -04:00
Oliver Steele
8c64cbe6c6 Implement page.content 2017-06-20 16:17:59 -04:00
Oliver Steele
67ebfd87a9 Refactor in prep for page.content 2017-06-20 08:59:54 -04:00
Oliver Steele
5b9bd0a008 Read yaml site data files 2017-06-19 14:44:34 -04:00
Oliver Steele
e67ea7c2dc Move site initialization 2017-06-19 14:03:04 -04:00
Oliver Steele
0bb1227769 Update LTS protocol; more README 2017-06-19 10:27:57 -04:00
Oliver Steele
66495ca55f Add --remote-liquid 2017-06-18 22:24:10 -04:00
Oliver Steele
1c904d6996 Add some doctrings 2017-06-18 17:00:33 -04:00
Oliver Steele
48264d85d5 Support external liquid template engines 2017-06-18 15:37:21 -04:00
Oliver Steele
c6874f755f Fully wrap acstech/liquid 2017-06-18 05:59:12 -04:00
Oliver Steele
0a3b31cbf7 Livereload (but don't yet inject the script tag) 2017-06-17 13:53:09 -04:00
Oliver Steele
bc4a237794 Lint 2017-06-17 13:18:28 -04:00
Oliver Steele
e0bc5b9ab6 Report pathnames that cause errors; more helpers 2017-06-17 13:06:53 -04:00
Oliver Steele
bfeedfa357 Server reloads site when changed 2017-06-17 12:31:18 -04:00
Oliver Steele
44036937b5 Rename package main -> gojekyll; move commands to subdirectory 2017-06-17 10:51:32 -04:00
Oliver Steele
9ff072b6d8 Server, render command, redirect / to /index.html 2017-06-16 23:50:30 -04:00
Oliver Steele
f9c1469d6b Implement liquid includes 2017-06-16 23:36:27 -04:00
Oliver Steele
a7ae4bc3c6 Implement front matter defaults 2017-06-16 23:30:10 -04:00
Oliver Steele
0b394de97e Remove the site global 2017-06-16 22:09:25 -04:00
Oliver Steele
c4ecd47fcc Move liquid files to directory; eliminate another global reference 2017-06-16 22:03:28 -04:00
Oliver Steele
80c5aad703 New file site_config.go; honor site config layouts_dir 2017-06-16 21:53:14 -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
2102f544dc Move *_helpers.go -> ./helpers/*.go 2017-06-16 19:17:22 -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
a3a98ab4e6 Site is a field of Page; separate out {layout,markdown}.go 2017-06-16 15:14:56 -04:00
Oliver Steele
1d9fa428bc Implement sass 2017-06-16 13:47:11 -04:00
Oliver Steele
15cff8988a Implement --destination 2017-06-15 22:31:36 -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
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
af5236f7ae Fix some metalinter warnings 2017-06-13 17:19:05 -04:00
Oliver Steele
c954878abe Honor site includes 2017-06-13 12:38:06 -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
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