set font and round corners
This commit is contained in:
parent
37238e864b
commit
bf56790e3a
4 changed files with 47 additions and 4 deletions
|
@ -5,7 +5,7 @@ use DB::BlogMeta;
|
|||
|
||||
unit class Config;
|
||||
|
||||
|
||||
# TODO: Support GFM admonitions
|
||||
method generate-post(Str:D $title, Str:D $content, BlogMeta:D $meta) {
|
||||
my $head = head [
|
||||
meta :charset<utf-8>;
|
||||
|
@ -15,6 +15,11 @@ method generate-post(Str:D $title, Str:D $content, BlogMeta:D $meta) {
|
|||
# Use Iosevka Alie as the monospace font
|
||||
link :rel<stylesheet>,
|
||||
:href<https://static.stranger.systems/fonts/IosevkaAlie/IosevkaAile.css>;
|
||||
# Use open sans as the content font
|
||||
link :rel<preconnect> :href<https://fonts.googleapis.com>;
|
||||
link :rel<preconnect> :href<https://fonts.gstatic.com> :crossorigin;
|
||||
link :rel<stylesheet>,
|
||||
:href<https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap>;
|
||||
style %?RESOURCES<main.css>.slurp;
|
||||
style %?RESOURCES<code.css>.slurp;
|
||||
# TODO: Add description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue