Skip to content

Commit

Permalink
link to css files so we can compress them
Browse files Browse the repository at this point in the history
  • Loading branch information
carlrafting committed Nov 13, 2024
1 parent e722762 commit ec59c9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions src/_includes/layouts/base.vto
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,8 @@
{{# <script type="module">
{{ include "serviceworker/setup.js" }}
</script> #}}
<style media="all">
{{ include "../../css/global/all.css" }}
</style>
<style media="screen">
{{ include "../../css/global/screen.css" }}
</style>
<link rel="stylesheet" href="/css/global/all.css" media="all">
<link rel="stylesheet" href="/css/global/screen.css" media="screen">
<link rel="stylesheet" href="/css/global/print.css" media="print">
{{ content }}
</html>
8 changes: 2 additions & 6 deletions src/_includes/layouts/page.vto
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ license:
background: transparent;
}
</style>
<style media="screen">
{{ include "../../css/page/layout.css" }}
</style>
<link rel="stylesheet" href="/css/page/layout.css" media="screen">
{{ if url === '/' }}
<style media="screen">
{{ include "../../css/page/list.css" }}
</style>
<link rel="stylesheet" href="/css/page/list.css" media="screen">
{{ /if }}
<body>
<!--
Expand Down

0 comments on commit ec59c9c

Please sign in to comment.