Skip to content

Commit

Permalink
Optimize them SVGs
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjp committed Jul 18, 2024
1 parent d4c41f4 commit b27ed3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ desc "Serve and watch the site (with post limit or drafts)"
task :watch, :option do |t, args|
option = args[:option]
if option.nil? or option.empty?
execute("jekyll serve --watch")
execute("jekyll serve --watch --config _config.yml,_config_dev.yml")
else
if option == "drafts"
execute("jekyll serve --watch --drafts")
Expand Down Expand Up @@ -224,4 +224,4 @@ task :transfer do
else
raise "#{command} isn't a valid file transfer command."
end
end
end
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ exclude:
- vendor/ruby/

svg:
optimize: false
optimize: true

# Iframely!
iframely-key: 176ff6184ababb980170f6037497fb6a
Expand Down
2 changes: 2 additions & 0 deletions _config_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
svg:
optimize: false

0 comments on commit b27ed3f

Please sign in to comment.