Skip to content

Commit 61dc26a

Browse files
committed
Generate pack.css on the fly
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 811b544 commit 61dc26a

File tree

7 files changed

+5
-2
lines changed

7 files changed

+5
-2
lines changed
File renamed without changes.
File renamed without changes.

assets/sass/pack.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/sass/pack.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@import 'normalize';
2+
@import 'jquery.fancybox';
3+
@import 'style';
4+
@import 'small';
File renamed without changes.
File renamed without changes.

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="We bring the awesome Git VCS to Windows">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
10-
{{- $style := resources.Get "sass/pack.css" | resources.ExecuteAsTemplate "pack.css" . | css.Sass }}
10+
{{- $style := resources.Get "sass/pack.scss" | resources.ExecuteAsTemplate "pack.scss" . | css.Sass | resources.Minify }}
1111
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
1212
<style type="text/css">
1313
body {

0 commit comments

Comments
 (0)