You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I first use s3 everything work fine, but in my latest build stylesheet stop working. In #128 you said something about sitemap I have edit stylesheet to use some scss
$main-color: #5C4EE5;
// 1. Your custom variables and variable overwrites.
$global-link-color: $main-color;
$button-primary-background: $main-color;
$form-focus-color: $main-color;
$form-focus-border: $main-color;
// 2. Import default variables and available mixins.
@import "./uikit/src/scss/variables-theme.scss";
@import "./uikit/src/scss/mixins-theme.scss";
// 3. Your custom mixin overwrites.
// @mixin hook-card() { color: #000; }
// 4. Import UIkit.
@import "./uikit/src/scss/uikit-theme.scss";
...
Don't know if this the cause.
I have tried solution in #128 by switching activate :asset_hash out, but no luck.
Gemfile
# If you do not have OpenSSL installed, change
# the following line to use 'http://'
source 'https://rubygems.org'
# For faster file watcher updates on Windows:
gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw]
# Windows does not come with time zone data
gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
# Middleman Gems
gem "middleman", "~> 4.1"
gem "middleman-blog"
gem 'redcarpet', '~> 3.3', '>= 3.3.3'
# For feed.xml.builder
gem "builder", "~> 3.0"
gem 'middleman-livereload'
gem 'middleman-s3_sync'
gem "middleman-cdn"
gem 'mime-types', '~> 3.0.0'
# Analytics
gem "middleman-google-analytics"
config.rb
# Build-specific configuration
configure :build do
# Minify CSS on build
activate :minify_css
# Minify Javascript on build
activate :minify_javascript
activate :asset_hash
end
# http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
activate :s3_sync do |s3_sync|
s3_sync.bucket = xxxx
s3_sync.region = xxx
end
activate :cdn do |cdn|
cdn.cloudfront = {
distribution_id: xxxxx
}
cdn.filter = /\.html/i # default /.*/
cdn.after_build = true # default is false
end
# https://middlemanapp.com/advanced/pretty-urls/
activate :directory_indexes
...
Hi
When I first use s3 everything work fine, but in my latest build stylesheet stop working. In #128 you said something about sitemap I have edit stylesheet to use some scss
Don't know if this the cause.
I have tried solution in #128 by switching
activate :asset_hash
out, but no luck.Gemfile
config.rb
Here is result
The text was updated successfully, but these errors were encountered: