Commit graph

14 commits

Author SHA1 Message Date
Brian Carroll
6fe9466b0d
static-site-gen: add some CSS 2022-09-05 21:13:37 +01:00
Brian Carroll
c21a6cb67c
static-site-gen: New example using lorem ipsum content 2022-09-05 20:46:53 +01:00
Brian Carroll
ce357db270
static-site-gen: make the nav links nicer 2022-09-04 16:43:44 +01:00
Brian Carroll
bbb36cae17
static-site-gen: move assets to output folder 2022-09-04 16:43:05 +01:00
Brian Carroll
93bc73fb14
static-site-gen: copy assets from Daring Fireball 2022-09-04 16:43:03 +01:00
Brian Carroll
edb9fb7022
static-site-gen: formatting 2022-09-04 16:42:56 +01:00
Brian Carroll
70c424b138
static-site-gen: template compiles 2022-09-04 16:42:53 +01:00
Brian Carroll
82bbccfb53
BAD ERROR: importing 'lang' twice causes compiler crash 2022-09-04 16:42:49 +01:00
Brian Carroll
9f32ce4e53
static-site-gen: <head> compiles 2022-09-04 16:42:42 +01:00
Brian Carroll
35858ed4f8
Fixed error by removing = 2022-09-04 16:42:36 +01:00
Brian Carroll
0487107e24
Unhelpful compiler error (wrong location with invalid href=
── UNFINISHED LIST ────────────────── examples/static-site-gen/static-site.roc ─

I am partway through started parsing a list, but I got stuck here:

21│          head [] [
22│              meta [httpEquiv "content-type" , content "text/html; charset=utf-8" ] [],
23│              title [] [text "Daring Fireball: Markdown"],
24│              link [rel "apple-touch-icon-precomposed" ,href="/graphics/apple-touch-icon.png"] [],
                 ^

I was expecting to see a closing square bracket before this, so try
adding a ] and see if that helps?

Note: When I get stuck like this, it usually means that there is a
missing parenthesis or bracket somewhere earlier. It could also be a
stray keyword or operator.
2022-09-04 16:42:02 +01:00
Brian Carroll
bbc8c36d30
static-site-gen: get rid of Result 2022-09-04 16:41:24 +01:00
Brian Carroll
65a18591e5
static-site-gen: treat all input files as Str rather than List U8
This is just a lot more convenient and in practice isn't really a limitation
2022-09-04 16:41:14 +01:00
Brian Carroll
f1cb7d735b
try to use legacy linker on static-site-gen in example tests 2022-08-30 23:57:38 +01:00
Renamed from examples/static-site-gen/app.roc (Browse further)