mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
Link to GitHub for Ruby Sass release notes
This commit is contained in:
parent
d6455f82cc
commit
7f886f13ee
@ -246,12 +246,15 @@ module SassHelpers
|
|||||||
|
|
||||||
# Returns the URL tag for the latest release of the given implementation.
|
# Returns the URL tag for the latest release of the given implementation.
|
||||||
def release_url(impl)
|
def release_url(impl)
|
||||||
|
if impl == :ruby
|
||||||
|
return "https://github.com/sass/ruby-sass/blob/stable/doc-src/SASS_CHANGELOG.md"
|
||||||
|
end
|
||||||
|
|
||||||
version = impl_version(impl)
|
version = impl_version(impl)
|
||||||
repo =
|
repo =
|
||||||
case impl
|
case impl
|
||||||
when :dart; "dart-sass"
|
when :dart; "dart-sass"
|
||||||
when :libsass; "libsass"
|
when :libsass; "libsass"
|
||||||
when :ruby; "sass"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if version
|
if version
|
||||||
|
@ -105,8 +105,7 @@
|
|||||||
= link_to 'Ruby Sass', '/ruby-sass'
|
= link_to 'Ruby Sass', '/ruby-sass'
|
||||||
-# Force space between the two links.
|
-# Force space between the two links.
|
||||||
 
|
 
|
||||||
= link_to impl_version(:ruby) || '???', |
|
= link_to impl_version(:ruby) || '???', release_url(:ruby)
|
||||||
'/documentation/file.SASS_CHANGELOG.html' |
|
|
||||||
|
|
||||||
%li.sl-l-grid__column.sl-l-large-grid__column--auto-size
|
%li.sl-l-grid__column.sl-l-large-grid__column--auto-size
|
||||||
= link_to 'Implementation Guide', '/implementation'
|
= link_to 'Implementation Guide', '/implementation'
|
||||||
|
Loading…
Reference in New Issue
Block a user