├── .gitignore ├── 404.html ├── CNAME ├── README.md ├── Rakefile ├── _config.yml ├── _includes ├── JB │ ├── analytics │ ├── analytics-providers │ │ ├── getclicky │ │ ├── google │ │ └── mixpanel │ ├── categories_list │ ├── comments │ ├── comments-providers │ │ ├── disqus │ │ ├── facebook │ │ ├── intensedebate │ │ └── livefyre │ ├── liquid_raw │ ├── pages_list │ ├── posts_collate │ ├── setup │ ├── sharing │ └── tags_list ├── site │ └── navigation └── themes │ ├── awesome │ ├── default.html │ ├── page.html │ ├── post.html │ └── settings.yml │ └── twitter │ ├── default.html │ ├── page.html │ ├── post.html │ └── settings.yml ├── _layouts ├── default.html ├── page.html └── post.html ├── _plugins └── debug.rb ├── assets ├── themes │ ├── awesome │ │ ├── images │ │ │ ├── arrow-down.png │ │ │ ├── awe-flat-icon-logo.png │ │ │ ├── awe-trans-icon-logo.png │ │ │ ├── favicon.png │ │ │ ├── logo-delimiter.png │ │ │ ├── octocat-small.png │ │ │ └── white-linen.png │ │ ├── javascripts │ │ │ └── scale.fix.js │ │ ├── stylesheets │ │ │ ├── pygment_trac.css │ │ │ └── styles.css │ │ └── webfonts │ │ │ ├── 27DDD3_0_0.eot │ │ │ ├── 27DDD3_0_0.ttf │ │ │ ├── 27DDD3_0_0.woff │ │ │ └── MyFontsWebfontsKit.css │ └── twitter │ │ ├── bootstrap │ │ ├── css │ │ │ └── bootstrap.min.css │ │ └── img │ │ │ ├── glyphicons-halflings-white.png │ │ │ └── glyphicons-halflings.png │ │ └── css │ │ └── style.css └── wpf_source.png ├── atom.xml ├── changelogs ├── breaking-changes.md ├── index.md ├── whats-new-1-7-0.md ├── whats-new-1-7-1.md ├── whats-new-1-7-2.md ├── whats-new-1-7-3.md ├── whats-new-1-7-4.md ├── whats-new-1-7-5.md ├── whats-new-1-7-5.pdf ├── whats-new-1-7-rc3.md └── whats-new.md ├── favicon.ico ├── general-use ├── index.md ├── initialization-sequence.md ├── introduction-to-web-views.md ├── synchronization-model.md ├── using-data-sources.md ├── using-the-webview.md ├── using-web-sessions.md └── webcore-initialization.md ├── getting-started ├── basic-concepts.md ├── index.md ├── redist.md ├── setting-up-on-mac-osx.md └── setting-up-on-windows.md ├── index.md ├── javascript ├── index.md ├── introduction.md ├── jec.md └── sync-async-js-api.md ├── monomac ├── index.md └── osmwebview.md ├── sitemap.txt ├── unity ├── index.md └── webuicomponent.md ├── winforms ├── index.md └── webcontrol.md └── wpf ├── index.md ├── starter_sample_1.png ├── starter_sample_1_thumb.png ├── user-input.md ├── walkthrough-webcontrol.md └── webcontrol.md /.gitignore: -------------------------------------------------------------------------------- 1 | [Tt]humbs.db 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Page Not Found 8 | 9 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 40 | 41 | 42 |
43 | 44 | 45 |
46 | 50 |

51 | 52 |

53 |
Language:
54 |
55 |
56 |

57 | 58 | 59 | 116 | 117 |

Categories

118 | 119 |

Getting Started

120 | 121 |

General Use

122 | 123 |

JavaScript Integration

124 | 125 |

WPF

126 | 127 |

Windows Forms

128 | 129 |

MonoMac

130 | 131 |

Unity

132 | 133 |

Changelogs

134 | 135 | 136 |
137 |
138 |
139 |
:)
140 |
We are working on it. Check back later, or read some of the awesome articles available.
141 |
142 |
143 | 144 | 148 |
149 | 150 | 151 | 152 | 153 | 164 | 165 | 166 | 167 | 168 | 169 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awesomium/net-wiki/5f701335b5dd436a747410885b542eff7723a03b/CNAME -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Awesomium-Wiki 2 | 3 | This is the online wiki for Awesomium, a Web UI Bridge for Native Apps. 4 | 5 | Check it out at: 6 | 7 | ## To Create a New Category 8 | 9 | Let's make a new category named "My Category" with a path of "/my-category" 10 | 11 | 1. Create a folder named "my-category" in the root of the repo. 12 | 2. Create a file named "index.md" inside this folder 13 | 3. Add the following text to this file (modify it as needed): 14 | 15 | --- 16 | layout: page 17 | title : Category - My Category 18 | group: Categories 19 | 20 | --- 21 | {% include JB/setup %} 22 | 23 | 28 | 4. Open up _config.yml and add your 'name' and 'path' to the 'groups' list. 29 | 5. Start making pages with a group of 'My Category'! 30 | 31 | ## Other Links 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require "rubygems" 2 | require 'rake' 3 | require 'yaml' 4 | require 'time' 5 | 6 | SOURCE = "." 7 | CONFIG = { 8 | 'version' => "0.2.13", 9 | 'themes' => File.join(SOURCE, "_includes", "themes"), 10 | 'layouts' => File.join(SOURCE, "_layouts"), 11 | 'posts' => File.join(SOURCE, "_posts"), 12 | 'post_ext' => "md", 13 | 'theme_package_version' => "0.1.0" 14 | } 15 | 16 | # Path configuration helper 17 | module JB 18 | class Path 19 | SOURCE = "." 20 | Paths = { 21 | :layouts => "_layouts", 22 | :themes => "_includes/themes", 23 | :theme_assets => "assets/themes", 24 | :theme_packages => "_theme_packages", 25 | :posts => "_posts" 26 | } 27 | 28 | def self.base 29 | SOURCE 30 | end 31 | 32 | # build a path relative to configured path settings. 33 | def self.build(path, opts = {}) 34 | opts[:root] ||= SOURCE 35 | path = "#{opts[:root]}/#{Paths[path.to_sym]}/#{opts[:node]}".split("/") 36 | path.compact! 37 | File.__send__ :join, path 38 | end 39 | 40 | end #Path 41 | end #JB 42 | 43 | # Usage: rake post title="A Title" [date="2012-02-09"] 44 | desc "Begin a new post in #{CONFIG['posts']}" 45 | task :post do 46 | abort("rake aborted: '#{CONFIG['posts']}' directory not found.") unless FileTest.directory?(CONFIG['posts']) 47 | title = ENV["title"] || "new-post" 48 | slug = title.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '') 49 | begin 50 | date = (ENV['date'] ? Time.parse(ENV['date']) : Time.now).strftime('%Y-%m-%d') 51 | rescue Exception => e 52 | puts "Error - date format must be YYYY-MM-DD, please check you typed it correctly!" 53 | exit -1 54 | end 55 | filename = File.join(CONFIG['posts'], "#{date}-#{slug}.#{CONFIG['post_ext']}") 56 | if File.exist?(filename) 57 | abort("rake aborted!") if ask("#{filename} already exists. Do you want to overwrite?", ['y', 'n']) == 'n' 58 | end 59 | 60 | puts "Creating new post: #{filename}" 61 | open(filename, 'w') do |post| 62 | post.puts "---" 63 | post.puts "layout: post" 64 | post.puts "title: \"#{title.gsub(/-/,' ')}\"" 65 | post.puts 'description: ""' 66 | post.puts "category: " 67 | post.puts "tags: []" 68 | post.puts "---" 69 | post.puts "{% include JB/setup %}" 70 | end 71 | end # task :post 72 | 73 | # Usage: rake page name="about.html" 74 | # You can also specify a sub-directory path. 75 | # If you don't specify a file extention we create an index.html at the path specified 76 | desc "Create a new page." 77 | task :page do 78 | name = ENV["name"] || "new-page.md" 79 | filename = File.join(SOURCE, "#{name}") 80 | filename = File.join(filename, "index.html") if File.extname(filename) == "" 81 | title = File.basename(filename, File.extname(filename)).gsub(/[\W\_]/, " ").gsub(/\b\w/){$&.upcase} 82 | if File.exist?(filename) 83 | abort("rake aborted!") if ask("#{filename} already exists. Do you want to overwrite?", ['y', 'n']) == 'n' 84 | end 85 | 86 | mkdir_p File.dirname(filename) 87 | puts "Creating new page: #{filename}" 88 | open(filename, 'w') do |post| 89 | post.puts "---" 90 | post.puts "layout: page" 91 | post.puts "title: \"#{title}\"" 92 | post.puts 'description: ""' 93 | post.puts "---" 94 | post.puts "{% include JB/setup %}" 95 | end 96 | end # task :page 97 | 98 | desc "Launch preview environment" 99 | task :preview do 100 | system "jekyll --auto --server" 101 | end # task :preview 102 | 103 | # Public: Alias - Maintains backwards compatability for theme switching. 104 | task :switch_theme => "theme:switch" 105 | 106 | namespace :theme do 107 | 108 | # Public: Switch from one theme to another for your blog. 109 | # 110 | # name - String, Required. name of the theme you want to switch to. 111 | # The the theme must be installed into your JB framework. 112 | # 113 | # Examples 114 | # 115 | # rake theme:switch name="the-program" 116 | # 117 | # Returns Success/failure messages. 118 | desc "Switch between Jekyll-bootstrap themes." 119 | task :switch do 120 | theme_name = ENV["name"].to_s 121 | theme_path = File.join(CONFIG['themes'], theme_name) 122 | settings_file = File.join(theme_path, "settings.yml") 123 | non_layout_files = ["settings.yml"] 124 | 125 | abort("rake aborted: name cannot be blank") if theme_name.empty? 126 | abort("rake aborted: '#{theme_path}' directory not found.") unless FileTest.directory?(theme_path) 127 | abort("rake aborted: '#{CONFIG['layouts']}' directory not found.") unless FileTest.directory?(CONFIG['layouts']) 128 | 129 | Dir.glob("#{theme_path}/*") do |filename| 130 | next if non_layout_files.include?(File.basename(filename).downcase) 131 | puts "Generating '#{theme_name}' layout: #{File.basename(filename)}" 132 | 133 | open(File.join(CONFIG['layouts'], File.basename(filename)), 'w') do |page| 134 | if File.basename(filename, ".html").downcase == "default" 135 | page.puts "---" 136 | page.puts File.read(settings_file) if File.exist?(settings_file) 137 | page.puts "---" 138 | else 139 | page.puts "---" 140 | page.puts "layout: default" 141 | page.puts "---" 142 | end 143 | page.puts "{% include JB/setup %}" 144 | page.puts "{% include themes/#{theme_name}/#{File.basename(filename)} %}" 145 | end 146 | end 147 | 148 | puts "=> Theme successfully switched!" 149 | puts "=> Reload your web-page to check it out =)" 150 | end # task :switch 151 | 152 | # Public: Install a theme using the theme packager. 153 | # Version 0.1.0 simple 1:1 file matching. 154 | # 155 | # git - String, Optional path to the git repository of the theme to be installed. 156 | # name - String, Optional name of the theme you want to install. 157 | # Passing name requires that the theme package already exist. 158 | # 159 | # Examples 160 | # 161 | # rake theme:install git="https://github.com/jekyllbootstrap/theme-twitter.git" 162 | # rake theme:install name="cool-theme" 163 | # 164 | # Returns Success/failure messages. 165 | desc "Install theme" 166 | task :install do 167 | if ENV["git"] 168 | manifest = theme_from_git_url(ENV["git"]) 169 | name = manifest["name"] 170 | else 171 | name = ENV["name"].to_s.downcase 172 | end 173 | 174 | packaged_theme_path = JB::Path.build(:theme_packages, :node => name) 175 | 176 | abort("rake aborted! 177 | => ERROR: 'name' cannot be blank") if name.empty? 178 | abort("rake aborted! 179 | => ERROR: '#{packaged_theme_path}' directory not found. 180 | => Installable themes can be added via git. You can find some here: http://github.com/jekyllbootstrap 181 | => To download+install run: `rake theme:install git='[PUBLIC-CLONE-URL]'` 182 | => example : rake theme:install git='git@github.com:jekyllbootstrap/theme-the-program.git' 183 | ") unless FileTest.directory?(packaged_theme_path) 184 | 185 | manifest = verify_manifest(packaged_theme_path) 186 | 187 | # Get relative paths to packaged theme files 188 | # Exclude directories as they'll be recursively created. Exclude meta-data files. 189 | packaged_theme_files = [] 190 | FileUtils.cd(packaged_theme_path) { 191 | Dir.glob("**/*.*") { |f| 192 | next if ( FileTest.directory?(f) || f =~ /^(manifest|readme|packager)/i ) 193 | packaged_theme_files << f 194 | } 195 | } 196 | 197 | # Mirror each file into the framework making sure to prompt if already exists. 198 | packaged_theme_files.each do |filename| 199 | file_install_path = File.join(JB::Path.base, filename) 200 | if File.exist? file_install_path 201 | next if ask("#{file_install_path} already exists. Do you want to overwrite?", ['y', 'n']) == 'n' 202 | else 203 | mkdir_p File.dirname(file_install_path) 204 | cp_r File.join(packaged_theme_path, filename), file_install_path 205 | end 206 | end 207 | 208 | puts "=> #{name} theme has been installed!" 209 | puts "=> ---" 210 | if ask("=> Want to switch themes now?", ['y', 'n']) == 'y' 211 | system("rake switch_theme name='#{name}'") 212 | end 213 | end 214 | 215 | # Public: Package a theme using the theme packager. 216 | # The theme must be structured using valid JB API. 217 | # In other words packaging is essentially the reverse of installing. 218 | # 219 | # name - String, Required name of the theme you want to package. 220 | # 221 | # Examples 222 | # 223 | # rake theme:package name="twitter" 224 | # 225 | # Returns Success/failure messages. 226 | desc "Package theme" 227 | task :package do 228 | name = ENV["name"].to_s.downcase 229 | theme_path = JB::Path.build(:themes, :node => name) 230 | asset_path = JB::Path.build(:theme_assets, :node => name) 231 | 232 | abort("rake aborted: name cannot be blank") if name.empty? 233 | abort("rake aborted: '#{theme_path}' directory not found.") unless FileTest.directory?(theme_path) 234 | abort("rake aborted: '#{asset_path}' directory not found.") unless FileTest.directory?(asset_path) 235 | 236 | ## Mirror theme's template directory (_includes) 237 | packaged_theme_path = JB::Path.build(:themes, :root => JB::Path.build(:theme_packages, :node => name)) 238 | mkdir_p packaged_theme_path 239 | cp_r theme_path, packaged_theme_path 240 | 241 | ## Mirror theme's asset directory 242 | packaged_theme_assets_path = JB::Path.build(:theme_assets, :root => JB::Path.build(:theme_packages, :node => name)) 243 | mkdir_p packaged_theme_assets_path 244 | cp_r asset_path, packaged_theme_assets_path 245 | 246 | ## Log packager version 247 | packager = {"packager" => {"version" => CONFIG["theme_package_version"].to_s } } 248 | open(JB::Path.build(:theme_packages, :node => "#{name}/packager.yml"), "w") do |page| 249 | page.puts packager.to_yaml 250 | end 251 | 252 | puts "=> '#{name}' theme is packaged and available at: #{JB::Path.build(:theme_packages, :node => name)}" 253 | end 254 | 255 | end # end namespace :theme 256 | 257 | # Internal: Download and process a theme from a git url. 258 | # Notice we don't know the name of the theme until we look it up in the manifest. 259 | # So we'll have to change the folder name once we get the name. 260 | # 261 | # url - String, Required url to git repository. 262 | # 263 | # Returns theme manifest hash 264 | def theme_from_git_url(url) 265 | tmp_path = JB::Path.build(:theme_packages, :node => "_tmp") 266 | abort("rake aborted: system call to git clone failed") if !system("git clone #{url} #{tmp_path}") 267 | manifest = verify_manifest(tmp_path) 268 | new_path = JB::Path.build(:theme_packages, :node => manifest["name"]) 269 | if File.exist?(new_path) && ask("=> #{new_path} theme package already exists. Override?", ['y', 'n']) == 'n' 270 | remove_dir(tmp_path) 271 | abort("rake aborted: '#{manifest["name"]}' already exists as theme package.") 272 | end 273 | 274 | remove_dir(new_path) if File.exist?(new_path) 275 | mv(tmp_path, new_path) 276 | manifest 277 | end 278 | 279 | # Internal: Process theme package manifest file. 280 | # 281 | # theme_path - String, Required. File path to theme package. 282 | # 283 | # Returns theme manifest hash 284 | def verify_manifest(theme_path) 285 | manifest_path = File.join(theme_path, "manifest.yml") 286 | manifest_file = File.open( manifest_path ) 287 | abort("rake aborted: repo must contain valid manifest.yml") unless File.exist? manifest_file 288 | manifest = YAML.load( manifest_file ) 289 | manifest_file.close 290 | manifest 291 | end 292 | 293 | def ask(message, valid_options) 294 | if valid_options 295 | answer = get_stdin("#{message} #{valid_options.to_s.gsub(/"/, '').gsub(/, /,'/')} ") while !valid_options.include?(answer) 296 | else 297 | answer = get_stdin(message) 298 | end 299 | answer 300 | end 301 | 302 | def get_stdin(message) 303 | print message 304 | STDIN.gets.chomp 305 | end 306 | 307 | #Load custom rake scripts 308 | Dir['_rake/*.rake'].each { |r| load r } 309 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # This is the default format. 2 | # For more see: https://github.com/mojombo/jekyll/wiki/Permalinks 3 | permalink: /:categories/:year/:month/:day/:title 4 | 5 | exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"] 6 | auto: true 7 | safe: true 8 | lsi: false 9 | 10 | # Themes are encouraged to use these universal variables 11 | # so be sure to set them if your theme uses them. 12 | # 13 | title : Awesomium.NET Wiki 14 | tagline: Wiki for Awesomium.NET, a Web UI Bridge for Native Apps 15 | author : 16 | name : Awesomium Team 17 | email : contact@awesomium.com 18 | github : awesomium 19 | twitter : awesomium 20 | 21 | groups: 22 | - name: Getting Started 23 | path: /getting-started 24 | - name: General Use 25 | path: /general-use 26 | - name: JavaScript Integration 27 | path: /javascript 28 | - name: WPF 29 | path: /wpf 30 | - name: Windows Forms 31 | path: /winforms 32 | - name: MonoMac 33 | path: /monomac 34 | - name: Unity 35 | path: /unity 36 | - name: Changelogs 37 | path: /changelogs 38 | 39 | # The production_url is only used when full-domain names are needed 40 | # such as sitemap.txt 41 | # Most places will/should use BASE_PATH to make the urls 42 | # 43 | # If you have set a CNAME (pages.github.com) set your custom domain here. 44 | # Else if you are pushing to username.github.com, replace with your username. 45 | # Finally if you are pushing to a GitHub project page, include the project name at the end. 46 | # 47 | production_url : http://awesomium.github.com/net-wiki 48 | 49 | # All Jekyll-Bootstrap specific configurations are namespaced into this hash 50 | # 51 | JB : 52 | version : 0.2.13 53 | 54 | # All links will be namespaced by BASE_PATH if defined. 55 | # Links in your website should always be prefixed with {{BASE_PATH}} 56 | # however this value will be dynamically changed depending on your deployment situation. 57 | # 58 | # CNAME (http://yourcustomdomain.com) 59 | # DO NOT SET BASE_PATH 60 | # (urls will be prefixed with "/" and work relatively) 61 | # 62 | # GitHub Pages (http://username.github.com) 63 | # DO NOT SET BASE_PATH 64 | # (urls will be prefixed with "/" and work relatively) 65 | # 66 | # GitHub Project Pages (http://username.github.com/project-name) 67 | # 68 | # A GitHub Project site exists in the `gh-pages` branch of one of your repositories. 69 | # REQUIRED! Set BASE_PATH to: http://username.github.com/project-name 70 | # 71 | # CAUTION: 72 | # - When in Localhost, your site will run from root "/" regardless of BASE_PATH 73 | # - Only the following values are falsy: ["", null, false] 74 | # - When setting BASE_PATH it must be a valid url. 75 | # This means always setting the protocol (http|https) or prefixing with "/" 76 | BASE_PATH : http://awesomium.github.com/net-wiki 77 | 78 | # By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme. 79 | # ex: [BASE_PATH]/assets/themes/[THEME-NAME] 80 | # 81 | # Override this by defining an absolute path to assets here. 82 | # ex: 83 | # http://s3.amazonaws.com/yoursite/themes/watermelon 84 | # /assets 85 | # 86 | ASSET_PATH : false 87 | 88 | # These paths are to the main pages Jekyll-Bootstrap ships with. 89 | # Some JB helpers refer to these paths; change theme here if needed. 90 | # 91 | archive_path: /archive.html 92 | categories_path : /categories.html 93 | tags_path : /tags.html 94 | 95 | # Settings for comments helper 96 | # Set 'provider' to the comment provider you want to use. 97 | # Set 'provider' to false to turn commenting off globally. 98 | # 99 | comments : 100 | provider : disqus 101 | disqus : 102 | short_name : jekyllbootstrap 103 | livefyre : 104 | site_id : 123 105 | intensedebate : 106 | account : 123abc 107 | facebook : 108 | appid : 123 109 | num_posts: 5 110 | width: 580 111 | colorscheme: light 112 | 113 | # Settings for analytics helper 114 | # Set 'provider' to the analytics provider you want to use. 115 | # Set 'provider' to false to turn analytics off globally. 116 | # 117 | analytics : 118 | provider : google 119 | google : 120 | tracking_id : 'UA-34877473-1' 121 | getclicky : 122 | site_id : 123 | mixpanel : 124 | token : '_MIXPANEL_TOKEN_' 125 | 126 | # Settings for sharing helper. 127 | # Sharing is for things like tweet, plusone, like, reddit buttons etc. 128 | # Set 'provider' to the sharing provider you want to use. 129 | # Set 'provider' to false to turn sharing off globally. 130 | # 131 | sharing : 132 | provider : false 133 | 134 | # Settings for all other include helpers can be defined by creating 135 | # a hash with key named for the given helper. ex: 136 | # 137 | # pages_list : 138 | # provider : "custom" 139 | # 140 | # Setting any helper's provider to 'custom' will bypass the helper code 141 | # and include your custom code. Your custom file must be defined at: 142 | # ./_includes/custom/[HELPER] 143 | # where [HELPER] is the name of the helper you are overriding. 144 | 145 | -------------------------------------------------------------------------------- /_includes/JB/analytics: -------------------------------------------------------------------------------- 1 | {% if site.safe and site.JB.analytics.provider and page.JB.analytics != false %} 2 | 3 | {% case site.JB.analytics.provider %} 4 | {% when "google" %} 5 | {% include JB/analytics-providers/google %} 6 | {% when "getclicky" %} 7 | {% include JB/analytics-providers/getclicky %} 8 | {% when "mixpanel" %} 9 | {% include JB/analytics-providers/mixpanel %} 10 | {% when "custom" %} 11 | {% include custom/analytics %} 12 | {% endcase %} 13 | 14 | {% endif %} -------------------------------------------------------------------------------- /_includes/JB/analytics-providers/getclicky: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /_includes/JB/analytics-providers/google: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/JB/analytics-providers/mixpanel: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/JB/categories_list: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 19 | 20 | {% if site.JB.categories_list.provider == "custom" %} 21 | {% include custom/categories_list %} 22 | {% else %} 23 | {% if categories_list.first[0] == null %} 24 | {% for category in categories_list %}
  • {{ category | join: "/" }} {{ site.categories[category].size }}
  • {% endfor %} 25 | {% else %} 26 | {% for category in categories_list %}
  • {{ category[0] | join: "/" }} {{ category[1].size }}
  • {% endfor %} 27 | {% endif %} 28 | {% endif %} 29 | {% assign categories_list = nil %} -------------------------------------------------------------------------------- /_includes/JB/comments: -------------------------------------------------------------------------------- 1 | {% if site.JB.comments.provider and page.comments != false %} 2 | 3 | {% case site.JB.comments.provider %} 4 | {% when "disqus" %} 5 | {% include JB/comments-providers/disqus %} 6 | {% when "livefyre" %} 7 | {% include JB/comments-providers/livefyre %} 8 | {% when "intensedebate" %} 9 | {% include JB/comments-providers/intensedebate %} 10 | {% when "facebook" %} 11 | {% include JB/comments-providers/facebook %} 12 | {% when "custom" %} 13 | {% include custom/comments %} 14 | {% endcase %} 15 | 16 | {% endif %} -------------------------------------------------------------------------------- /_includes/JB/comments-providers/disqus: -------------------------------------------------------------------------------- 1 |
    2 | 13 | 14 | blog comments powered by Disqus 15 | -------------------------------------------------------------------------------- /_includes/JB/comments-providers/facebook: -------------------------------------------------------------------------------- 1 |
    2 | 9 |
    -------------------------------------------------------------------------------- /_includes/JB/comments-providers/intensedebate: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /_includes/JB/comments-providers/livefyre: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /_includes/JB/liquid_raw: -------------------------------------------------------------------------------- 1 | {% comment%}{% endcomment%} 26 | 27 | {% if site.JB.liquid_raw.provider == "custom" %} 28 | {% include custom/liquid_raw %} 29 | {% else %} 30 |
    {{text | replace:"|.", "{" | replace:".|", "}" | replace:">", ">" | replace:"<", "<" }}
    31 | {% endif %} 32 | {% assign text = nil %} -------------------------------------------------------------------------------- /_includes/JB/pages_list: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 22 | 23 | {% comment %} 24 | 59 | {% endcomment %} 60 | 61 | {% if site.JB.pages_list.provider == "custom" %} 62 | {% include custom/pages_list %} 63 | {% else %} 64 | {% for weight in (1..10) %}{% for node in pages_list %}{% if node.title != null %}{% if node.weight == weight and group == node.group %}{% if page.url == node.url %}
  • {{node.title}}
  • {% else %}
  • {{node.title}}
  • {% endif %}{% endif %}{% endif %}{% endfor %}{% endfor %} 65 | {% for node in pages_list %}{% if node.title != null %}{% if node.weight == null and group == node.group %}{% if page.url == node.url %}
  • {{node.title}}
  • {% else %}
  • {{node.title}}
  • {% endif %}{% endif %}{% endif %}{% endfor %} 66 | {% endif %} 67 | {% assign pages_list = nil %} 68 | {% assign group = nil %} -------------------------------------------------------------------------------- /_includes/JB/posts_collate: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 19 | 20 | {% if site.JB.posts_collate.provider == "custom" %} 21 | {% include custom/posts_collate %} 22 | {% else %} 23 | {% for post in posts_collate %} 24 | {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} 25 | {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %} 26 | {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} 27 | {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %} 28 | 29 | {% if forloop.first %} 30 |

    {{this_year}}

    31 |

    {{this_month}}

    32 | 39 | {% else %} 40 | {% if this_year != next_year %} 41 | 42 |

    {{next_year}}

    43 |

    {{next_month}}

    44 | 48 |

    {{next_month}}

    49 |