SCSS will preserve comments that begin with /*! even when writing
out compressed CSS. While I'm not sure if I want to actually do this,
let's write out such comments for the source and copyright info which
should not be omitted.
* Nick's web site: default stylesheet
*
* Copyright © 2018-2021 Nick Bowler
* Nick's web site: default stylesheet
*
* Copyright © 2018-2021 Nick Bowler
# Nick's web site: css_source filter. Add a notice to generated CSS
# files where the reader may find the source code.
#
# 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
#
# 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
end
copymsgs = copymsgs.scan(copypattern)
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"),
" * Generated file, do not edit!",
" * Compiled from " + item_source(@item) + " on " +
Time.now.gmtime.strftime("%Y-%m-%d %H:%M UTC"),