Skip to content

Commit 9db4421

Browse files
committed
Added new global navbar
1 parent e71377e commit 9db4421

File tree

8 files changed

+125
-350
lines changed

8 files changed

+125
-350
lines changed

config.rb

-4
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@
9494

9595
activate :directory_indexes
9696

97-
activate :deploy do |deploy|
98-
deploy.method = :git
99-
end
100-
10197
configure :development do
10298
activate :livereload, :no_swf => true
10399
set :is_live, false

data/header.yml

+23-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,26 @@ navigation:
3737
-
3838
name: "Documentation"
3939
icon: "external-link"
40-
link: "http://docs.komodoide.com/"
40+
link: "http://docs.komodoide.com/"
41+
navigation_left:
42+
-
43+
name: "Learn More About Komodo"
44+
link: "http://www.activestate.com/komodoide"
45+
icon: "external-link"
46+
-
47+
name: "Try"
48+
link: "http://www.activestate.com/komodoide"
49+
icon: "external-link"
50+
-
51+
name: "Buy"
52+
link: "https://store.activestate.com/komodo-ide"
53+
icon: "external-link"
54+
navigation_right:
55+
-
56+
name: "Store"
57+
link: "https://store.activestate.com/"
58+
icon_before: "shopping-cart"
59+
-
60+
name: "My Account"
61+
link: "https://account.activestate.com/"
62+
icon_before: "user"

helpers.rb

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def get_list(ob, classAttr = "")
108108
if value.has_key?("img")
109109
r.push "<img src='#{image_path(value["img"])}' alt='#{value["name"]}'/>"
110110
end
111+
if value.has_key?("icon_before")
112+
r.push "<i class='icon icon-#{value["icon_before"]}'></i>"
113+
end
111114
r.push "<span class='link-name'>#{value["name"]}</span>"
112115
if value.has_key?("icon")
113116
r.push "<i class='icon icon-#{value["icon"]}'></i>"
2.94 KB
Loading
305 Bytes
Loading

0 commit comments

Comments
 (0)