Skip to content

Commit

Permalink
Add a static directory (for CSS, JS, images, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Apr 20, 2019
1 parent 5fba9bb commit 30d8f6f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use strict;
use warnings;

use Template;
use File::Copy::Recursive 'dircopy';
use Literature::Schema;

my %resources = qw[
Expand Down Expand Up @@ -42,3 +43,5 @@ for (keys %resources) {
or die $tt->error;
}
}

dircopy('static', 'docs');
4 changes: 4 additions & 0 deletions docs/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Move down content because we have a fixed navbar that is 3.5rem tall */
body {
padding-top: 3.5rem;
}
4 changes: 4 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Move down content because we have a fixed navbar that is 3.5rem tall */
body {
padding-top: 3.5rem;
}

0 comments on commit 30d8f6f

Please sign in to comment.