+compile '/style.scss', rep: :dark do
+ filter :compiled_content, snapshot: :before_darkmode
+ filter :css_darkmode, alternate: true
+ write "/dark.css"
+end
+
+compile '/gpg/*' do
+ filter :wkd_export_armor
+ write "/pubring/#{@item.identifier.components.last}.asc"
+ write "/pubring/#{@item[:id64]}.asc" if @item[:id64]
+ write "/pubring/#{@item[:id32]}.asc" if @item[:id32]
+end
+
+compile '/gpg/*', rep: :hu do
+ if @item[:wkd_hash]
+ filter :wkd_export
+ write "/pubring/wkd/" + @item[:wkd_hash]
+ end
+end
+ignore '/*.gpg'
+
+compile '/**/*.svg' do
+ filter :scour, comment_stripping: true
+ write @item.identifier.to_s
+end
+
+compile '/icons/**/*.svg', rep: :icon32 do
+ filter :svg2png, width: 32, height: 32
+ write @item.identifier.without_ext + "-32.png"
+end
+