]> git.draconx.ca Git - homepage.git/blobdiff - lib/css-source.rb
Use special SCSS comments for source and copyright info.
[homepage.git] / lib / css-source.rb
index 211c15545bfafd9a21db3027ebbb5a18772819ba..318508929b014e58859825b0497abf821f734d0f 100644 (file)
@@ -1,7 +1,7 @@
 # Nick's web site: css_source filter.  Add a notice to generated CSS
 # files where the reader may find the source code.
 #
-# Copyright © 2020 Nick Bowler
+# Copyright © 2020-2021 Nick Bowler
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -33,7 +33,7 @@ class CssSourceFilter < Nanoc::Filter
         end
         copymsgs = copymsgs.scan(copypattern)
 
-        ["/*",
+        ["/*!",
          " * Generated file, do not edit!",
          " * Compiled from " + item_source(@item) + " on " +
             Time.now.gmtime.strftime("%Y-%m-%d %H:%M UTC"),