Commit Graph

391 Commits

Author SHA1 Message Date
Dillon Kearns
a55440f44e Update to Elm 0.19.1. 2019-12-11 05:54:00 -08:00
Dillon Kearns
89c44de1db Update blog post. 2019-12-11 05:40:13 -08:00
Dillon Kearns
b435eb1560 Merge branch 'master' into static-http 2019-12-10 17:26:17 -08:00
Dillon Kearns
a92be3388b Restore head tags and prefetching functionality with new static http API. 2019-12-10 13:50:56 -08:00
Dillon Kearns
f726f9dc2b Add article draft. 2019-12-10 09:51:54 -08:00
Dillon Kearns
8e11ef894a Update package-lock.json 2019-12-10 09:51:21 -08:00
Dillon Kearns
1b09fcd991 Include star count in docs site header. 2019-12-10 07:48:22 -08:00
Dillon Kearns
1b2d08bc54 Use ilias's latest json library, update docs site, use 19.1 for docs site. 2019-12-09 20:18:48 -08:00
Dillon Kearns
b0213189ca Generate buildTime constant in Pages.elm. 2019-12-09 13:03:53 -08:00
Philipp Krüger
55ed089a65
Documentation typo: Metadata doesn't take a param
Also: Removed redundant paranthesis.
2019-12-04 15:19:15 +01:00
Dillon Kearns
395d421be8 Add missing package to example. 2019-11-01 13:27:04 -07:00
Dillon Kearns
7cd6ebe39b Show decoder errors for each page. 2019-10-24 06:13:15 -07:00
Dillon Kearns
c9b0104292 Add StaticHttp.map3. 2019-10-23 21:32:48 -07:00
Dillon Kearns
34324d7b19 Change StaticHttp design to allow for multiple requests per page. 2019-10-23 21:01:11 -07:00
Dillon Kearns
c04b72c5c2 Wire through StaticRequests end-to-end. 2019-10-22 13:36:41 -07:00
Brian Ginsburg
b011d184c2 Remove space above and below code elements
Modify shadow DOM tree construction to remove spaces introduced by string interpolation.
2019-10-22 06:56:18 -07:00
Dillon Kearns
789cc59d88 Send manifest config through port. 2019-10-21 23:06:25 -07:00
Dillon Kearns
4b32547c7c Update generated Pages.elm file template. 2019-10-21 15:57:01 -07:00
Dillon Kearns
f0d4a21dfb Send over StaticResponses data structure. 2019-10-19 12:40:33 -07:00
Dillon Kearns
899f872223 Add starting point for function to extract StaticRequests for each page. 2019-10-19 10:02:28 -07:00
Dillon Kearns
40089da983 Initial prototype to fetch static data. 2019-10-15 22:16:49 -07:00
Dillon Kearns
92a2ba9578 Get basic types wired up for static data. 2019-10-15 20:23:52 -07:00
Dillon Kearns
703f4ac6a6 Add prototype for new static request interface. 2019-10-14 09:46:25 -07:00
Dillon Kearns
ebc80239a8 Do example of hardcoded static data. 2019-10-14 08:06:31 -07:00
Dillon Kearns
8037ed33f5 Pass in static http no-op request as a prototype. 2019-10-13 17:35:34 -07:00
Dillon Kearns
130fe8c3ad Change structure of the view/head functions in application config. 2019-10-13 09:53:24 -07:00
Dillon Kearns
431b350858 Wire through (Maybe (PagePath pathKey)) as init argument. 2019-10-08 21:12:17 -07:00
Dillon Kearns
fcc3661909 Add onUrlChange to Pages.application (fixes #4). 2019-10-08 20:36:54 -07:00
Dillon Kearns
edd3183a1c Add tweet to article. 2019-10-08 08:17:55 -07:00
Dillon Kearns
c77dc2260f Remove draft tag. 2019-10-07 12:12:01 -07:00
Dillon Kearns
efcde4fce6 Add link to contributing guide. 2019-10-07 12:10:50 -07:00
Dillon Kearns
752fe6a37f Update post. 2019-10-07 11:46:52 -07:00
Dillon Kearns
a4b69c3571 Update post. 2019-10-07 11:39:36 -07:00
Dillon Kearns
6652cf46f2 Update content. 2019-10-07 11:07:47 -07:00
Dillon Kearns
e2f7ae90c4 Fix wrapping in markdown lists. 2019-10-07 11:06:31 -07:00
Dillon Kearns
70b0de8d61 Resize image dimensions. 2019-10-07 11:04:52 -07:00
Dillon Kearns
6944db80ba Update publish date on post. 2019-10-06 20:04:37 -07:00
Dillon Kearns
662f8982c8 Update post. 2019-10-06 20:04:23 -07:00
Dillon Kearns
a88ba529ed Update post. 2019-10-06 20:00:55 -07:00
Dillon Kearns
6dccdb3b1e Update description. 2019-10-06 17:46:16 -07:00
Dillon Kearns
539e37adf7 Remove extra space surrounding code-editors. 2019-10-06 17:31:55 -07:00
Dillon Kearns
7e89615409 Update post. 2019-10-06 17:22:18 -07:00
Dillon Kearns
fdfcbf1d15 Update image. 2019-10-06 17:16:49 -07:00
Dillon Kearns
f7cb1a1de8 Use new tab links. 2019-10-06 17:14:35 -07:00
Dillon Kearns
29513454c1 Update link. 2019-10-06 17:14:24 -07:00
Dillon Kearns
8315c96be5 Clean up elm-ui wrapping rules for markdown renderer. 2019-10-06 17:03:22 -07:00
Dillon Kearns
0fd282ea84 Add draft post of elm-markup announcement. 2019-10-06 10:57:28 -07:00
Dillon Kearns
0445ce6eb1 Use elm-markdown library instead of vendored library. 2019-10-05 18:46:13 -07:00
Dillon Kearns
b43bbf740c Update folder paths for content in netlify CMS config. 2019-09-28 10:17:52 -07:00
Dillon Kearns
1baf3f1829 Update netlify cms config. 2019-09-28 10:14:07 -07:00
Dillon Kearns
3ab1c078ec Update folder paths for netlify config. 2019-09-28 10:03:29 -07:00
Dillon Kearns
b1e910d654 Add netlify CMS admin panel. 2019-09-28 09:50:58 -07:00
Dillon Kearns
1fd0b33eb9 Remove references to Raleway which were supposed to be Montserrat. 2019-09-25 09:00:52 -07:00
Dillon Kearns
c1b0f91b3e Update quick start with npm install command in instructions. 2019-09-24 15:12:38 -07:00
Dillon Kearns
53967eb312 Remove generated file from version control. 2019-09-24 15:07:32 -07:00
Dillon Kearns
871858b72d Use latest elm-oembed which sets max-width 100% on iframe. 2019-09-24 15:07:32 -07:00
Dillon Kearns
a7f14bbca0 Ignore generated files. 2019-09-24 15:07:32 -07:00
Razzeee
668fa48477
Fix typo 2019-09-24 22:14:47 +02:00
Dillon Kearns
8a623eaadb Make navbar more responsive. 2019-09-24 11:40:30 -07:00
Dillon Kearns
a6268235d1 Add tweet to blog post. 2019-09-24 11:00:53 -07:00
Dillon Kearns
a02b05dc34 Change publish date. 2019-09-24 10:28:35 -07:00
Dillon Kearns
2d2bdaa8b2 Add link to frontmatter definition. 2019-09-24 10:28:06 -07:00
Dillon Kearns
4f1eb75510 Update post. 2019-09-24 10:26:47 -07:00
Dillon Kearns
d91b811e54 Update quick start. 2019-09-24 10:20:34 -07:00
Dillon Kearns
acdf85fcb8 Merge branch 'generate-vendor-files' 2019-09-23 17:23:45 -07:00
Dillon Kearns
88370cbdf8 Try using png favicon to see if it fixes netlify issue. 2019-09-23 17:01:24 -07:00
Dillon Kearns
a39aea59ef Set loglevel to reduce spam in npm install. 2019-09-23 16:22:59 -07:00
Dillon Kearns
b2e8520606 Remove obsolete file. 2019-09-23 16:12:09 -07:00
Dillon Kearns
479ad6267c Generate files to avoid having to manually copy and update vendor files. 2019-09-23 16:11:59 -07:00
Dillon Kearns
b5cca02356 Update blog post. 2019-09-23 15:28:29 -07:00
Dillon Kearns
c00bf752f7 Update content. 2019-09-23 14:58:33 -07:00
Dillon Kearns
10d86f5f7e Hide draft content. 2019-09-23 14:47:07 -07:00
Dillon Kearns
c7b952a91d Add article images. 2019-09-23 14:35:41 -07:00
Dillon Kearns
ea144139a7 Bump elm-oembed. 2019-09-23 14:24:27 -07:00
Dillon Kearns
79f81ceac1 Update to latest markdown parser. 2019-09-23 10:59:04 -07:00
Dillon Kearns
1f6dbb8742 Update post. 2019-09-22 15:36:12 -07:00
Dillon Kearns
5615dea218 Update landing page copy. 2019-09-22 13:05:08 -07:00
Dillon Kearns
41b886a368 Add elm package docs link. 2019-09-22 11:00:30 -07:00
Dillon Kearns
947ce8bac5 Add Github link in navbar. 2019-09-22 10:35:49 -07:00
Dillon Kearns
3f6e0c0d3d Upgrade markdown parser. 2019-09-22 10:27:50 -07:00
Dillon Kearns
f30c46a26c Update blog post. 2019-09-21 19:15:53 -07:00
Dillon Kearns
8448bb60b6 Update content. 2019-09-21 11:34:53 -07:00
Dillon Kearns
7855e1b348 Fix alignment for bullet lists. 2019-09-21 11:11:18 -07:00
Dillon Kearns
e2ebb4f4dc Update content. 2019-09-21 10:56:43 -07:00
Dillon Kearns
5ab9575944 Update markdown parser. 2019-09-21 10:44:26 -07:00
Dillon Kearns
765c7e7b7d Update elm-markdown version and use elm-oembed. 2019-09-19 14:21:06 -07:00
Dillon Kearns
16c90be195 Update landing page. 2019-09-17 18:07:28 -07:00
Dillon Kearns
50d858bf9f Fix some errors in js code. 2019-09-16 18:37:26 -07:00
Dillon Kearns
1bf3213933 Setup jsconfig.json to check TypeScript against js files. 2019-09-16 15:22:05 -07:00
Dillon Kearns
86caa4946b Rename generated file to Pages, and former Pages module to Pages.Platform. 2019-09-15 21:51:16 -07:00
Dillon Kearns
7dc33ce9ab Rename task. 2019-09-15 21:47:49 -07:00
Dillon Kearns
313ae0e08c Move modules over in preparation for elm package publish. 2019-09-15 16:05:40 -07:00
Dillon Kearns
e3fafa927f Use opaque type for Document. 2019-09-15 15:00:14 -07:00
Dillon Kearns
1b6eb7fd4c Refactor type. 2019-09-15 14:51:07 -07:00
Dillon Kearns
1c1e63e611 Delete unused module. 2019-09-15 13:34:53 -07:00
Dillon Kearns
2b06f0dc9f Correctly generate with or without index. 2019-09-15 13:29:43 -07:00
Dillon Kearns
9a2f1c3753 Return PagePath instead of String from Directory index function. 2019-09-15 13:23:50 -07:00
Dillon Kearns
800e933e12 Track whether directory has index or not to allow getting index. 2019-09-15 13:19:39 -07:00
Dillon Kearns
d4a112b0e5 Use directory index helper for current page link helper. 2019-09-15 12:36:43 -07:00
Dillon Kearns
dd86ac052f Generate directories instead of list of sub-paths. 2019-09-15 12:14:17 -07:00
Dillon Kearns
ca101aec90 Reference local project in example docs. 2019-09-15 11:23:20 -07:00
Dillon Kearns
098f96810f Remove obsolete file. 2019-09-15 11:22:44 -07:00
Dillon Kearns
1c6ec272da Highlight current pages with primary color. 2019-09-15 10:53:58 -07:00
Dillon Kearns
8ae0e9e97a Highlight current page in navbar. 2019-09-15 10:49:20 -07:00
Dillon Kearns
a3cc710dd2 Underline current page in docs sidebar. 2019-09-15 10:39:13 -07:00
Dillon Kearns
5e9167353b Pass PagePath for current page to view. 2019-09-15 10:32:38 -07:00
Dillon Kearns
4623ecf7a5 Pass List PagePath instead of List (List String) to view function. 2019-09-13 17:53:32 -07:00
Dillon Kearns
8ce8792a94 Add missing pieces for PagePath/ImagePath refactor. 2019-09-13 14:43:40 -07:00
Dillon Kearns
b050743915 Use different type for PagePath and ImagePath. 2019-09-13 14:25:25 -07:00
Dillon Kearns
42b88ccaf1 Include elm-oembed NPM package. 2019-09-11 05:32:29 -07:00
Dillon Kearns
40b920853c Update blog post view. 2019-09-09 21:33:02 -07:00
Dillon Kearns
eb7165cfc4 Update styling. 2019-09-09 21:22:55 -07:00
Dillon Kearns
21fa164f39 Add overflow scroll to editor web component. 2019-09-09 20:58:20 -07:00
Dillon Kearns
61f5f2e01f Update blog index view. 2019-09-09 20:41:36 -07:00
Dillon Kearns
0b70ad9d58 Add blog index page. 2019-09-09 20:32:11 -07:00
Dillon Kearns
519e47b8db Add authors data as elm module. 2019-09-09 20:21:11 -07:00
Dillon Kearns
e08e68677f Add author page. 2019-09-09 20:10:50 -07:00
Dillon Kearns
9853ed206f Add avatar image to blog posts. 2019-09-09 19:04:41 -07:00
Dillon Kearns
c0bc9cf8eb Move metadata parser into Metadata module. 2019-09-09 16:55:45 -07:00
Dillon Kearns
709216777a Remove unnecessary type variable. 2019-09-09 16:36:01 -07:00
Dillon Kearns
a163b97591 Update elm-pages version. 2019-09-09 16:35:37 -07:00
Dillon Kearns
4372996d2d Display published date for articles. 2019-09-09 15:21:13 -07:00
Dillon Kearns
1c5749d1cf Add published metadata to blog posts. 2019-09-09 15:17:19 -07:00
Dillon Kearns
11c3503a25 Update meta tags for elm-pages site. 2019-09-09 14:57:18 -07:00
Dillon Kearns
de15e11c00 Update elm-package to latest version. 2019-09-08 13:47:17 -07:00
Dillon Kearns
958bc73ce9 Remove all references to image assets. 2019-09-07 12:23:11 +05:30
Dillon Kearns
e95c07b091 Clean up some meta tags on www. 2019-09-07 11:49:14 +05:30
Dillon Kearns
17b03bdcde Change type of image urls in meta tag helpers to be Pages.Path. 2019-09-07 11:03:43 +05:30
Dillon Kearns
073ec3a4c6 Add pathKey type variable to head tags. 2019-09-07 10:50:57 +05:30
Dillon Kearns
a6b25bb53d Update generator code to use new Path type. 2019-09-06 15:49:48 +05:30
Dillon Kearns
1fa5dba75e Change Path type to use phantom type for resource kind. 2019-09-06 14:38:11 +05:30
Dillon Kearns
172d96e6f0 Manually edit generated code with new Path type experiment. 2019-09-06 14:17:33 +05:30
Dillon Kearns
4c138c8b49 Add todo description. 2019-09-06 10:17:20 +05:30
Dillon Kearns
9fa568b121 Remove unused imports. 2019-09-06 10:17:05 +05:30
Dillon Kearns
939fed6111 Prepare to remove Pages.Parser helper module. 2019-09-06 10:00:52 +05:30
Dillon Kearns
23861c1b8f Change theme color. 2019-09-06 09:38:47 +05:30
Dillon Kearns
6732cd0625 Regenerate. 2019-09-06 09:34:17 +05:30
Dillon Kearns
487f50b4be Render toc in docs view. 2019-09-06 07:16:42 +05:30
Dillon Kearns
2f48c7702e Add table of contents. 2019-09-04 08:49:53 +05:30
Dillon Kearns
4070fc5598 Add a table of contents. 2019-09-01 19:59:25 +05:30
Dillon Kearns
1a5f7d8817 Add native shim to make ES5 compiled code work with service worker, see https://stackoverflow.com/a/41671440. 2019-08-30 17:54:12 +05:30
Dillon Kearns
2dacc6ae56 Validate links in markdown renderer. 2019-08-30 17:31:45 +05:30
Dillon Kearns
7f4631ade1 Update to latest markdown parser. 2019-08-30 17:16:44 +05:30
Dillon Kearns
f3f43c58e7 Change type of index docs page. 2019-08-30 17:06:27 +05:30
Dillon Kearns
690def59ab Adjust style. 2019-08-30 17:05:08 +05:30
Dillon Kearns
7ac9c680c4 Update markdown parser. 2019-08-30 17:04:45 +05:30
Dillon Kearns
5055975f30 Show blog post titles. 2019-08-30 12:18:14 +05:30
Dillon Kearns
f2a41f1726 Add article. 2019-08-30 11:32:42 +05:30
Dillon Kearns
661e51fda1 Remove unused files after moving to prism from codemirror. 2019-08-30 10:57:28 +05:30
Dillon Kearns
3cc3ef7425 Remove unused babel plugin. 2019-08-30 10:54:37 +05:30