Skip to content

Commit

Permalink
chore(core): parity with mashape static sites skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Aug 24, 2015
1 parent f3257b5 commit 587a465
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.project
.bundle
.idea
npm-debug.log
*.log

# jekyll
Gemfile.lock
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sitemap: false
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in site.pages %}{% if page.sitemap != false %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
<loc>{{ site.links.web }}{{ page.url }}</loc>
<lastmod>{{ site.time | date_to_xmlschema}}</lastmod>
<changefreq>weekly</changefreq>
<priority>{% if page.kong_version == site.data.kong_latest.release %}2.0{% else %}1.0{%endif%}</priority>
Expand Down
38 changes: 24 additions & 14 deletions jekyll.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# Build settings
source: app
destination: dist
permalink: pretty
timezone: America/San_Francisco
markdown: redcarpet
redcarpet:
extensions:
- fenced_code_blocks
- no_intra_emphasis
- autolink
- with_toc_data
- strikethrough
- lax_html_blocks
- superscript
- tables

keep_files:
- assets

# Site settings
name: Kong
title: Open-Source API and Microservice Management Layer
Expand All @@ -11,16 +31,6 @@ repos:
docs: https://github.com/Mashape/getkong.org
oauth2_hello_world: https://github.com/Mashape/kong-oauth2-hello-world

# Build settings
source: app
destination: dist
permalink: pretty
plugins: ./app/_jekyll_plugins
keep_files: ['assets']
timezone: America/San_Francisco
markdown: redcarpet
redcarpet:
extensions: ["fenced_code_blocks", "no_intra_emphasis", "autolink", "with_toc_data", "strikethrough"," lax_html_blocks", "superscript", "tables"]
defaults:
-
scope:
Expand All @@ -29,14 +39,14 @@ defaults:
layout: 'page'
-
scope:
path: 'about'
path: 'docs'
values:
layout: 'about'
layout: 'docs'
-
scope:
path: 'docs'
path: 'about'
values:
layout: 'docs'
layout: 'about'
-
scope:
path: 'plugins'
Expand Down

0 comments on commit 587a465

Please sign in to comment.