diff --git a/Gemfile b/Gemfile index cb239b2..f75c469 100644 --- a/Gemfile +++ b/Gemfile @@ -1,10 +1,10 @@ -source 'https://rubygems.org' +source "https://rubygems.org" -gem 'middleman', '~> 4.5' -gem 'middleman-autoprefixer', '~> 3.0' -gem 'terser', '~> 1.1' -gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby, :x64_mingw] -gem 'wdm', '~> 0.1', platforms: [:mswin, :mingw, :x64_mingw] +gem "middleman", "~> 4.5" +gem "middleman-autoprefixer", "~> 3.0" +gem "terser", "~> 1.1" +gem "tzinfo-data", platforms: [:mswin, :mingw, :jruby, :x64_mingw] +gem "wdm", "~> 0.1", platforms: [:mswin, :mingw, :x64_mingw] group :development, :test do gem "rubydex", require: false diff --git a/config.rb b/config.rb index 49835dc..f9951a5 100644 --- a/config.rb +++ b/config.rb @@ -9,9 +9,9 @@ # https://middlemanapp.com/basics/layouts/ # Per-page layout changes -page '/*.xml', layout: false -page '/*.json', layout: false -page '/*.txt', layout: false +page "/*.xml", layout: false +page "/*.json", layout: false +page "/*.txt", layout: false # With alternative layout # page '/path/to/file.html', layout: 'other_layout' diff --git a/source/blog/index.html.erb b/source/blog/index.html.erb index fcc0bb9..ea39703 100644 --- a/source/blog/index.html.erb +++ b/source/blog/index.html.erb @@ -1 +1,5 @@ +--- +title: "Blog" +--- +

Blog

diff --git a/source/fonts/bootstrap-icons.woff b/source/fonts/bootstrap-icons.woff new file mode 100644 index 0000000..a4fa4f0 Binary files /dev/null and b/source/fonts/bootstrap-icons.woff differ diff --git a/source/fonts/bootstrap-icons.woff2 b/source/fonts/bootstrap-icons.woff2 new file mode 100644 index 0000000..4d8c490 Binary files /dev/null and b/source/fonts/bootstrap-icons.woff2 differ diff --git a/source/index.html.erb b/source/index.html.erb index 7147cc5..b203a57 100644 --- a/source/index.html.erb +++ b/source/index.html.erb @@ -1,23 +1,5 @@ --- -title: Welcome to Middleman +title: Welcome! --- - - -

- Middleman is Running -

- -<%= link_to( - "Read Documentation", - "https://middlemanapp.com/basics/templating_language/", - target: "_blank" -) %> +

Errbit

diff --git a/source/javascripts/site.js b/source/javascripts/site.js deleted file mode 100644 index 9de6ff3..0000000 --- a/source/javascripts/site.js +++ /dev/null @@ -1 +0,0 @@ -// This is where it all goes :) diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 3e36a20..0b4903d 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -4,10 +4,15 @@ - - <%= current_page.data.title || "Middleman" %> - <%= stylesheet_link_tag "site" %> - <%= javascript_include_tag "site" %> + + <% if current_page.data.title.present? %> + <%= current_page.data.title %> | Errbit + <% else %> + Errbit + <% end %> + + <%= stylesheet_link_tag "bootstrap" %> + <%= javascript_include_tag "bootstrap.bundle", defer: true %> diff --git a/source/release_notes/index.html.erb b/source/release_notes/index.html.erb index f82b11b..2d45156 100644 --- a/source/release_notes/index.html.erb +++ b/source/release_notes/index.html.erb @@ -1,3 +1,7 @@ +--- +title: "Release notes" +--- +

Release notes

<%= link_to "About", "" %> diff --git a/source/release_notes/v0.11.0.html.erb b/source/release_notes/v0.11.0.html.erb index fc7bbb3..a66a63f 100644 --- a/source/release_notes/v0.11.0.html.erb +++ b/source/release_notes/v0.11.0.html.erb @@ -1,3 +1,5 @@ -Aloha +--- +title: "Release notes for v0.11.0" +--- -<%= Time.now %> +

Release notes for v0.11.0

diff --git a/source/stylesheets/site.css.scss b/source/stylesheets/site.css.scss deleted file mode 100644 index fda2be7..0000000 --- a/source/stylesheets/site.css.scss +++ /dev/null @@ -1,24 +0,0 @@ -body { - background-color: #fbc547; - color: #333; - font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", - "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", - "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", - "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif; - padding: 18vh 1rem; - text-align: center; -} - -a { - color: rgba(#000, 0.7); - - &:focus, - &:hover { - color: rgba(#000, 0.6); - } -} - -.middleman-logo { - margin-bottom: 1rem; - width: 10rem; -}