camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject [4/4] camel git commit: CAMEL-11492 New Camel website
Date Mon, 03 Jul 2017 08:28:48 GMT
CAMEL-11492 New Camel website

Initial, very unflattering - draft website.

To generate the website run `mvn package` from the `camel-website`
directory. This should install `node` and `yarn`, and `yarn` should
download all other tools and dependencies and then build the website in
the `public` directory.

With `yarn` installed locally `yarn build` builds the website,
`yarn serve` enables development mode with live reload.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/23691454
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/23691454
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/23691454

Branch: refs/heads/website
Commit: 2369145460110e51882d6519e23752ad338f156a
Parents: f2e425e
Author: Zoran Regvart <zregvart@apache.org>
Authored: Mon Jul 3 10:26:09 2017 +0200
Committer: Zoran Regvart <zregvart@apache.org>
Committed: Mon Jul 3 10:26:09 2017 +0200

----------------------------------------------------------------------
 camel-website/.eslintrc.js                      |   33 +
 camel-website/.gitignore                        |    6 +-
 camel-website/.yarnclean                        |   43 +
 camel-website/Gruntfile.js                      |   62 -
 camel-website/archetypes/default.md             |    6 +
 camel-website/config.toml                       |   55 +
 camel-website/content/.gitignore                |    3 +
 camel-website/content/_index.md                 |    1 +
 camel-website/content/about.adoc                |    2 +
 camel-website/data/.gitignore                   |    1 +
 camel-website/gulpfile.js                       |   48 +
 camel-website/i18n/en.toml                      |   41 +
 camel-website/layouts/404.html                  |    1 +
 camel-website/layouts/_default/li.html          |   17 +
 camel-website/layouts/_default/list.html        |   21 +
 camel-website/layouts/_default/single.html      |   19 +
 camel-website/layouts/_default/terms.html       |   12 +
 camel-website/layouts/index.html                |   11 +
 camel-website/layouts/partials/data/description |   11 +
 camel-website/layouts/partials/data/title       |   17 +
 camel-website/layouts/partials/disqus.html      |    3 +
 .../layouts/partials/entry/content.html         |    3 +
 .../layouts/partials/entry/footer.html          |   10 +
 .../layouts/partials/entry/header.html          |   13 +
 camel-website/layouts/partials/entry/meta.html  |   18 +
 .../layouts/partials/entry/taxonomy-list.html   |   14 +
 .../layouts/partials/extras/term_cloud.html     |   27 +
 camel-website/layouts/partials/footer.html      |   22 +
 .../layouts/partials/footer/copyright.html      |   15 +
 camel-website/layouts/partials/head/head.html   |    8 +
 .../layouts/partials/head/includes.html         |    7 +
 camel-website/layouts/partials/head/meta.html   |    5 +
 .../layouts/partials/head/opengraph.html        |   73 +
 camel-website/layouts/partials/header.html      |   19 +
 .../layouts/partials/nav/entry_nav.html         |   33 +
 .../layouts/partials/nav/menus/main.html        |   17 +
 .../layouts/partials/nav/menus/social.html      |   16 +
 .../layouts/partials/nav/pagination.html        |   46 +
 camel-website/layouts/partials/svg/icons.html   |   38 +
 camel-website/layouts/shortcodes/center         |    3 +
 camel-website/npm-shrinkwrap.json               | 1253 ----
 camel-website/package.json                      |   36 +-
 camel-website/pom.xml                           |   74 +-
 .../resources/styles/impact/css/pygmentize.css  |  126 -
 .../main/resources/styles/impact/css/site.css   |  234 -
 .../src/main/resources/user-manual/index.html   |   38 -
 camel-website/src/scripts/asciidoctor-shim.js   |   34 +
 camel-website/src/scripts/site.js               |    1 +
 camel-website/src/stylesheets/_config.scss      |    3 +
 camel-website/src/stylesheets/_nav.scss         |   40 +
 camel-website/src/stylesheets/site.scss         |    9 +
 camel-website/static/.gitignore                 |    3 +
 camel-website/static/.htaccess                  |  935 +++
 camel-website/static/404.html                   |   60 +
 camel-website/static/apple-touch-icon.png       |  Bin 0 -> 3959 bytes
 camel-website/static/browserconfig.xml          |   12 +
 camel-website/static/favicon.ico                |  Bin 0 -> 766 bytes
 camel-website/static/humans.txt                 |    3 +
 camel-website/static/index.html                 |   71 +
 camel-website/static/robots.txt                 |    5 +
 camel-website/static/tile-wide.png              |  Bin 0 -> 1854 bytes
 camel-website/static/tile.png                   |  Bin 0 -> 3482 bytes
 camel-website/webpack.config.js                 |   64 +
 camel-website/yarn.lock                         | 5542 ++++++++++++++++++
 64 files changed, 7566 insertions(+), 1777 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/.eslintrc.js
----------------------------------------------------------------------
diff --git a/camel-website/.eslintrc.js b/camel-website/.eslintrc.js
new file mode 100644
index 0000000..759e42d
--- /dev/null
+++ b/camel-website/.eslintrc.js
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+const path = require('path');
+
+module.exports = {
+    'parserOptions': {
+        'ecmaVersion': 6,
+        'sourceType': 'module',
+    },
+    'plugins': [
+        'header',
+    ],
+    'rules': {
+      'max-len': [2, 120],
+      'header/header': [2, '../buildingtools/src/main/resources/header-java.txt'],
+    },
+    'extends': 'google',
+};

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/.gitignore
----------------------------------------------------------------------
diff --git a/camel-website/.gitignore b/camel-website/.gitignore
index f4af8ab..579bf5c 100644
--- a/camel-website/.gitignore
+++ b/camel-website/.gitignore
@@ -1,2 +1,4 @@
-node_modules/
-node/
+node_modules
+node
+asciidoctor
+public

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/.yarnclean
----------------------------------------------------------------------
diff --git a/camel-website/.yarnclean b/camel-website/.yarnclean
new file mode 100644
index 0000000..d9454e7
--- /dev/null
+++ b/camel-website/.yarnclean
@@ -0,0 +1,43 @@
+# test directories
+__tests__
+test
+tests
+powered-test
+
+# asset directories
+docs
+doc
+website
+images
+assets
+
+# examples
+example
+examples
+
+# code coverage directories
+coverage
+.nyc_output
+
+# build scripts
+Makefile
+Gulpfile.js
+Gruntfile.js
+
+# configs
+.tern-project
+.gitattributes
+.editorconfig
+.*ignore
+.eslintrc
+.jshintrc
+.flowconfig
+.documentup.json
+.yarn-metadata.json
+.*.yml
+*.yml
+!svgo/.svgo.yml
+
+# misc
+*.gz
+*.md

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/Gruntfile.js
----------------------------------------------------------------------
diff --git a/camel-website/Gruntfile.js b/camel-website/Gruntfile.js
deleted file mode 100644
index bbf181c..0000000
--- a/camel-website/Gruntfile.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-module.exports = function(grunt) {
-
-    // Project configuration.
-    grunt.initConfig({
-
-        'http-server': {
-            dev: {
-                root: 'target/classes/user-manual/',
-                port: 8282,
-                host: "0.0.0.0",
-                showDir: false,
-                autoIndex: true,
-                ext: "html",
-                runInBackground: true,
-                logFn: function(req, res, error) { },
-
-
-                // specify a logger function. By default the requests are 
-                // sent to stdout. 
-                // logFn: function(req, res, error) { },
-
-                // Proxies all requests which can't be resolved locally to the given url

-                // Note this this will disable 'showDir' 
-                // proxy: "http://someurl.com",
-                // Tell grunt task to open the browser 
-                // openBrowser : false
-            }
-
-        },
-        linkChecker: {
-            dev: {
-                site: 'localhost',
-                options: {
-                    initialPort: 8282
-                }
-            }
-        }
-    });
-
-    grunt.loadNpmTasks('grunt-http-server');
-    grunt.loadNpmTasks('grunt-link-checker');
-
-    // Default task(s).
-    grunt.registerTask('default', ['http-server', 'linkChecker']);
-
-};

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/archetypes/default.md
----------------------------------------------------------------------
diff --git a/camel-website/archetypes/default.md b/camel-website/archetypes/default.md
new file mode 100644
index 0000000..f5a9e45
--- /dev/null
+++ b/camel-website/archetypes/default.md
@@ -0,0 +1,6 @@
+---
+title: "{{ replace .TranslationBaseName "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+---
+

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/config.toml
----------------------------------------------------------------------
diff --git a/camel-website/config.toml b/camel-website/config.toml
new file mode 100644
index 0000000..44ae254
--- /dev/null
+++ b/camel-website/config.toml
@@ -0,0 +1,55 @@
+baseURL = "https://camel.apache.org/"
+languageCode = "en-us"
+title = "Apache Camel: Integration that you want"
+
+[params]
+    comments = "false"
+    copyrightStartYear = "2004"
+    copyrightOwner = "The Apache Software Foundation."
+    copyrightNotice = "Apache Camel, Camel, Apache, the Apache feather logo, and the Apache
Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned
may be trademarks or registered trademarks of their respective owners."
+    description = "Apache Camel framework for easy integration"
+
+[taxonomies]
+    version = "versions"
+
+[[menu.main]]
+    name = "Home"
+    identifier = "home"
+    pre = "<i class='fa fa-space-shuttle'></i>"
+    weight = 1
+    url = "/"
+
+[[menu.main]]
+    name = "About"
+    identifier = "about"
+    pre = "<i class='fa fa-space-shuttle'></i>"
+    weight = 10
+    url = "/about/"
+
+[[menu.main]]
+    name = "News"
+    identifier = "news"
+    pre = "<i class='fa fa-space-shuttle'></i>"
+    weight = 20
+    url = "/blog/"
+
+[[menu.main]]
+    name = "Getting started"
+    identifier = "getting-started"
+    pre = "<i class='fa fa-space-shuttle'></i>"
+    weight = 30
+    url = "/getting-started/"
+
+[[menu.main]]
+    name = "Manual"
+    identifier = "manual"
+    pre = "<i class='fa fa-space-shuttle'></i>"
+    weight = 40
+    url = "/manual/"
+
+[[menu.main]]
+    name = "Components"
+    identifier = "components"
+    pre = "<i class='fa fa-space-shuttle'></i>"
+    weight = 50
+    url = "/components/"

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/content/.gitignore
----------------------------------------------------------------------
diff --git a/camel-website/content/.gitignore b/camel-website/content/.gitignore
new file mode 100644
index 0000000..7d84395
--- /dev/null
+++ b/camel-website/content/.gitignore
@@ -0,0 +1,3 @@
+components.adoc
+components
+

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/content/_index.md
----------------------------------------------------------------------
diff --git a/camel-website/content/_index.md b/camel-website/content/_index.md
new file mode 100644
index 0000000..1b37687
--- /dev/null
+++ b/camel-website/content/_index.md
@@ -0,0 +1 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/content/about.adoc
----------------------------------------------------------------------
diff --git a/camel-website/content/about.adoc b/camel-website/content/about.adoc
new file mode 100644
index 0000000..cf9dac9
--- /dev/null
+++ b/camel-website/content/about.adoc
@@ -0,0 +1,2 @@
+About Camel
+^^^^^^^^^^^

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/data/.gitignore
----------------------------------------------------------------------
diff --git a/camel-website/data/.gitignore b/camel-website/data/.gitignore
new file mode 100644
index 0000000..778c242
--- /dev/null
+++ b/camel-website/data/.gitignore
@@ -0,0 +1 @@
+/assets.json

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/gulpfile.js
----------------------------------------------------------------------
diff --git a/camel-website/gulpfile.js b/camel-website/gulpfile.js
new file mode 100644
index 0000000..75b7ed5
--- /dev/null
+++ b/camel-website/gulpfile.js
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const gulp = require('gulp');
+const rename = require('gulp-rename');
+const chmod = require('gulp-chmod');
+const replace = require('gulp-replace');
+
+const version = process.env.npm_package_version.replace(/-.*/, '');
+
+gulp.task('docs', ['component-doc']);
+
+gulp.task('component-doc', () => {
+  gulp.src('../components/readme.adoc')
+    .pipe(replace(/link:.*\/(.*).adoc(\[.*)/g, `link:components/${version}/$1$2`))
+    .pipe(rename('components.adoc'))
+    .pipe(gulp.dest('content'));
+  gulp.src('../components/**/src/main/docs/*.adoc')
+    .pipe(rename({dirname: ''}))
+    .pipe(gulp.dest(`content/components/${version}`));
+});
+
+gulp.task('asciidoctor-shim', () => {
+  gulp.src('src/scripts/asciidoctor-shim.js')
+    .pipe(rename('asciidoctor'))
+    .pipe(chmod(0o755))
+    .pipe(gulp.dest('node_modules/.bin/'));
+});
+
+gulp.task('default', ['docs', 'asciidoctor-shim']);
+
+gulp.task('watch', () => {
+  gulp.watch('../**/*.adoc', ['docs']);
+});
+

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/i18n/en.toml
----------------------------------------------------------------------
diff --git a/camel-website/i18n/en.toml b/camel-website/i18n/en.toml
new file mode 100644
index 0000000..a45b2a0
--- /dev/null
+++ b/camel-website/i18n/en.toml
@@ -0,0 +1,41 @@
+[by]
+  other = "by"
+
+[currentPage]
+  other = "Current page"
+
+[mainMenu]
+  other = "Main Menu"
+
+[next]
+  other = "Next"
+
+[nextPage]
+  other = "Next page"
+
+[nextPost]
+  other = "Next post"
+
+[openSomethingInNewTab]
+  other = "Open {{ .Something }} in new tab"
+
+[page]
+  other = "Page"
+
+[previous]
+  other = "Previous"
+
+[previousPage]
+  other = "Previous page"
+
+[previousPost]
+  other = "Previous post"
+
+[postedOn]
+  other = "Posted on"
+
+[recentPosts]
+  other = "Recent Posts"
+
+[socialMenu]
+  other = "Social Menu"

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/404.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/404.html b/camel-website/layouts/404.html
new file mode 100644
index 0000000..fce07b2
--- /dev/null
+++ b/camel-website/layouts/404.html
@@ -0,0 +1 @@
+404 :)

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/_default/li.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/_default/li.html b/camel-website/layouts/_default/li.html
new file mode 100644
index 0000000..deb8d5d
--- /dev/null
+++ b/camel-website/layouts/_default/li.html
@@ -0,0 +1,17 @@
+<article class='list-item'>
+  <div class='meta'>
+    <span>
+      <span class='screen-reader'>{{ i18n "postedOn" }} </span>
+      <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
+        {{- .Date.Format "2006, Jan 02" -}}
+      </time>
+    </span>
+  </div>
+  <header class='list-item-header'>
+    <h3 class='list-item-title'>
+      <a href='{{ .Permalink }}'>
+        {{- .Title -}}
+      </a>
+    </h3>
+  </header>
+</article>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/_default/list.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/_default/list.html b/camel-website/layouts/_default/list.html
new file mode 100644
index 0000000..106095b
--- /dev/null
+++ b/camel-website/layouts/_default/list.html
@@ -0,0 +1,21 @@
+{{ partial "header" . }}
+
+<main class='main'>
+  <section class='list-container'>
+    <h1 class='list-title title'>
+      {{- if .Data.Singular -}}
+        <span class='taxonomy-type'>{{ .Data.Singular | title }}: </span>
+      {{- end -}}
+      {{- .Title -}}
+    </h1>
+    <div class='list'>
+      {{ range .Paginator.Pages }}
+        {{ .Render "li" }}
+      {{ end }}
+    </div>
+
+    {{ partial "nav/pagination" . }}
+  </section>
+</main>
+
+{{ partial "footer" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/_default/single.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/_default/single.html b/camel-website/layouts/_default/single.html
new file mode 100644
index 0000000..b38dca7
--- /dev/null
+++ b/camel-website/layouts/_default/single.html
@@ -0,0 +1,19 @@
+{{ partial "header" . }}
+
+<main class='row content'>
+  <article lang='{{ .Params.Lang | default .Lang }}' class='entry'>
+    {{ partial "entry/header" . }}
+    {{ partial "entry/content" . }}
+    {{ partial "entry/footer" . }}
+  </article>
+
+  {{ if not .Site.Params.HideEntryNavigation }}
+    {{ partial "nav/entry_nav" . }}
+  {{ end }}
+
+  {{ if not ( eq .Params.comments false ) }}
+    {{ partial "disqus" . }}
+  {{ end }}
+</main>
+
+{{ partial "footer" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/_default/terms.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/_default/terms.html b/camel-website/layouts/_default/terms.html
new file mode 100644
index 0000000..c66f917
--- /dev/null
+++ b/camel-website/layouts/_default/terms.html
@@ -0,0 +1,12 @@
+{{ partial "header" . }}
+
+<main class='main'>
+  <section class='list-container'>
+    <h1 class='list-title title'>
+      {{- .Title -}}
+    </h1>
+    {{ partial "extras/term_cloud" . }}
+  </section>
+</main>
+
+{{ partial "footer" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/index.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/index.html b/camel-website/layouts/index.html
new file mode 100644
index 0000000..1fa529a
--- /dev/null
+++ b/camel-website/layouts/index.html
@@ -0,0 +1,11 @@
+{{ partial "header" . }}
+
+<main class='main'>
+  {{ if .Content }}
+  <article class='entry'>
+    {{ partial "entry/content" . }}
+  </article>
+  {{ end }}
+</main>
+
+{{ partial "footer" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/data/description
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/data/description b/camel-website/layouts/partials/data/description
new file mode 100644
index 0000000..baf52cf
--- /dev/null
+++ b/camel-website/layouts/partials/data/description
@@ -0,0 +1,11 @@
+{{- with .Description -}}
+  {{- . -}}
+{{- else -}}
+  {{- if .IsPage -}}
+    {{- .Summary -}}
+  {{- else -}}
+    {{- with .Site.Params.description -}}
+      {{- . -}}
+    {{- end -}}
+  {{- end -}}
+{{- end -}}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/data/title
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/data/title b/camel-website/layouts/partials/data/title
new file mode 100644
index 0000000..dd70e01
--- /dev/null
+++ b/camel-website/layouts/partials/data/title
@@ -0,0 +1,17 @@
+{{- $title := .Title -}}
+{{- $siteTitle := .Site.Title -}}
+{{- $authorName := .Site.Author.name -}}
+{{- $sep := ( .Site.Params.SEO.titleSeparator | default "•" ) -}}
+{{- if .IsHome -}}
+  {{ $siteTitle }}
+{{- else if eq .Kind "taxonomy" -}}
+  {{ title .Data.Singular }}: {{ $title }} {{ $sep }} {{ $siteTitle }}
+{{- else if ( or .IsNode ( eq .Section "page" ) ) -}}
+  {{ $title }} {{ $sep }} {{ $siteTitle }}
+{{- else -}}
+  {{- with $authorName -}}
+    {{ $title }} {{ $sep }} {{ . }}
+  {{- else -}}
+    {{ $title }} {{ $sep }} {{ $siteTitle }}
+  {{- end -}}
+{{- end -}}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/disqus.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/disqus.html b/camel-website/layouts/partials/disqus.html
new file mode 100644
index 0000000..5347ada
--- /dev/null
+++ b/camel-website/layouts/partials/disqus.html
@@ -0,0 +1,3 @@
+<div class='comments-container'>
+  {{ template "_internal/disqus.html" . }}
+</div>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/entry/content.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/entry/content.html b/camel-website/layouts/partials/entry/content.html
new file mode 100644
index 0000000..ea9c2f7
--- /dev/null
+++ b/camel-website/layouts/partials/entry/content.html
@@ -0,0 +1,3 @@
+<div class='entry-content'>
+  {{ .Content }}
+</div>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/entry/footer.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/entry/footer.html b/camel-website/layouts/partials/entry/footer.html
new file mode 100644
index 0000000..d811a67
--- /dev/null
+++ b/camel-website/layouts/partials/entry/footer.html
@@ -0,0 +1,10 @@
+{{ if not ( eq .Section "page" ) }}
+<footer class='entry-footer'>
+  {{ range $taxonomy, $pages := .Site.Taxonomies }}
+    {{ if ( index $.Params $taxonomy ) }}
+      {{ $.Scratch.Set "taxonomy" $taxonomy }}
+      {{ partial "entry/taxonomy-list" $ }}
+    {{ end }}
+  {{ end }}
+</footer>
+{{ end }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/entry/header.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/entry/header.html b/camel-website/layouts/partials/entry/header.html
new file mode 100644
index 0000000..709e4fd
--- /dev/null
+++ b/camel-website/layouts/partials/entry/header.html
@@ -0,0 +1,13 @@
+<header class='entry-header'>
+  <div class='entry-info'>
+    <h1 class='entry-title title'>
+      {{- .Title -}}
+    </h1>
+    {{ with .Description }}
+    <p class='entry-subtitle'>
+      {{ . }}
+    </p>
+    {{ end }}
+  </div>
+  {{ partial "entry/meta" . }}
+</header>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/entry/meta.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/entry/meta.html b/camel-website/layouts/partials/entry/meta.html
new file mode 100644
index 0000000..e331120
--- /dev/null
+++ b/camel-website/layouts/partials/entry/meta.html
@@ -0,0 +1,18 @@
+{{ if not ( eq .Section "page" ) }}
+<div class='meta'>
+  <span class='posted-on'>
+    {{ partial "svg/icons" "calendar" }}
+    <span class='screen-reader'>{{ i18n "postedOn" }} </span>
+    <time class='date' datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
+      {{- .Date.Format ( or .Site.Params.dateFormat "2006, Jan 02" ) -}}
+    </time>
+  </span>
+  {{ with .Site.Author.name }}
+  <span class='byline'>
+    {{ partial "svg/icons" "author" }}
+    <span class='screen-reader'> {{ i18n "by" }} </span>
+    {{ . }}
+  </span>
+  {{ end }}
+</div>
+{{ end }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/entry/taxonomy-list.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/entry/taxonomy-list.html b/camel-website/layouts/partials/entry/taxonomy-list.html
new file mode 100644
index 0000000..7a9b539
--- /dev/null
+++ b/camel-website/layouts/partials/entry/taxonomy-list.html
@@ -0,0 +1,14 @@
+{{ $txs := ( $.Scratch.Get "taxonomy" ) }}
+{{ $tx := ( $txs | singularize ) }}
+<div class='{{ $txs }}'>
+  <span class='{{ $tx }}-icon'>
+    {{ partial "svg/icons" $tx }}
+  </span>
+  <span class='screen-reader'>{{ $txs | title }}: </span>
+  {{- range $i, $term := ( index $.Params $txs ) -}}
+  {{- if gt $i 0 }}, {{ end -}}
+  <a class='{{ $tx }}' href='{{ (print $txs "/") |  relURL }}{{ $term | urlize }}'>
+    {{- $term -}}
+  </a>
+  {{- end -}}
+</div>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/extras/term_cloud.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/extras/term_cloud.html b/camel-website/layouts/partials/extras/term_cloud.html
new file mode 100644
index 0000000..bac9b08
--- /dev/null
+++ b/camel-website/layouts/partials/extras/term_cloud.html
@@ -0,0 +1,27 @@
+{{- if gt (len .Data.Terms) 0 -}}
+  {{- $maxSize := 2.0 -}}
+  {{- $minSize := 1.0 -}}
+  {{- $sizeSpread := ( sub $maxSize $minSize ) -}}
+
+  {{- $maxCount := (index .Data.Terms.ByCount 0).Count -}}
+  {{- $minCount := (index .Data.Terms.ByCount.Reverse 0).Count -}}
+  {{- $countSpread := ( sub $maxCount $minCount ) -}}
+
+  {{- $.Scratch.Set "sizeStep" 0 -}}
+  {{- if gt $countSpread 0 -}}
+    {{- $.Scratch.Set "sizeStep" ( div $sizeSpread $countSpread ) -}}
+  {{- end -}}
+
+  <ul class='term-cloud'>
+  {{- range .Data.Terms.Alphabetical -}}
+    {{- $count := .Count -}}
+    {{- $sizeStep := ( $.Scratch.Get "sizeStep" ) -}}
+    {{- $size := ( add $minSize ( mul $sizeStep ( sub $count $minCount ) ) ) -}}
+    <li>
+      <a href='{{ $.Data.Plural | relURL }}/{{ .Term | urlize }}' style='font-size:{{
$size }}em'>
+        {{- .Term -}}
+      </a>
+    </li>
+  {{- end -}}
+  </ul>
+{{- end -}}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/footer.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/footer.html b/camel-website/layouts/partials/footer.html
new file mode 100644
index 0000000..a62890c
--- /dev/null
+++ b/camel-website/layouts/partials/footer.html
@@ -0,0 +1,22 @@
+    <footer id='footer' class='footer-container'>
+      <div class='footer'>
+        <div class='social'>
+          {{ partial "nav/menus/social" . }}
+        </div>
+
+        <div class='copyright'>
+          {{ partial "footer/copyright" . }}
+        </div>
+      </div>
+    </footer>
+
+  </div>
+
+  <script src='{{ print "js/" .Site.Data.assets.site.js | relURL }}'></script>
+  {{ range .Site.Params.customJS }}
+    <script src='{{ . | relURL }}'></script>
+  {{ end }}
+
+</body>
+
+</html>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/footer/copyright.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/footer/copyright.html b/camel-website/layouts/partials/footer/copyright.html
new file mode 100644
index 0000000..40f1cbc
--- /dev/null
+++ b/camel-website/layouts/partials/footer/copyright.html
@@ -0,0 +1,15 @@
+<p>
+{{- with .Site.Copyright -}}
+  {{ . }}
+{{- else -}}
+  {{ with .Site.Params.CopyrightStartYear }}
+    {{ if lt ( int . ) now.Year }}
+      {{ $.Scratch.Set "copyrightStartYear" . }}
+    {{ end }}
+  {{ end }}
+  &copy; {{ with $.Scratch.Get "copyrightStartYear" }}{{ . }}-{{ end }}{{ now.Year }}
{{ or .Site.Params.CopyrightOwner ( or .Site.Author.name .Site.Title ) }}
+</p>
+<p>
+  {{ .Site.Params.CopyrightNotice }}
+{{- end -}}
+</p>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/head/head.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/head/head.html b/camel-website/layouts/partials/head/head.html
new file mode 100644
index 0000000..da9e930
--- /dev/null
+++ b/camel-website/layouts/partials/head/head.html
@@ -0,0 +1,8 @@
+<head>
+  {{ partial "head/meta" . }}
+  <base href='{{ .Site.BaseURL }}'>
+  <title>{{ partial "data/title" . }}</title>
+  <link rel='canonical' href='{{ .Permalink }}'>
+  <link href='{{ .RSSLink }}' rel='alternate' type='application/rss+xml' title='{{ .Site.Title
}}' />
+  {{ partial "head/includes" . }}
+</head>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/head/includes.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/head/includes.html b/camel-website/layouts/partials/head/includes.html
new file mode 100644
index 0000000..46c851a
--- /dev/null
+++ b/camel-website/layouts/partials/head/includes.html
@@ -0,0 +1,7 @@
+<link rel='icon' href='{{ ( or .Site.Params.favicon "favicon.ico" ) | relURL }}'>
+<link href='//fonts.googleapis.com/css?family=Raleway:400,300,600' rel='stylesheet' type='text/css'>
+<link rel='stylesheet' href='{{ print "css/" .Site.Data.assets.site.css | relURL }}'>
+{{ range .Site.Params.customCSS }}
+  <link rel='stylesheet' href='{{ . | relURL }}'>
+{{ end }}
+{{ template "_internal/google_analytics_async.html" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/head/meta.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/head/meta.html b/camel-website/layouts/partials/head/meta.html
new file mode 100644
index 0000000..3da7145
--- /dev/null
+++ b/camel-website/layouts/partials/head/meta.html
@@ -0,0 +1,5 @@
+<meta charset='utf-8'>
+<meta name='viewport' content='width=device-width, initial-scale=1'>
+<meta name='description' content='{{ partial "data/description" . }}'>
+
+{{ partial "head/opengraph" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/head/opengraph.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/head/opengraph.html b/camel-website/layouts/partials/head/opengraph.html
new file mode 100644
index 0000000..3dfc993
--- /dev/null
+++ b/camel-website/layouts/partials/head/opengraph.html
@@ -0,0 +1,73 @@
+<meta property='og:title' content='{{ partial "data/title" . }}'>
+<meta property='og:description' content='{{ partial "data/description" . }}'>
+<meta property='og:url' content='{{ .Permalink }}'>
+<meta property='og:site_name' content='{{ .Site.Title }}'>
+<meta property='og:type' content='
+  {{- if .IsPage -}}
+    article
+  {{- else -}}
+    website
+  {{- end -}}
+'>
+
+{{- with .Params.locale -}}
+  <meta property='og:locale' content='{{ . }}'>
+{{- end -}}
+
+{{- with .Params.images -}}
+  {{- range first 6 . -}}
+    <meta property='og:image' content='{{ . | absURL }}'>
+  {{- end -}}
+{{- else -}}
+  {{- with .Site.Author.email -}}
+    <meta property='og:image' content='https://www.gravatar.com/avatar/
+      {{- ( print .username "@" .host ) | md5 -}}?s=256'>
+  {{- end -}}
+{{- end -}}
+
+{{- with .Params.audio -}}
+  <meta property='og:audio' content='{{ . }}'>
+{{- end -}}
+
+{{- with .Params.videos -}}
+  {{- range first 6 . -}}
+    <meta property='og:video' content='{{ . | absURL }}'>
+  {{- end -}}
+{{- end -}}
+
+{{- if .IsPage -}}
+  {{- with .Site.Author.social.facebook -}}
+    <meta property='article:author' content='https://facebook.com/{{ . }}'>
+  {{- end -}}
+  {{- with .Site.Social.facebook -}}
+    <meta property='article:publisher' content='https://facebook.com/{{ . }}'>
+  {{- end -}}
+  <meta property='article:section' content='{{ .Section | title }}'>
+  {{- range .Params.tags -}}
+    <meta property='article:tag' content='{{ . }}'>
+  {{- end -}}
+{{- end -}}
+
+{{- if .IsPage -}}
+  {{- if not .PublishDate.IsZero -}}
+    <meta property='article:published_time' content='{{ .PublishDate.Format "2006-01-02T15:04:05Z07:00"
| safeHTML }}'/>
+  {{- else if not .Date.IsZero -}}
+    <meta property='article:published_time' content='{{ .Date.Format "2006-01-02T15:04:05Z07:00"
| safeHTML }}'/>
+  {{- end -}}
+  {{- if not .Lastmod.IsZero -}}
+    <meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00"
| safeHTML }}'/>
+  {{- end -}}
+{{- else -}}
+  {{- if not .Site.LastChange.IsZero -}}
+    <meta property='og:updated_time' content='{{ .Site.LastChange.Format "2006-01-02T15:04:05Z07:00"
| safeHTML }}'/>
+  {{- end -}}
+{{- end -}}
+
+{{- with .Site.Params.opengraph.facebook -}}
+    {{- with .appid -}}
+      <meta property='fb:app_id' content='{{ . }}'>
+    {{- end -}}
+    {{- with .admins -}}
+      <meta property='fb:admins' content='{{ . }}'>
+    {{- end -}}
+{{- end -}}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/header.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/header.html b/camel-website/layouts/partials/header.html
new file mode 100644
index 0000000..ec2be2a
--- /dev/null
+++ b/camel-website/layouts/partials/header.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang='{{ .Site.Language.Lang }}'>
+
+{{ partial "head/head" . }}
+
+<body class='{{ .Kind }}'>
+  <div class='u-full-width u-max-full-width container'>
+    <header class='header'>
+      <div class='site-header'>
+        {{ if eq .Kind "home" }}
+        <h1 class='title'>{{ .Site.Title }}</h1>
+        {{ else }}
+        <p class='title'>{{ .Site.Title }}</p>
+        {{ end }}
+        <p>{{ .Site.Params.description }}</p>
+      </div>
+    </header>
+
+    {{ partial "nav/menus/main" . }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/nav/entry_nav.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/nav/entry_nav.html b/camel-website/layouts/partials/nav/entry_nav.html
new file mode 100644
index 0000000..9dd8e7b
--- /dev/null
+++ b/camel-website/layouts/partials/nav/entry_nav.html
@@ -0,0 +1,33 @@
+{{ if gt ( len ( where .Site.RegularPages "Section" .Section ) ) 1 }}
+<nav class='entry-nav'>
+  <div class='entry-nav-links'>
+
+    {{- if .PrevInSection -}}
+    <div class='prev-entry'>
+      <a href='{{ .PrevInSection.Permalink }}'>
+        <span aria-hidden='true'>
+          {{- partial "svg/icons" "prev" -}}
+          {{- print " " ( i18n "previous" ) -}}
+        </span>
+        <span class='screen-reader'>{{ i18n "previousPost" }}: </span>
+        {{- .PrevInSection.Title -}}
+      </a>
+    </div>
+    {{- end -}}
+
+    {{- if .NextInSection -}}
+    <div class='next-entry'>
+      <a href='{{ .NextInSection.Permalink }}'>
+        <span class='screen-reader'>{{ i18n "nextPost" }}: </span>
+        {{- .NextInSection.Title -}}
+        <span aria-hidden='true'>
+          {{- print ( i18n "next" ) " " -}}
+          {{- partial "svg/icons" "next" -}}
+        </span>
+      </a>
+    </div>
+    {{- end -}}
+
+  </div>
+</nav>
+{{ end }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/nav/menus/main.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/nav/menus/main.html b/camel-website/layouts/partials/nav/menus/main.html
new file mode 100644
index 0000000..9e45777
--- /dev/null
+++ b/camel-website/layouts/partials/nav/menus/main.html
@@ -0,0 +1,17 @@
+<nav class='navbar' aria-label='{{ i18n "mainMenu" }}'>
+  <div class='container'>
+    <ul class='navbar-list'>
+      {{ range .Site.Menus.main }}
+      <li class='navbar-item'>
+        <a class='navbar-link' href='{{ .URL }}' 
+          {{- if or ( $.IsMenuCurrent "main" . ) ( $.HasMenuCurrent "main" . ) -}}
+            class='current' aria-current='page'
+          {{- end -}}
+        >
+          {{- .Name -}}
+        </a>
+      </li>
+      {{ end }}
+    </ul>
+  </div>
+</nav>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/nav/menus/social.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/nav/menus/social.html b/camel-website/layouts/partials/nav/menus/social.html
new file mode 100644
index 0000000..40d8277
--- /dev/null
+++ b/camel-website/layouts/partials/nav/menus/social.html
@@ -0,0 +1,16 @@
+<nav aria-label='{{ i18n "socialMenu" }}'>
+  <ul class='social-menu'>
+  {{ range $platform, $username := .Site.Author.social }}
+    {{ if $username }}
+    <li>
+      <a href='{{ print ( index $.Site.Data.social.base $platform ) $username }}' target='_blank'
rel='noopener'>
+        <span class='screen-reader'>
+          {{- i18n "openSomethingInNewTab" ( dict "Something" ( print ( $platform | title
) " account" ) ) -}}
+        </span>
+        {{ partial "svg/icons" $platform }}
+      </a>
+    </li>
+    {{ end }}
+  {{ end }}
+  </ul>
+</nav>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/nav/pagination.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/nav/pagination.html b/camel-website/layouts/partials/nav/pagination.html
new file mode 100644
index 0000000..05b763a
--- /dev/null
+++ b/camel-website/layouts/partials/nav/pagination.html
@@ -0,0 +1,46 @@
+{{ if gt .Paginator.TotalPages 1 }}
+<nav class='pagination'>
+  <div class='page-links'>
+
+    {{ with .Paginator.Prev }}
+    <a class='page-link' href='{{ .URL }}'>
+      {{ partial "svg/icons" "prev" }}
+      <span class='screen-reader'>{{ i18n "previousPage" }}</span>
+    </a>
+    {{ end }}
+
+    {{ $.Scratch.Set "hasPrevDots" false }}
+    {{ $.Scratch.Set "hasNextDots" false }}
+
+    {{ range .Paginator.Pagers }}
+      {{ if eq . $.Paginator }}
+      <span class='page-link current'>
+        <span class='screen-reader'>{{ i18n "currentPage" }}: </span>
+        {{- .PageNumber -}}
+      </span>
+      {{ else if or ( or ( eq . $.Paginator.First ) ( eq . $.Paginator.Prev ) ) ( or ( eq
. $.Paginator.Next ) ( eq . $.Paginator.Last ) ) }}
+      <a class='page-link' href='{{ .URL }}'>
+        <span class='screen-reader'>{{ i18n "page" }}: </span>
+        {{- .PageNumber -}}
+      </a>
+      {{ else }}
+        {{ if and ( not ( $.Scratch.Get "hasPrevDots" ) ) ( lt .PageNumber $.Paginator.PageNumber
)  }}
+          {{ $.Scratch.Set "hasPrevDots" true }}
+        <span class='page-link dots'>&hellip;</span>
+        {{ else if and ( not ( $.Scratch.Get "hasNextDots" ) ) ( gt .PageNumber $.Paginator.PageNumber
) }}
+          {{ $.Scratch.Set "hasNextDots" true }}
+        <span class='page-link dots'>&hellip;</span>
+        {{ end }}
+      {{ end }}
+    {{ end }}
+
+    {{ with .Paginator.Next }}
+    <a class='page-link' href='{{ .URL }}'>
+      <span class='screen-reader'>{{ i18n "nextPage" }}</span>
+      {{ partial "svg/icons" "next" }}
+    </a>
+    {{ end }}
+
+  </div>
+</nav>
+{{ end }}

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/partials/svg/icons.html
----------------------------------------------------------------------
diff --git a/camel-website/layouts/partials/svg/icons.html b/camel-website/layouts/partials/svg/icons.html
new file mode 100644
index 0000000..3269576
--- /dev/null
+++ b/camel-website/layouts/partials/svg/icons.html
@@ -0,0 +1,38 @@
+<svg class='icon' viewbox='0 0 24 24' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'
aria-hidden='true'>
+  {{ if eq "category" . }}
+  <path d="M22,19a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V5A2,2,0,0,1,4,3H9l2,3h9a2,2,0,0,1,2,2Z"/>
+  {{ else if eq "tag" . }}
+  <path d="M20.59,13.41l-7.17,7.17a2,2,0,0,1-2.83,0L2,12V2H12l8.59,8.59A2,2,0,0,1,20.59,13.41Z"/>
+  <line x1="7" y1="7" x2="7" y2="7"/>
+  {{ else if eq "author" . }}
+  <path d="M21,21V20c0-2.76-4-5-9-5s-9,2.24-9,5v1"/>
+  <path d="M16,6.37A4,4,0,1,1,12.63,3,4,4,0,0,1,16,6.37Z"/>
+  {{ else if eq "calendar" . }}
+  <rect x="3" y="4" width="18" height="18" rx="2" ry="2"/>
+  <line x1="16" y1="2" x2="16" y2="6"/>
+  <line x1="8" y1="2" x2="8" y2="6"/>
+  <line x1="3" y1="10" x2="21" y2="10"/>
+  {{ else if eq "prev" . }}
+  <line x1="20" y1="12" x2="4" y2="12"/>
+  <polyline points="10 18 4 12 10 6"/>
+  {{ else if eq "next" . }}
+  <line x1="4" y1="12" x2="20" y2="12"/>
+  <polyline points="14 6 20 12 14 18"/>
+  {{ else if eq "codepen" . }}
+  <polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"/>
+  <line x1="12" y1="22" x2="12" y2="15.5"/>
+  <polyline points="22 8.5 12 15.5 2 8.5"/>
+  <polyline points="2 15.5 12 8.5 22 15.5"/>
+  <line x1="12" y1="2" x2="12" y2="8.5"/>
+  {{ else if eq "facebook" . }}
+  <path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"/>
+  {{ else if eq "github" . }}
+  <path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54
6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7
0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44
7A3.37 3.37 0 0 0 9 18.13V22"/>
+  {{ else if eq "instagram" . }}
+  <rect x="2" y="2" width="20" height="20" rx="5" ry="5"/>
+  <path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"/>
+  <line x1="17.5" y1="6.5" x2="17.5" y2="6.5"/>
+  {{ else if eq "twitter" . }}
+  <path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1
3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0
23 3z"/>
+  {{ end }}
+</svg>

http://git-wip-us.apache.org/repos/asf/camel/blob/23691454/camel-website/layouts/shortcodes/center
----------------------------------------------------------------------
diff --git a/camel-website/layouts/shortcodes/center b/camel-website/layouts/shortcodes/center
new file mode 100644
index 0000000..7f4dc16
--- /dev/null
+++ b/camel-website/layouts/shortcodes/center
@@ -0,0 +1,3 @@
+<div class='center-align'>
+  {{ .Inner }}
+</div>


Mime
View raw message