Meta descriptions are pretty useful for search engines and also for an item summary from other pages.
This commit is contained in:
parent
72a97107c7
commit
0c298fe48d
@ -5,6 +5,7 @@ framework: blueprint
|
|||||||
stylesheet: _blueprint.sass
|
stylesheet: _blueprint.sass
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
|
meta_description: The Blueprint Framework -- ported to Sass.
|
||||||
---
|
---
|
||||||
|
|
||||||
- render 'reference' do
|
- render 'reference' do
|
||||||
|
@ -5,6 +5,7 @@ framework: compass
|
|||||||
stylesheet: _compass.sass
|
stylesheet: _compass.sass
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
|
meta_description: The Compass Core Framework.
|
||||||
---
|
---
|
||||||
- render 'reference' do
|
- render 'reference' do
|
||||||
%p
|
%p
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: Compass Css3
|
title: Compass CSS3
|
||||||
crumb: Css3
|
crumb: CSS3
|
||||||
framework: compass
|
framework: compass
|
||||||
stylesheet: compass/_css3.sass
|
stylesheet: compass/_css3.sass
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
|
meta_description: Provides cross browser CSS3 mixins that take advantage of available pre-spec vendor prefixes.
|
||||||
---
|
---
|
||||||
- render 'reference' do
|
- render 'reference' do
|
||||||
%p
|
%p
|
||||||
|
@ -3,6 +3,7 @@ title: Compass Layout
|
|||||||
crumb: Layout
|
crumb: Layout
|
||||||
framework: compass
|
framework: compass
|
||||||
stylesheet: compass/_layout.sass
|
stylesheet: compass/_layout.sass
|
||||||
|
meta_description: Page layout module. So far, this is just the sticky-footer mixin.
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ title: Compass Misc
|
|||||||
crumb: Misc
|
crumb: Misc
|
||||||
framework: compass
|
framework: compass
|
||||||
stylesheet: compass/_misc.sass
|
stylesheet: compass/_misc.sass
|
||||||
|
meta_description: Cute stuff you probably don't need.
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
---
|
---
|
||||||
|
@ -5,6 +5,7 @@ framework: compass
|
|||||||
stylesheet: compass/_reset.sass
|
stylesheet: compass/_reset.sass
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
|
meta_description: Adds a CSS Reset into your stylesheet.
|
||||||
---
|
---
|
||||||
- render 'reference' do
|
- render 'reference' do
|
||||||
%p
|
%p
|
||||||
|
@ -5,6 +5,7 @@ framework: compass
|
|||||||
stylesheet: compass/_utilities.sass
|
stylesheet: compass/_utilities.sass
|
||||||
classnames:
|
classnames:
|
||||||
- reference
|
- reference
|
||||||
|
meta_description: Provides basic mixins for common styling patterns.
|
||||||
---
|
---
|
||||||
- render 'reference' do
|
- render 'reference' do
|
||||||
%p
|
%p
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
%title
|
%title
|
||||||
#{@item[:title]} - Compass
|
#{@item[:title]} - Compass
|
||||||
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
||||||
|
- if @item[:meta_description]
|
||||||
|
%meta{:name => "description", :content => @item[:meta_description]}
|
||||||
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
|
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
|
||||||
%link{ :href => "/docs/stylesheets/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
%link{ :href => "/docs/stylesheets/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||||
%link{ :href => "/docs/stylesheets/ui-lightness/jquery-ui-1.7.2.custom.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
%link{ :href => "/docs/stylesheets/ui-lightness/jquery-ui-1.7.2.custom.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
%title
|
%title
|
||||||
#{@item[:title]} - Compass
|
#{@item[:title]} - Compass
|
||||||
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
||||||
|
- if @item[:meta_description]
|
||||||
|
%meta{:name => "description", :content => @item[:meta_description]}
|
||||||
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
|
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
|
||||||
%link{ :href => "/docs/stylesheets/example.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
%link{ :href => "/docs/stylesheets/example.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
||||||
%style{:type => "text/css"}= example_css
|
%style{:type => "text/css"}= example_css
|
||||||
|
Loading…
Reference in New Issue
Block a user