uninline stylesheets
This commit is contained in:
parent
b1ec578902
commit
550c4613e7
2 changed files with 13 additions and 4 deletions
|
@ -103,6 +103,12 @@ class PostDB {
|
|||
my $atom-path = $out-dir.add('atom.xml');
|
||||
my $atom = posts-to-atom self;
|
||||
$atom-path.spurt: format-xml(~$atom);
|
||||
# Create the resources folder and copy over our style sheets
|
||||
my $res-dir = $out-dir.add('resources/');
|
||||
mkdir $res-dir unless $res-dir.e;
|
||||
$res-dir.add('colors.css').spurt: %?RESOURCES<colors.css>.slurp;
|
||||
$res-dir.add('main.css').spurt: %?RESOURCES<main.css>.slurp;
|
||||
$res-dir.add('code.css').spurt: %?RESOURCES<code.css>.slurp;
|
||||
}
|
||||
|
||||
#| Get a list of posts sorted by date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue