diff --git a/plugins/active_link.rb b/plugins/active_link.rb index 15dd8273c24..bd5853f7022 100644 --- a/plugins/active_link.rb +++ b/plugins/active_link.rb @@ -1,5 +1,3 @@ -require 'pry' - module Jekyll class ActiveLinkTag < Liquid::Tag def initialize(tag_name, text, token) @@ -10,8 +8,10 @@ module Jekyll end def render(context) + href = Liquid::Template.parse(@href).render context + title = Liquid::Template.parse(@title).render context cls = @href == context.registers[:page]["url"] ? "class='active'" : '' - "#{@title}" + "#{title}" end end end diff --git a/plugins/linkable_title.rb b/plugins/linkable_title.rb index 784ca99bcd1..7a5ba4c2b0f 100644 --- a/plugins/linkable_title.rb +++ b/plugins/linkable_title.rb @@ -6,7 +6,7 @@ module Jekyll end def render(context) - title = Liquid::Template.parse(@markup).render context + title = Liquid::Template.parse(@title).render context slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '') " #{title}" end diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 807d70631b9..f2904767113 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -204,85 +204,6 @@ p.note { } } -.install-instructions-container { - #normal-install, #raspberry-install, #docker-install, #synology-install, .install-instructions { - display: none; - } - - label.menu-selector { - display: inline-block; - text-align: center; - padding: 20px; - white-space: nowrap; - border-bottom: 5px solid $grayLight; - transition: border-bottom-color .5s; - } - - label.menu-selector + label.menu-selector { - margin-left: 10px; - } - - #normal-install:checked ~ .menu-selector.normal, - #raspberry-install:checked ~ .menu-selector.raspberry, - #docker-install:checked ~ .menu-selector.docker, - #synology-install:checked ~ .menu-selector.synology - { - border-bottom-color: $blue; - } - - #normal-install:checked ~ .install-instructions.normal, - #raspberry-install:checked ~ .install-instructions.raspberry, - #docker-install:checked ~ .install-instructions.docker, - #synology-install:checked ~ .install-instructions.synology - { - display: block; - } - - .install-instructions { - margin-top: 30px; - } -} - -.advanced-installs-container { - - #upstart-install, #systemd-install, #osx-install, #synology-install, .advanced-installs { - display: none; - } - - label.menu-selector { - display: inline-block; - text-align: center; - padding: 20px; - white-space: nowrap; - border-bottom: 5px solid $grayLight; - transition: border-bottom-color .5s; - } - - label.menu-selector + label.menu-selector { - margin-left: 10px; - } - - #upstart-install:checked ~ .menu-selector.upstart, - #systemd-install:checked ~ .menu-selector.systemd, - #osx-install:checked ~ .menu-selector.osx, - #synology-install:checked ~ .menu-selector.synology - { - border-bottom-color: $blue; - } - - #upstart-install:checked ~ .advanced-installs.upstart, - #systemd-install:checked ~ .advanced-installs.systemd, - #osx-install:checked ~ .advanced-installs.osx, - #synology-install:checked ~ .advanced-installs.synology - { - display: block; - } - - .advanced-installs { - margin-top: 30px; - } -} - #components-page { .isotope-item { z-index: 2; diff --git a/source/_includes/asides/getting_started_navigation.html b/source/_includes/asides/getting_started_navigation.html new file mode 100644 index 00000000000..bd4a989e720 --- /dev/null +++ b/source/_includes/asides/getting_started_navigation.html @@ -0,0 +1,40 @@ +
+ {% include edit_github.html %} + +
+

Getting Started Guide

+ +
+
diff --git a/source/_includes/custom/navigation.html b/source/_includes/custom/navigation.html index 02c0394a6ee..33d52b98af3 100644 --- a/source/_includes/custom/navigation.html +++ b/source/_includes/custom/navigation.html @@ -1,15 +1,15 @@