Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add video guides to side bar

Signed-off-by: Michael Barton <mail@michaelbarton.me.uk>
  • Loading branch information...
commit 4869e1a0bffc5cf56673d1570d79438a18d7aff8 1 parent 66e027a
@michaelbarton authored
View
5 config.yaml
@@ -10,11 +10,14 @@ site:
analytics_token: "UA-1362555-4"
navigation:
'about': "/"
- 'install': "/install/"
'scaffold format': "/scaffold-format/"
'troubleshooting': "/troubleshooting/"
'mailing list': "/mailing-list/"
'contribute': "/contribute/"
+ guides:
+ 'installing': "/install/"
+ 'genome annotations': "/managing-annotations/"
+ 'a simple genome': "/a-simple-genome/"
author:
url: "http://www.michaelbarton.me.uk"
name: "Michael Barton"
View
5 content/markup/a-simple-genome.markdown
@@ -0,0 +1,5 @@
+---
+ title: Completing a simple genome
+---
+
+<%= youtube 'jVn62pMnIRA' %>
View
5 content/markup/managing-annotations.markdown
@@ -0,0 +1,5 @@
+---
+ title: Managing genome annotations
+---
+
+<%= youtube 'U3HnVWMUb90' %>
View
7 layouts/_title.haml
@@ -10,3 +10,10 @@
%a{:href => navigation_link(href)}
%li
= name
+ %p.header
+ = "Video Guides"
+ %ul
+ - @site.config[:site][:guides].each do |name,href|
+ %a{:href => navigation_link(href)}
+ %li
+ = name
Please sign in to comment.
Something went wrong with that request. Please try again.