From 4429d46505bd17efcdca9db872652c8f5a065dfc Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Tue, 18 Jul 2017 00:28:55 -0600 Subject: [PATCH 1/8] alpha changes --- site/_config.yml | 4 +- site/_site/2012/02/06/whats-jekyll/index.html | 184 ++++++++ .../2013/12/28/introducing-hyde/index.html | 211 +++++++++ .../2015/09/19/presenting-polyglot/index.html | 225 +++++++++ .../11/14/polyglot-version-1-1/index.html | 179 ++++++++ .../2016/04/20/Polyglot-1.2.0/index.html | 201 ++++++++ .../2016/12/16/Polyglot-1.2.4/index.html | 202 ++++++++ site/_site/CNAME | 1 + site/_site/a-really-long/permalink/index.html | 141 ++++++ site/_site/about/index.html | 150 ++++++ .../de/2012/02/06/whats-jekyll/index.html | 184 ++++++++ .../de/2013/12/28/introducing-hyde/index.html | 211 +++++++++ .../2015/09/19/presenting-polyglot/index.html | 225 +++++++++ .../11/14/polyglot-version-1-1/index.html | 179 ++++++++ .../de/2016/04/20/Polyglot-1.2.0/index.html | 201 ++++++++ .../de/2016/12/16/Polyglot-1.2.4/index.html | 202 ++++++++ site/_site/de/CNAME | 1 + .../de/a-really-long/permalink/index.html | 141 ++++++ site/_site/de/about/index.html | 150 ++++++ site/_site/de/index.html | 351 ++++++++++++++ site/_site/de/page2/index.html | 171 +++++++ site/_site/de/sample/index.html | 145 ++++++ site/_site/de/seo/index.html | 182 ++++++++ .../es/2012/02/06/whats-jekyll/index.html | 184 ++++++++ .../es/2013/12/28/introducing-hyde/index.html | 211 +++++++++ .../2015/09/19/presenting-polyglot/index.html | 225 +++++++++ .../11/14/polyglot-version-1-1/index.html | 179 ++++++++ .../es/2016/04/20/Polyglot-1.2.0/index.html | 201 ++++++++ .../es/2016/12/16/Polyglot-1.2.4/index.html | 202 ++++++++ site/_site/es/CNAME | 1 + .../es/a-really-long/permalink/index.html | 141 ++++++ site/_site/es/about/index.html | 150 ++++++ site/_site/es/index.html | 351 ++++++++++++++ site/_site/es/page2/index.html | 171 +++++++ site/_site/es/sample/index.html | 145 ++++++ site/_site/es/seo/index.html | 182 ++++++++ .../fr/2012/02/06/whats-jekyll/index.html | 184 ++++++++ .../fr/2013/12/28/introducing-hyde/index.html | 211 +++++++++ .../2015/09/19/presenting-polyglot/index.html | 225 +++++++++ .../11/14/polyglot-version-1-1/index.html | 179 ++++++++ .../fr/2016/04/20/Polyglot-1.2.0/index.html | 201 ++++++++ .../fr/2016/12/16/Polyglot-1.2.4/index.html | 202 ++++++++ site/_site/fr/CNAME | 1 + .../fr/a-really-long/permalink/index.html | 141 ++++++ site/_site/fr/about/index.html | 150 ++++++ site/_site/fr/index.html | 351 ++++++++++++++ site/_site/fr/page2/index.html | 171 +++++++ site/_site/fr/sample/index.html | 145 ++++++ site/_site/fr/seo/index.html | 182 ++++++++ site/_site/index.html | 351 ++++++++++++++ site/_site/page2/index.html | 171 +++++++ .../apple-touch-icon-144-precomposed.png | Bin 0 -> 588 bytes site/_site/public/css/custom.css | 46 ++ site/_site/public/css/hyde.css | 250 ++++++++++ site/_site/public/css/poole.css | 430 ++++++++++++++++++ site/_site/public/css/syntax.css | 65 +++ site/_site/public/favicon.ico | Bin 0 -> 315 bytes site/_site/sample/index.html | 145 ++++++ site/_site/seo/index.html | 182 ++++++++ 59 files changed, 10165 insertions(+), 2 deletions(-) create mode 100644 site/_site/2012/02/06/whats-jekyll/index.html create mode 100644 site/_site/2013/12/28/introducing-hyde/index.html create mode 100644 site/_site/2015/09/19/presenting-polyglot/index.html create mode 100644 site/_site/2015/11/14/polyglot-version-1-1/index.html create mode 100644 site/_site/2016/04/20/Polyglot-1.2.0/index.html create mode 100644 site/_site/2016/12/16/Polyglot-1.2.4/index.html create mode 100644 site/_site/CNAME create mode 100644 site/_site/a-really-long/permalink/index.html create mode 100644 site/_site/about/index.html create mode 100644 site/_site/de/2012/02/06/whats-jekyll/index.html create mode 100644 site/_site/de/2013/12/28/introducing-hyde/index.html create mode 100644 site/_site/de/2015/09/19/presenting-polyglot/index.html create mode 100644 site/_site/de/2015/11/14/polyglot-version-1-1/index.html create mode 100644 site/_site/de/2016/04/20/Polyglot-1.2.0/index.html create mode 100644 site/_site/de/2016/12/16/Polyglot-1.2.4/index.html create mode 100644 site/_site/de/CNAME create mode 100644 site/_site/de/a-really-long/permalink/index.html create mode 100644 site/_site/de/about/index.html create mode 100644 site/_site/de/index.html create mode 100644 site/_site/de/page2/index.html create mode 100644 site/_site/de/sample/index.html create mode 100644 site/_site/de/seo/index.html create mode 100644 site/_site/es/2012/02/06/whats-jekyll/index.html create mode 100644 site/_site/es/2013/12/28/introducing-hyde/index.html create mode 100644 site/_site/es/2015/09/19/presenting-polyglot/index.html create mode 100644 site/_site/es/2015/11/14/polyglot-version-1-1/index.html create mode 100644 site/_site/es/2016/04/20/Polyglot-1.2.0/index.html create mode 100644 site/_site/es/2016/12/16/Polyglot-1.2.4/index.html create mode 100644 site/_site/es/CNAME create mode 100644 site/_site/es/a-really-long/permalink/index.html create mode 100644 site/_site/es/about/index.html create mode 100644 site/_site/es/index.html create mode 100644 site/_site/es/page2/index.html create mode 100644 site/_site/es/sample/index.html create mode 100644 site/_site/es/seo/index.html create mode 100644 site/_site/fr/2012/02/06/whats-jekyll/index.html create mode 100644 site/_site/fr/2013/12/28/introducing-hyde/index.html create mode 100644 site/_site/fr/2015/09/19/presenting-polyglot/index.html create mode 100644 site/_site/fr/2015/11/14/polyglot-version-1-1/index.html create mode 100644 site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html create mode 100644 site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html create mode 100644 site/_site/fr/CNAME create mode 100644 site/_site/fr/a-really-long/permalink/index.html create mode 100644 site/_site/fr/about/index.html create mode 100644 site/_site/fr/index.html create mode 100644 site/_site/fr/page2/index.html create mode 100644 site/_site/fr/sample/index.html create mode 100644 site/_site/fr/seo/index.html create mode 100644 site/_site/index.html create mode 100644 site/_site/page2/index.html create mode 100644 site/_site/public/apple-touch-icon-144-precomposed.png create mode 100644 site/_site/public/css/custom.css create mode 100644 site/_site/public/css/hyde.css create mode 100644 site/_site/public/css/poole.css create mode 100644 site/_site/public/css/syntax.css create mode 100644 site/_site/public/favicon.ico create mode 100644 site/_site/sample/index.html create mode 100644 site/_site/seo/index.html diff --git a/site/_config.yml b/site/_config.yml index 4efa5356..2fbc017d 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -28,7 +28,7 @@ hello: fr: Bonjour! de: Hallo! -gems: [jekyll-polyglot, jekyll-paginate] +plugins: [jekyll-polyglot, jekyll-paginate] # Permalinks permalink: pretty @@ -47,7 +47,7 @@ url: https://polyglot.untra.io paginate: 5 # Custom vars -version: 1.2.4 +version: 1.3.0 github: repo: https://github.com/untra/polyglot diff --git a/site/_site/2012/02/06/whats-jekyll/index.html b/site/_site/2012/02/06/whats-jekyll/index.html new file mode 100644 index 00000000..44a01f37 --- /dev/null +++ b/site/_site/2012/02/06/whats-jekyll/index.html @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + What's Jekyll? · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

What's Jekyll?

+ +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ + + +
+ + + + diff --git a/site/_site/2013/12/28/introducing-hyde/index.html b/site/_site/2013/12/28/introducing-hyde/index.html new file mode 100644 index 00000000..bb217d16 --- /dev/null +++ b/site/_site/2013/12/28/introducing-hyde/index.html @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + Introducing Hyde · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Introducing Hyde

+ +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ + + +
+ + + + diff --git a/site/_site/2015/09/19/presenting-polyglot/index.html b/site/_site/2015/09/19/presenting-polyglot/index.html new file mode 100644 index 00000000..99d36cae --- /dev/null +++ b/site/_site/2015/09/19/presenting-polyglot/index.html @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + Presenting Polyglot · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Presenting Polyglot

+ +

After months of work and refinement, I am proud to present Polyglot: a i18n plugin for Jekyll sites that need to cater their content to multiple languages and audiences.

+ +

Features

+ +

While there are other multi-language plugins for Jekyll, Polyglot is special. Polyglot takes care of the typical cruftwork normally left to developers to manage (such as wrangling urls and ensuring consistent sitemaps) while providing efficient and simple tools Jekyll developers can utilize into SEO and fast-tracked content aggregation.

+ + + +

In the past, a multi-language static site or blog had to keep delicate track of what language each relative link the site was serving. It was all too easy for a developer to stumble, and foreign language visitors would quickly get lost in untranslated content.

+ +

Polyglot automatically relativizes the urls for each language you want your site to build for. This allows website visitors to stay isolated on one language while browsing your website.

+ +

Fallback Support

+ +

When you don’t have translated or multilingual content, Jekyll will still build with the content you do have. When you do have translated or multilingual content, Jekyll will build using that content. Simple as that.

+ +

Sitemaps stay consistent across all languages, and translated stays in the site it was built for.

+ +

Rich Content Translation

+ +

Rich language content is normally hard to implement. Short strings or language dependent banners are typically hard for a Jekyll website to keep consistent.

+ +

Except when it’s this easy. In your config.yml, just store your strings as:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

and in your liquid, just call:

+ +
{{ site.hello[site.active_lang]}}
+ +

produces:

+

+Hello! +

+ +

Fast, Asynchronous, Zero-Overhead Builds

+ +

Polyglot will build your multi-language website just as fast as it will build your default language website. Polyglot runs with a minimal overhead by simultaneously building all languages of your website as separate process. This means your website build time won’t be a function of how many languages you need to support.

+ +

Download

+ +

Polyglot is available as a gem, or as a Jekyll plugin. It can be installed with:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ + + +
+ + + + diff --git a/site/_site/2015/11/14/polyglot-version-1-1/index.html b/site/_site/2015/11/14/polyglot-version-1-1/index.html new file mode 100644 index 00000000..df7ad241 --- /dev/null +++ b/site/_site/2015/11/14/polyglot-version-1-1/index.html @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + Polyglot Version 1.1.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot Version 1.1.0

+ +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ + + +
+ + + + diff --git a/site/_site/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/2016/04/20/Polyglot-1.2.0/index.html new file mode 100644 index 00000000..9879b365 --- /dev/null +++ b/site/_site/2016/04/20/Polyglot-1.2.0/index.html @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.0

+ +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

and list jekyll-polyglot among your listed gems in your _config.yml

+ +

It involves mostly groundwork to prepare for new features and better multilingual content management. It does have a new feature:

+ +

{% I18n_Headers %}

+ +

Put this tag with the url of your website in your head.html includes file to get the maximum SEO provided by having a multilingual website. It’s the same as the following liquid code:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

In your header, but faster and cleaner! For more information, see the SEO page

+ +
+ + + +
+ + + + diff --git a/site/_site/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/2016/12/16/Polyglot-1.2.4/index.html new file mode 100644 index 00000000..7b6241fb --- /dev/null +++ b/site/_site/2016/12/16/Polyglot-1.2.4/index.html @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.4 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.4

+ +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ + + +
+ + + + diff --git a/site/_site/CNAME b/site/_site/CNAME new file mode 100644 index 00000000..6495589c --- /dev/null +++ b/site/_site/CNAME @@ -0,0 +1 @@ +polyglot.untra.io diff --git a/site/_site/a-really-long/permalink/index.html b/site/_site/a-really-long/permalink/index.html new file mode 100644 index 00000000..1e18aa36 --- /dev/null +++ b/site/_site/a-really-long/permalink/index.html @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + A really long permalink · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

A really long permalink

+

This permalink is really long and complex

+ +
+ +
+ + + + diff --git a/site/_site/about/index.html b/site/_site/about/index.html new file mode 100644 index 00000000..13943254 --- /dev/null +++ b/site/_site/about/index.html @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + About · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

About

+

+ Polyglot is an open source internationalization plugin for Jekyll blogs. Polyglot is easy to setup and use with any project, and it scales to the languages you want to support. With fallback support for missing content, automatic url relativization, and powerful SEO recipes, Polyglot allows any multi-language blog to focus on content without the cruftwork. +

+ +

Polyglot Github Page

+ +

Install

+ +
gem install jekyll-polyglot
+ + +
+ +
+ + + + diff --git a/site/_site/de/2012/02/06/whats-jekyll/index.html b/site/_site/de/2012/02/06/whats-jekyll/index.html new file mode 100644 index 00000000..29ad4d25 --- /dev/null +++ b/site/_site/de/2012/02/06/whats-jekyll/index.html @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + What's Jekyll? · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

What's Jekyll?

+ +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ + + +
+ + + + diff --git a/site/_site/de/2013/12/28/introducing-hyde/index.html b/site/_site/de/2013/12/28/introducing-hyde/index.html new file mode 100644 index 00000000..ace00ec9 --- /dev/null +++ b/site/_site/de/2013/12/28/introducing-hyde/index.html @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + Introducing Hyde · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Introducing Hyde

+ +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ + + +
+ + + + diff --git a/site/_site/de/2015/09/19/presenting-polyglot/index.html b/site/_site/de/2015/09/19/presenting-polyglot/index.html new file mode 100644 index 00000000..9dbfa316 --- /dev/null +++ b/site/_site/de/2015/09/19/presenting-polyglot/index.html @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + Ankündigung Polyglot · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Ankündigung Polyglot

+ +

Nach monatelanger Arbeit und Raffinesse, ich bin stolz darauf, Polyglot präsentieren: eine i18n-Plugin für Jekyll Websites, die Notwendigkeit, ihre Inhalte in mehrere Sprachen und Zielgruppen gerecht zu werden.

+ +

Eigenschaften

+ +

Zwar gibt es andere Multi-Language-Plugins für Jekyll ist Polyglot Besonderes. Polyglot kümmert sich um den typischen Unsinn in der Regel an die Entwickler verlassen zu verwalten (wie Gerangel URLs und konsistente Sitemaps) und bietet effiziente und einfache Werkzeuge Jekyll-Entwickler können in SEO und Eilverfahren Content-Aggregation zu nutzen.

+ +

Relativiert URLs

+ +

In der Vergangenheit hatte eine mehrsprachige statische Website oder ein Blog, um empfindliche verfolgen, was die Sprache jedes relativen Link wurde die Website dient zu halten. Es war viel zu einfach für einen Entwickler zu stolpern, und Fremdsprachen Besucher würde schnell in nicht übersetzten Inhalte verloren gehen.

+ +

Polyglot relativiert automatisch die URLs für jede Sprache, die Sie Ihre Website, um für die bauen wollen. Dies ermöglicht es Website-Besucher zu isoliert auf eine Sprache zu bleiben, während Durchsuchen Ihrer Website.

+ +

Fallback-Unterstützung

+ +

Wenn Sie nicht haben übersetzt oder mehrsprachige Inhalte, Jekyll wird immer noch mit dem Inhalt zu bauen Sie zu tun haben. Wenn Sie müssen haben übersetzt oder mehrsprachigen Inhalten wird Jekyll bauen mit diesem Inhalt. So einfach ist das.

+ +

Sitemaps bleiben konsistent über alle Sprachen und übersetzt Aufenthalte in der Website es gebaut wurde.

+ +

Reichen Inhalt Übersetzung

+ +

Reiche Sprache Inhalt ist in der Regel schwer zu implementieren. Kurze Strings oder sprachabhängige Banner sind in der Regel schwer für einen Jekyll Website konsistent zu halten.

+ +

Außer, wenn es so einfach. In Ihrem config.yml, nur die Saiten zu speichern, wie:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

und in ihre liquid, einfach anrufen:

+ +
{{ site.hello[site.active_lang]}}
+ +

produziert:

+

+Hallo! +

+ +

Schnell, Asynchron, baut Nullarbeit

+ +

Polyglot wird Ihre mehrsprachige Website genauso schnell zu bauen, wie es Ihre Standardsprache Website zu bauen. Polyglot läuft mit einem minimalen Overhead von gleichzeitig Gebäude alle Sprachen Ihrer Website als separaten Prozess. Das bedeutet, Ihre Website Build-Zeit wird nicht davon ab, wie viele Sprachen, die unterstützt werden müssen.

+ +

Download

+ +

Polyglot ist als eines ruby gem oder als Jekyll Plugin. Es kann mit installiert werden:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ + + +
+ + + + diff --git a/site/_site/de/2015/11/14/polyglot-version-1-1/index.html b/site/_site/de/2015/11/14/polyglot-version-1-1/index.html new file mode 100644 index 00000000..d0fd73c4 --- /dev/null +++ b/site/_site/de/2015/11/14/polyglot-version-1-1/index.html @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + Polyglot Version 1.1.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot Version 1.1.0

+ +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ + + +
+ + + + diff --git a/site/_site/de/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/de/2016/04/20/Polyglot-1.2.0/index.html new file mode 100644 index 00000000..e4ece130 --- /dev/null +++ b/site/_site/de/2016/04/20/Polyglot-1.2.0/index.html @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.0

+ +

Eine neue Version von Polyglot wurde veröffentlicht! Versuche es!

+ +
gem install jekyll-polyglot
+ +

und eine Liste jekyll-polyglot unter Ihren aufgelisteten Edelsteine ​​in Ihrer _config.yml

+ +

Es geht vor allem Grundstein für neue Funktionen und eine bessere Verwaltung mehrsprachiger Inhalte vorzubereiten. Er hat eine neue Funktion:

+ +

{% I18n_Headers %}

+ +

Setzen Sie diesen Tag mit der url Ihrer Website in Ihrem head.html enthält Datei die maximale SEO zu erhalten, die von mit einer mehrsprachigen Website. Es ist die gleiche wie die folgende Flüssigkeit Code:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

In der Kopfzeile, aber schneller und sauberer! Weitere Informationen finden Sie unter die SEO-Seite

+ +
+ + + +
+ + + + diff --git a/site/_site/de/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/de/2016/12/16/Polyglot-1.2.4/index.html new file mode 100644 index 00000000..dd757ba6 --- /dev/null +++ b/site/_site/de/2016/12/16/Polyglot-1.2.4/index.html @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.4 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.4

+ +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ + + +
+ + + + diff --git a/site/_site/de/CNAME b/site/_site/de/CNAME new file mode 100644 index 00000000..6495589c --- /dev/null +++ b/site/_site/de/CNAME @@ -0,0 +1 @@ +polyglot.untra.io diff --git a/site/_site/de/a-really-long/permalink/index.html b/site/_site/de/a-really-long/permalink/index.html new file mode 100644 index 00000000..f47a95f8 --- /dev/null +++ b/site/_site/de/a-really-long/permalink/index.html @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + A really long permalink · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

A really long permalink

+

Permalink ist wirklich lang und komplex

+ +
+ +
+ + + + diff --git a/site/_site/de/about/index.html b/site/_site/de/about/index.html new file mode 100644 index 00000000..1068c15c --- /dev/null +++ b/site/_site/de/about/index.html @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + About · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

About

+

+ Polyglot ist ein Open Source Internationalisierung Plugin für Jekyll Blogs. Polyglot ist einfach zu installieren und zu verwenden bei jedem Projekt, und es zu den Sprachen, die Sie unterstützen möchten skaliert. Mit Fallback-Unterstützung für fehlende Inhalte, automatische url Relativierung und leistungsfähige SEO-Rezepte, ermöglicht Polyglot jeder mehrsprachigen Blog, um auf den Inhalt, ohne den Unsinn zu konzentrieren. +

+ +

Polyglot Github Page

+ +

Install

+ +
gem install jekyll-polyglot
+ + +
+ +
+ + + + diff --git a/site/_site/de/index.html b/site/_site/de/index.html new file mode 100644 index 00000000..2998aae5 --- /dev/null +++ b/site/_site/de/index.html @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + Polyglot 1.2.4 + +

+ + + +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ +
+

+ + Polyglot 1.2.0 + +

+ + + +

Eine neue Version von Polyglot wurde veröffentlicht! Versuche es!

+ +
gem install jekyll-polyglot
+ +

und eine Liste jekyll-polyglot unter Ihren aufgelisteten Edelsteine ​​in Ihrer _config.yml

+ +

Es geht vor allem Grundstein für neue Funktionen und eine bessere Verwaltung mehrsprachiger Inhalte vorzubereiten. Er hat eine neue Funktion:

+ +

{% I18n_Headers %}

+ +

Setzen Sie diesen Tag mit der url Ihrer Website in Ihrem head.html enthält Datei die maximale SEO zu erhalten, die von mit einer mehrsprachigen Website. Es ist die gleiche wie die folgende Flüssigkeit Code:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

In der Kopfzeile, aber schneller und sauberer! Weitere Informationen finden Sie unter die SEO-Seite

+ +
+ +
+

+ + Polyglot Version 1.1.0 + +

+ + + +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ +
+

+ + Ankündigung Polyglot + +

+ + + +

Nach monatelanger Arbeit und Raffinesse, ich bin stolz darauf, Polyglot präsentieren: eine i18n-Plugin für Jekyll Websites, die Notwendigkeit, ihre Inhalte in mehrere Sprachen und Zielgruppen gerecht zu werden.

+ +

Eigenschaften

+ +

Zwar gibt es andere Multi-Language-Plugins für Jekyll ist Polyglot Besonderes. Polyglot kümmert sich um den typischen Unsinn in der Regel an die Entwickler verlassen zu verwalten (wie Gerangel URLs und konsistente Sitemaps) und bietet effiziente und einfache Werkzeuge Jekyll-Entwickler können in SEO und Eilverfahren Content-Aggregation zu nutzen.

+ +

Relativiert URLs

+ +

In der Vergangenheit hatte eine mehrsprachige statische Website oder ein Blog, um empfindliche verfolgen, was die Sprache jedes relativen Link wurde die Website dient zu halten. Es war viel zu einfach für einen Entwickler zu stolpern, und Fremdsprachen Besucher würde schnell in nicht übersetzten Inhalte verloren gehen.

+ +

Polyglot relativiert automatisch die URLs für jede Sprache, die Sie Ihre Website, um für die bauen wollen. Dies ermöglicht es Website-Besucher zu isoliert auf eine Sprache zu bleiben, während Durchsuchen Ihrer Website.

+ +

Fallback-Unterstützung

+ +

Wenn Sie nicht haben übersetzt oder mehrsprachige Inhalte, Jekyll wird immer noch mit dem Inhalt zu bauen Sie zu tun haben. Wenn Sie müssen haben übersetzt oder mehrsprachigen Inhalten wird Jekyll bauen mit diesem Inhalt. So einfach ist das.

+ +

Sitemaps bleiben konsistent über alle Sprachen und übersetzt Aufenthalte in der Website es gebaut wurde.

+ +

Reichen Inhalt Übersetzung

+ +

Reiche Sprache Inhalt ist in der Regel schwer zu implementieren. Kurze Strings oder sprachabhängige Banner sind in der Regel schwer für einen Jekyll Website konsistent zu halten.

+ +

Außer, wenn es so einfach. In Ihrem config.yml, nur die Saiten zu speichern, wie:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

und in ihre liquid, einfach anrufen:

+ +
{{ site.hello[site.active_lang]}}
+ +

produziert:

+

+Hallo! +

+ +

Schnell, Asynchron, baut Nullarbeit

+ +

Polyglot wird Ihre mehrsprachige Website genauso schnell zu bauen, wie es Ihre Standardsprache Website zu bauen. Polyglot läuft mit einem minimalen Overhead von gleichzeitig Gebäude alle Sprachen Ihrer Website als separaten Prozess. Das bedeutet, Ihre Website Build-Zeit wird nicht davon ab, wie viele Sprachen, die unterstützt werden müssen.

+ +

Download

+ +

Polyglot ist als eines ruby gem oder als Jekyll Plugin. Es kann mit installiert werden:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ +
+

+ + Introducing Hyde + +

+ + + +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/de/page2/index.html b/site/_site/de/page2/index.html new file mode 100644 index 00000000..a93fc7be --- /dev/null +++ b/site/_site/de/page2/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + What's Jekyll? + +

+ + + +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/de/sample/index.html b/site/_site/de/sample/index.html new file mode 100644 index 00000000..e8107132 --- /dev/null +++ b/site/_site/de/sample/index.html @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + Sample rich text data · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Sample rich text data

+

Hallo und willkommen zu einer Beispielseite
+genießen Sie Ihren Aufenthalt
+Dieser Beispieltext stammte aus einer .yml Datei
+HTML-Tags werden beibehalten
+und Links werden relativiert

+ +
+ +
+ + + + diff --git a/site/_site/de/seo/index.html b/site/_site/de/seo/index.html new file mode 100644 index 00000000..81d0d30d --- /dev/null +++ b/site/_site/de/seo/index.html @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + SEO Recipes · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

SEO Recipes

+

Recipes for Search Engine Optimization using Polyglot

+ +

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

+ +

HTML Language Declaration

+ +

Per W3C Internationalization Best Practices +you can set the default language of every page with a meta tag. Just add the following to your header:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+ +

Multi-language SEO using hreflang alternate tags

+ +

You can easily add hreflang alternate tags +to your site, achieving SEO with google multi-language searches. Add the following to your header:

+ +
<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

All of the above

+ +

You can get all of the above with a single tag added to your header.html:

+ +
{% I18n_Headers https://untra.github.com/polyglot %}
+ +

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. +In 1.2.4, you can leave it empty, just calling

+ +
{% I18n_Headers %}
+ +

and it will default to your site.url

+ +

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

+ +
+ +
+ + + + diff --git a/site/_site/es/2012/02/06/whats-jekyll/index.html b/site/_site/es/2012/02/06/whats-jekyll/index.html new file mode 100644 index 00000000..9127df06 --- /dev/null +++ b/site/_site/es/2012/02/06/whats-jekyll/index.html @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + What's Jekyll? · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

What's Jekyll?

+ +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ + + +
+ + + + diff --git a/site/_site/es/2013/12/28/introducing-hyde/index.html b/site/_site/es/2013/12/28/introducing-hyde/index.html new file mode 100644 index 00000000..3cc62ecf --- /dev/null +++ b/site/_site/es/2013/12/28/introducing-hyde/index.html @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + Introducing Hyde · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Introducing Hyde

+ +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ + + +
+ + + + diff --git a/site/_site/es/2015/09/19/presenting-polyglot/index.html b/site/_site/es/2015/09/19/presenting-polyglot/index.html new file mode 100644 index 00000000..cf4116aa --- /dev/null +++ b/site/_site/es/2015/09/19/presenting-polyglot/index.html @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + Introduciendo Polyglot · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Introduciendo Polyglot

+ +

Después de meses de trabajo y el refinamiento, me siento orgulloso de presentar Polyglot: un plugin para i18n Jekyll sitios que necesidad para atender su contenido a varios idiomas y audiencias.

+ +

Características

+ +

Si bien hay otros plugins multi-idioma para Jekyll, Polyglot es especial. Polyglot se encarga de las tonterías típicas normalmente de izquierda a los desarrolladores para gestionar (como discusiones urls y la garantía de mapas de sitio consistentes) mientras que proporciona herramientas eficaces y sencillas desarrolladores Jekyll puede utilizar en SEO y agregación de contenidos vía rápida.

+ +

Url Relativizado

+ +

En el pasado, un sitio estático multilenguaje blog o tenían que mantener un registro de lo delicado lenguaje cada enlace relativa sitio estaba sirviendo. Era demasiado fácil para un desarrollador para tropezar, y los visitantes de lengua extranjera de forma rápida se perdiera en el contenido sin traducir.

+ +

Polyglot relativiza automáticamente las direcciones url para cada idioma que desea su sitio a construir para. Esto permite que los visitantes del sitio para quedarse aislado en un idioma mientras navega por su sitio web.

+ +

Soporte de Retorno

+ +

Cuando usted no se han traducido o contenido multilingüe, Jekyll todavía construir con el contenido que tienen. Cuando usted ha traducido o contenido multilingüe, Jekyll construirá usando ese contenido. Simple como eso.

+ +

Sitemaps mantenerse coherente en todos los idiomas, y se traducen estancias en el sitio que fue construido para.

+ +

Rich Traducción de Contenidos

+ +

Idioma de los contenidos Rich es normalmente difícil de implementar. Cadenas cortas o lenguaje banderas dependientes suelen ser difícil para un sitio web Jekyll para mantener constante.

+ +

Excepto cuando es tan fácil. En su config.yml, simplemente almacenar sus cadenas como:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

y en su liquid, simplemente llame a:

+ +
{{ site.hello[site.active_lang]}}
+ +

produce:

+

+¡hola! +

+ +

Rápido, Asíncrono, Cero-Overhead Builds

+ +

Polyglot va a construir su sitio web en varios idiomas tan rápido como se va a construir su sitio web idioma predeterminado. Polyglot se ejecuta con una sobrecarga mínima de simultáneamente edificio todos los idiomas de su sitio web como proceso independiente. Esto significa que su sitio web el tiempo de construcción no va a ser una función de la cantidad de idiomas que necesita para apoyar.

+ +

Descargar

+ +

Polyglot está disponible como una ruby gem, o como un plugin Jekyll. Se puede instalar con:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ + + +
+ + + + diff --git a/site/_site/es/2015/11/14/polyglot-version-1-1/index.html b/site/_site/es/2015/11/14/polyglot-version-1-1/index.html new file mode 100644 index 00000000..118a5bff --- /dev/null +++ b/site/_site/es/2015/11/14/polyglot-version-1-1/index.html @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + Polyglot Version 1.1.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot Version 1.1.0

+ +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ + + +
+ + + + diff --git a/site/_site/es/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/es/2016/04/20/Polyglot-1.2.0/index.html new file mode 100644 index 00000000..bf4714fc --- /dev/null +++ b/site/_site/es/2016/04/20/Polyglot-1.2.0/index.html @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.0

+ +

Una nueva versión de Políglota ha sido puesto en libertad! ¡Darle una oportunidad!

+ +
gem install jekyll-polyglot
+ +

y la lista de Jekyll-polyglot entre sus gemas que aparecen en su _config.yml

+ +

Se trata en su mayoría bases para prepararse para nuevas características y una mejor gestión de contenidos multilingües. Se tiene una nueva característica:

+ +

{% I18n_Headers %}

+ +

Ponga esta etiqueta con la URL de su sitio web en su head.html incluye archivos para obtener el máximo previsto por SEO tener un sitio web multilingüe. Es el mismo que el siguiente código de líquido:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

En su cabecera, pero más rápido y más limpio! Para obtener más información, ver la página

+ +
+ + + +
+ + + + diff --git a/site/_site/es/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/es/2016/12/16/Polyglot-1.2.4/index.html new file mode 100644 index 00000000..d63b1ab0 --- /dev/null +++ b/site/_site/es/2016/12/16/Polyglot-1.2.4/index.html @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.4 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.4

+ +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ + + +
+ + + + diff --git a/site/_site/es/CNAME b/site/_site/es/CNAME new file mode 100644 index 00000000..6495589c --- /dev/null +++ b/site/_site/es/CNAME @@ -0,0 +1 @@ +polyglot.untra.io diff --git a/site/_site/es/a-really-long/permalink/index.html b/site/_site/es/a-really-long/permalink/index.html new file mode 100644 index 00000000..e7354bd6 --- /dev/null +++ b/site/_site/es/a-really-long/permalink/index.html @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + A really long permalink · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

A really long permalink

+

Este enlace permanente es muy largo y complejo

+ +
+ +
+ + + + diff --git a/site/_site/es/about/index.html b/site/_site/es/about/index.html new file mode 100644 index 00000000..a1412922 --- /dev/null +++ b/site/_site/es/about/index.html @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + About · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

About

+

+ Polyglot es una internacionalización de código abierto de plugins para blogs Jekyll . Polyglot es fácil de configurar y usar con cualquier proyecto, y las escalas de los idiomas que desea apoyar. Con el apoyo de reserva para el contenido que falta, relativización url automático, y potentes recetas SEO, Políglota permite a cualquier blog de multi-idioma para centrarse en el contenido sin la tontería. +

+ +

Polyglot Github Page

+ +

Install

+ +
gem install jekyll-polyglot
+ + +
+ +
+ + + + diff --git a/site/_site/es/index.html b/site/_site/es/index.html new file mode 100644 index 00000000..198eb2f9 --- /dev/null +++ b/site/_site/es/index.html @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + Polyglot 1.2.4 + +

+ + + +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ +
+

+ + Polyglot 1.2.0 + +

+ + + +

Una nueva versión de Políglota ha sido puesto en libertad! ¡Darle una oportunidad!

+ +
gem install jekyll-polyglot
+ +

y la lista de Jekyll-polyglot entre sus gemas que aparecen en su _config.yml

+ +

Se trata en su mayoría bases para prepararse para nuevas características y una mejor gestión de contenidos multilingües. Se tiene una nueva característica:

+ +

{% I18n_Headers %}

+ +

Ponga esta etiqueta con la URL de su sitio web en su head.html incluye archivos para obtener el máximo previsto por SEO tener un sitio web multilingüe. Es el mismo que el siguiente código de líquido:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

En su cabecera, pero más rápido y más limpio! Para obtener más información, ver la página

+ +
+ +
+

+ + Polyglot Version 1.1.0 + +

+ + + +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ +
+

+ + Introduciendo Polyglot + +

+ + + +

Después de meses de trabajo y el refinamiento, me siento orgulloso de presentar Polyglot: un plugin para i18n Jekyll sitios que necesidad para atender su contenido a varios idiomas y audiencias.

+ +

Características

+ +

Si bien hay otros plugins multi-idioma para Jekyll, Polyglot es especial. Polyglot se encarga de las tonterías típicas normalmente de izquierda a los desarrolladores para gestionar (como discusiones urls y la garantía de mapas de sitio consistentes) mientras que proporciona herramientas eficaces y sencillas desarrolladores Jekyll puede utilizar en SEO y agregación de contenidos vía rápida.

+ +

Url Relativizado

+ +

En el pasado, un sitio estático multilenguaje blog o tenían que mantener un registro de lo delicado lenguaje cada enlace relativa sitio estaba sirviendo. Era demasiado fácil para un desarrollador para tropezar, y los visitantes de lengua extranjera de forma rápida se perdiera en el contenido sin traducir.

+ +

Polyglot relativiza automáticamente las direcciones url para cada idioma que desea su sitio a construir para. Esto permite que los visitantes del sitio para quedarse aislado en un idioma mientras navega por su sitio web.

+ +

Soporte de Retorno

+ +

Cuando usted no se han traducido o contenido multilingüe, Jekyll todavía construir con el contenido que tienen. Cuando usted ha traducido o contenido multilingüe, Jekyll construirá usando ese contenido. Simple como eso.

+ +

Sitemaps mantenerse coherente en todos los idiomas, y se traducen estancias en el sitio que fue construido para.

+ +

Rich Traducción de Contenidos

+ +

Idioma de los contenidos Rich es normalmente difícil de implementar. Cadenas cortas o lenguaje banderas dependientes suelen ser difícil para un sitio web Jekyll para mantener constante.

+ +

Excepto cuando es tan fácil. En su config.yml, simplemente almacenar sus cadenas como:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

y en su liquid, simplemente llame a:

+ +
{{ site.hello[site.active_lang]}}
+ +

produce:

+

+¡hola! +

+ +

Rápido, Asíncrono, Cero-Overhead Builds

+ +

Polyglot va a construir su sitio web en varios idiomas tan rápido como se va a construir su sitio web idioma predeterminado. Polyglot se ejecuta con una sobrecarga mínima de simultáneamente edificio todos los idiomas de su sitio web como proceso independiente. Esto significa que su sitio web el tiempo de construcción no va a ser una función de la cantidad de idiomas que necesita para apoyar.

+ +

Descargar

+ +

Polyglot está disponible como una ruby gem, o como un plugin Jekyll. Se puede instalar con:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ +
+

+ + Introducing Hyde + +

+ + + +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/es/page2/index.html b/site/_site/es/page2/index.html new file mode 100644 index 00000000..2c1c8357 --- /dev/null +++ b/site/_site/es/page2/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + What's Jekyll? + +

+ + + +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/es/sample/index.html b/site/_site/es/sample/index.html new file mode 100644 index 00000000..2b74da26 --- /dev/null +++ b/site/_site/es/sample/index.html @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + Sample rich text data · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Sample rich text data

+

Hola , y bienvenidos a una página de ejemplo
+ disfrutar de su estancia
+ Este texto muestra proviene de un archivo .yml
+ etiquetas HTML se conservan
+ y los enlaces se relativizan

+ +
+ +
+ + + + diff --git a/site/_site/es/seo/index.html b/site/_site/es/seo/index.html new file mode 100644 index 00000000..b90366fa --- /dev/null +++ b/site/_site/es/seo/index.html @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + SEO Recipes · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

SEO Recipes

+

Recipes for Search Engine Optimization using Polyglot

+ +

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

+ +

HTML Language Declaration

+ +

Per W3C Internationalization Best Practices +you can set the default language of every page with a meta tag. Just add the following to your header:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+ +

Multi-language SEO using hreflang alternate tags

+ +

You can easily add hreflang alternate tags +to your site, achieving SEO with google multi-language searches. Add the following to your header:

+ +
<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

All of the above

+ +

You can get all of the above with a single tag added to your header.html:

+ +
{% I18n_Headers https://untra.github.com/polyglot %}
+ +

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. +In 1.2.4, you can leave it empty, just calling

+ +
{% I18n_Headers %}
+ +

and it will default to your site.url

+ +

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

+ +
+ +
+ + + + diff --git a/site/_site/fr/2012/02/06/whats-jekyll/index.html b/site/_site/fr/2012/02/06/whats-jekyll/index.html new file mode 100644 index 00000000..f2750bfa --- /dev/null +++ b/site/_site/fr/2012/02/06/whats-jekyll/index.html @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + What's Jekyll? · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

What's Jekyll?

+ +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ + + +
+ + + + diff --git a/site/_site/fr/2013/12/28/introducing-hyde/index.html b/site/_site/fr/2013/12/28/introducing-hyde/index.html new file mode 100644 index 00000000..2741dcc7 --- /dev/null +++ b/site/_site/fr/2013/12/28/introducing-hyde/index.html @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + Introducing Hyde · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Introducing Hyde

+ +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ + + +
+ + + + diff --git a/site/_site/fr/2015/09/19/presenting-polyglot/index.html b/site/_site/fr/2015/09/19/presenting-polyglot/index.html new file mode 100644 index 00000000..50e0c4c5 --- /dev/null +++ b/site/_site/fr/2015/09/19/presenting-polyglot/index.html @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + Présentation Polyglot · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Présentation Polyglot

+ +

Après des mois de travail et de raffinement, je suis fier de présenter Polyglot: un plugin i18n pour Jekyll sites qui besoin pour répondre à leur contenu à de multiples langues et le public.

+ +

Caractéristiques

+ +

Bien qu’il existe d’autres plugins multi-langues pour Jekyll, Polyglot est spécial. Polyglot prend soin de l’absurdité typique normalement laissée aux développeurs de gérer (comme querelles urls et assurer sitemaps cohérentes) tout en fournissant des outils simples et efficaces développeurs Jekyll peut utiliser dans le référencement et l’agrégation de contenu accéléré.

+ +

Url Relativisé

+ +

Dans le passé, un site ou un blog statique multi-langue devaient garder une trace délicate que soit la langue de chaque lien relatif le site servait. Il était trop facile pour un développeur de trébucher, et les visiteurs de langue étrangère serait rapidement se perdre dans le contenu non traduite.

+ +

Polyglot relativise automatiquement les Url pour chaque langue que vous voulez que votre site pour construire. Cela permet les visiteurs du site à rester isolé sur une langue tout en naviguant sur votre site web.

+ +

Soutien de Repli

+ +

Lorsque vous ne ont traduit ou contenu multilingue, Jekyll aurez toujours construire avec le contenu que vous avez. Lorsque vous ne avez traduit ou contenu multilingue, Jekyll se construire en utilisant ce contenu. Aussi simple que cela.

+ +

Sitemaps rester cohérente dans toutes les langues, et traduits séjours dans le site, il a été construit pour.

+ +

Contenu Riche Traduction

+ +

Un contenu riche de la langue est normalement difficile à mettre en œuvre. Les chaînes courtes ou des bannières dépendant de la langue sont généralement difficile pour un site Jekyll pour garder cohérente.

+ +

Sauf quand il est si facile. Dans votre config.yml, simplement stocker vos chaînes comme:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

et dans votre liquid, il suffit d’appeler:

+ +
{{ site.hello[site.active_lang]}}
+ +

produit:

+

+Bonjour! +

+ +

Rapide, Asynchrone, Zéro Frais-Généraux Builds

+ +

Polyglot va construire votre site multi-langue aussi vite que il va construire votre site de langue par défaut. Polyglot fonctionne avec un minimum de frais généraux par simultanément bâtiment toutes les langues de votre site Web comme un processus distinct. Cela signifie que votre temps site de construction ne sera pas fonction du nombre de langues dont vous avez besoin pour soutenir.

+ +

Télécharger

+ +

Polyglot est disponible comme une ruby gem, ou comme un plugin Jekyll. Il peut être installé avec:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ + + +
+ + + + diff --git a/site/_site/fr/2015/11/14/polyglot-version-1-1/index.html b/site/_site/fr/2015/11/14/polyglot-version-1-1/index.html new file mode 100644 index 00000000..cec74aea --- /dev/null +++ b/site/_site/fr/2015/11/14/polyglot-version-1-1/index.html @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + Polyglot Version 1.1.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot Version 1.1.0

+ +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ + + +
+ + + + diff --git a/site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html new file mode 100644 index 00000000..598d0042 --- /dev/null +++ b/site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.0 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.0

+ +

Une nouvelle version de Polyglot a été libéré! Essaie!

+ +
gem install jekyll-polyglot
+ +

et la liste jekyll-polyglot parmi vos pierres précieuses figurant dans votre _config.yml

+ +

Elle consiste principalement bases pour se préparer à de nouvelles fonctionnalités et une meilleure gestion de contenu multilingue. Elle a une nouvelle fonctionnalité:

+ +

{% I18n_Headers %}

+ +

Mettez cette balise avec le url de votre site dans votre head.html comprend fichier pour obtenir le référencement maximum fourni par ayant un site Web multilingue. Il est le même que le code de liquide suivant:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

Dans votre tête, mais plus rapide et plus propre! Pour plus d’informations, voir la page SEO

+ +
+ + + +
+ + + + diff --git a/site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html new file mode 100644 index 00000000..e453187a --- /dev/null +++ b/site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + Polyglot 1.2.4 · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Polyglot 1.2.4

+ +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ + + +
+ + + + diff --git a/site/_site/fr/CNAME b/site/_site/fr/CNAME new file mode 100644 index 00000000..6495589c --- /dev/null +++ b/site/_site/fr/CNAME @@ -0,0 +1 @@ +polyglot.untra.io diff --git a/site/_site/fr/a-really-long/permalink/index.html b/site/_site/fr/a-really-long/permalink/index.html new file mode 100644 index 00000000..25be8b14 --- /dev/null +++ b/site/_site/fr/a-really-long/permalink/index.html @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + A really long permalink · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

A really long permalink

+

Ce permalien est vraiment long et complexe

+ +
+ +
+ + + + diff --git a/site/_site/fr/about/index.html b/site/_site/fr/about/index.html new file mode 100644 index 00000000..4e5a43a1 --- /dev/null +++ b/site/_site/fr/about/index.html @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + About · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

About

+

+ Polyglot est une internationalisation du plugin open source pour les blogs de Jekyll. Polyglot est facile à installer et à utiliser pour tout projet, et il évolue pour les langues que vous souhaitez soutenir. Avec le soutien de repli pour le contenu manquant, relativisation automatique d'URL, et de puissants recettes de SEO, Polyglot permet un blog multi-langue pour se concentrer sur le contenu sans l'absurdité. +

+ +

Polyglot Github Page

+ +

Install

+ +
gem install jekyll-polyglot
+ + +
+ +
+ + + + diff --git a/site/_site/fr/index.html b/site/_site/fr/index.html new file mode 100644 index 00000000..f4eb2942 --- /dev/null +++ b/site/_site/fr/index.html @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + Polyglot 1.2.4 + +

+ + + +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ +
+

+ + Polyglot 1.2.0 + +

+ + + +

Une nouvelle version de Polyglot a été libéré! Essaie!

+ +
gem install jekyll-polyglot
+ +

et la liste jekyll-polyglot parmi vos pierres précieuses figurant dans votre _config.yml

+ +

Elle consiste principalement bases pour se préparer à de nouvelles fonctionnalités et une meilleure gestion de contenu multilingue. Elle a une nouvelle fonctionnalité:

+ +

{% I18n_Headers %}

+ +

Mettez cette balise avec le url de votre site dans votre head.html comprend fichier pour obtenir le référencement maximum fourni par ayant un site Web multilingue. Il est le même que le code de liquide suivant:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

Dans votre tête, mais plus rapide et plus propre! Pour plus d’informations, voir la page SEO

+ +
+ +
+

+ + Polyglot Version 1.1.0 + +

+ + + +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ +
+

+ + Présentation Polyglot + +

+ + + +

Après des mois de travail et de raffinement, je suis fier de présenter Polyglot: un plugin i18n pour Jekyll sites qui besoin pour répondre à leur contenu à de multiples langues et le public.

+ +

Caractéristiques

+ +

Bien qu’il existe d’autres plugins multi-langues pour Jekyll, Polyglot est spécial. Polyglot prend soin de l’absurdité typique normalement laissée aux développeurs de gérer (comme querelles urls et assurer sitemaps cohérentes) tout en fournissant des outils simples et efficaces développeurs Jekyll peut utiliser dans le référencement et l’agrégation de contenu accéléré.

+ +

Url Relativisé

+ +

Dans le passé, un site ou un blog statique multi-langue devaient garder une trace délicate que soit la langue de chaque lien relatif le site servait. Il était trop facile pour un développeur de trébucher, et les visiteurs de langue étrangère serait rapidement se perdre dans le contenu non traduite.

+ +

Polyglot relativise automatiquement les Url pour chaque langue que vous voulez que votre site pour construire. Cela permet les visiteurs du site à rester isolé sur une langue tout en naviguant sur votre site web.

+ +

Soutien de Repli

+ +

Lorsque vous ne ont traduit ou contenu multilingue, Jekyll aurez toujours construire avec le contenu que vous avez. Lorsque vous ne avez traduit ou contenu multilingue, Jekyll se construire en utilisant ce contenu. Aussi simple que cela.

+ +

Sitemaps rester cohérente dans toutes les langues, et traduits séjours dans le site, il a été construit pour.

+ +

Contenu Riche Traduction

+ +

Un contenu riche de la langue est normalement difficile à mettre en œuvre. Les chaînes courtes ou des bannières dépendant de la langue sont généralement difficile pour un site Jekyll pour garder cohérente.

+ +

Sauf quand il est si facile. Dans votre config.yml, simplement stocker vos chaînes comme:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

et dans votre liquid, il suffit d’appeler:

+ +
{{ site.hello[site.active_lang]}}
+ +

produit:

+

+Bonjour! +

+ +

Rapide, Asynchrone, Zéro Frais-Généraux Builds

+ +

Polyglot va construire votre site multi-langue aussi vite que il va construire votre site de langue par défaut. Polyglot fonctionne avec un minimum de frais généraux par simultanément bâtiment toutes les langues de votre site Web comme un processus distinct. Cela signifie que votre temps site de construction ne sera pas fonction du nombre de langues dont vous avez besoin pour soutenir.

+ +

Télécharger

+ +

Polyglot est disponible comme une ruby gem, ou comme un plugin Jekyll. Il peut être installé avec:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ +
+

+ + Introducing Hyde + +

+ + + +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/fr/page2/index.html b/site/_site/fr/page2/index.html new file mode 100644 index 00000000..204fbccf --- /dev/null +++ b/site/_site/fr/page2/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + What's Jekyll? + +

+ + + +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/fr/sample/index.html b/site/_site/fr/sample/index.html new file mode 100644 index 00000000..a33888db --- /dev/null +++ b/site/_site/fr/sample/index.html @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + Sample rich text data · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Sample rich text data

+

bonjour, et bienvenue à une page d’exemple
+ profiter de votre séjour
+ Ce texte de l’échantillon provenait d’un fichier .yml
+ balises html sont conservées
+ et les liens sont relativisées

+ +
+ +
+ + + + diff --git a/site/_site/fr/seo/index.html b/site/_site/fr/seo/index.html new file mode 100644 index 00000000..615dc822 --- /dev/null +++ b/site/_site/fr/seo/index.html @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + SEO Recipes · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

SEO Recipes

+

Recipes for Search Engine Optimization using Polyglot

+ +

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

+ +

HTML Language Declaration

+ +

Per W3C Internationalization Best Practices +you can set the default language of every page with a meta tag. Just add the following to your header:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+ +

Multi-language SEO using hreflang alternate tags

+ +

You can easily add hreflang alternate tags +to your site, achieving SEO with google multi-language searches. Add the following to your header:

+ +
<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

All of the above

+ +

You can get all of the above with a single tag added to your header.html:

+ +
{% I18n_Headers https://untra.github.com/polyglot %}
+ +

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. +In 1.2.4, you can leave it empty, just calling

+ +
{% I18n_Headers %}
+ +

and it will default to your site.url

+ +

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

+ +
+ +
+ + + + diff --git a/site/_site/index.html b/site/_site/index.html new file mode 100644 index 00000000..1d22eff4 --- /dev/null +++ b/site/_site/index.html @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + Polyglot 1.2.4 + +

+ + + +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

+ +

Support translation of absolute URLs

+

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

+ +

Translation of all Jekyll Collections

+

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

+ +

Use language-specific _data for site.data rich text when site.data[:lang] is present

+

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

+ +
{{ site.data[site.active_lang].richTextString }}
+ +

Now rich text can be rendered with just:

+ +
{{ site.data.richTextString }}
+ +

The I18n_Headers tag now defaults to site.url when left blank

+

Users can now use

+ +
{% I18n_Headers %}
+ +

without specifying a url, defaulting it to your site.url

+ +
+ +
+

+ + Polyglot 1.2.0 + +

+ + + +

A new version of Polyglot has been released! Give it a try!

+ +
gem install jekyll-polyglot
+ +

and list jekyll-polyglot among your listed gems in your _config.yml

+ +

It involves mostly groundwork to prepare for new features and better multilingual content management. It does have a new feature:

+ +

{% I18n_Headers %}

+ +

Put this tag with the url of your website in your head.html includes file to get the maximum SEO provided by having a multilingual website. It’s the same as the following liquid code:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

In your header, but faster and cleaner! For more information, see the SEO page

+ +
+ +
+

+ + Polyglot Version 1.1.0 + +

+ + + +

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

+ +
gem 'jekyll-polyglot', '~> 1.1.0'
+ + +
+ +
+

+ + Presenting Polyglot + +

+ + + +

After months of work and refinement, I am proud to present Polyglot: a i18n plugin for Jekyll sites that need to cater their content to multiple languages and audiences.

+ +

Features

+ +

While there are other multi-language plugins for Jekyll, Polyglot is special. Polyglot takes care of the typical cruftwork normally left to developers to manage (such as wrangling urls and ensuring consistent sitemaps) while providing efficient and simple tools Jekyll developers can utilize into SEO and fast-tracked content aggregation.

+ + + +

In the past, a multi-language static site or blog had to keep delicate track of what language each relative link the site was serving. It was all too easy for a developer to stumble, and foreign language visitors would quickly get lost in untranslated content.

+ +

Polyglot automatically relativizes the urls for each language you want your site to build for. This allows website visitors to stay isolated on one language while browsing your website.

+ +

Fallback Support

+ +

When you don’t have translated or multilingual content, Jekyll will still build with the content you do have. When you do have translated or multilingual content, Jekyll will build using that content. Simple as that.

+ +

Sitemaps stay consistent across all languages, and translated stays in the site it was built for.

+ +

Rich Content Translation

+ +

Rich language content is normally hard to implement. Short strings or language dependent banners are typically hard for a Jekyll website to keep consistent.

+ +

Except when it’s this easy. In your config.yml, just store your strings as:

+ +
hello:
+  en: Hello!
+  es: ¡hola!
+  fr: Bonjour!
+  de: Guten Tag!
+ +

and in your liquid, just call:

+ +
{{ site.hello[site.active_lang]}}
+ +

produces:

+

+Hello! +

+ +

Fast, Asynchronous, Zero-Overhead Builds

+ +

Polyglot will build your multi-language website just as fast as it will build your default language website. Polyglot runs with a minimal overhead by simultaneously building all languages of your website as separate process. This means your website build time won’t be a function of how many languages you need to support.

+ +

Download

+ +

Polyglot is available as a gem, or as a Jekyll plugin. It can be installed with:

+ +
  gem install 'jekyll-polyglot'
+  
+ + +
+ +
+

+ + Introducing Hyde + +

+ + + +

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

+ +

Built on Poole

+ +

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

+ +
    +
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • +
  • Mobile friendly design and development
  • +
  • Easily scalable text and component sizing with rem units in the CSS
  • +
  • Support for a wide gamut of HTML elements
  • +
  • Related posts (time-based, because Jekyll) below each post
  • +
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • +
+ +

Hyde features

+ +

In addition to the features of Poole, Hyde adds the following:

+ +
    +
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • +
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • +
  • Eight optional color schemes, available via <body> classes
  • +
+ +

Head to the readme to learn more.

+ +

Browser support

+ +

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

+ +

Download

+ +

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

+ +

Thanks!

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/page2/index.html b/site/_site/page2/index.html new file mode 100644 index 00000000..2c234dcd --- /dev/null +++ b/site/_site/page2/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + Polyglot · Straightforward I18n for Jekyll Blogs + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

+ + What's Jekyll? + +

+ + + +

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

+ +
+

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

+
+ +

It’s an immensely useful tool and one we encourage you to use here with Hyde.

+ +

Find out more by visiting the project on GitHub.

+ +
+ +
+ + + +
+ + + + diff --git a/site/_site/public/apple-touch-icon-144-precomposed.png b/site/_site/public/apple-touch-icon-144-precomposed.png new file mode 100644 index 0000000000000000000000000000000000000000..345010c3afe47bfa228477f47970650152d87140 GIT binary patch literal 588 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q2}owBl)eX2k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+7~griIEGZ*dUMAyk1>#;;bB%xLtc8a!0cTNo<}*Q9!bS& zbQ*iS@NBu^apN`X4U@Nmx8^OpHf4)pzR=t6`o}9OjqlGEm!90o-KrhycRi2MfKk{W zfk`dl0E^Fo2F@7`KrSP*S^^WB&jA*m84a8g5CzK;Qki>iXKrnKTsSK{sONFAeCVmA zM~kLDOJUo4FU9P0i{=gCZ8!7ER_DA=SR1!Lf4gwx{{2?}|33cwK|4^ywq*Bn|1`U~ zcI&UVPnUmjEbY=C_OzhiPde|uf3CXKzwP$loX$E`E}XVwx<@Uce&ZWezh9XqR`nBN z^w@Ql3RQ|W>ITl+pnP`uWtVM7cBctPNZEe-{hU8YbGn}3nQ0uT9>VQoxGSupR&3`8 zIkogvZYju9{wW{)R+m;37|oWo{;xJa-%P5SeX)jDiqZYJD`~qcD{Hw6lZ^`(3MAdR zYb)D#JX3FPlFa-F+wP}YXHW7}?G@%eG3`e`*VmSl{e0L$7{ftam!>l?Gc-STHCP|D SF%y_P7(8A5T-G@yGywpdT->Vw literal 0 HcmV?d00001 diff --git a/site/_site/public/css/custom.css b/site/_site/public/css/custom.css new file mode 100644 index 00000000..fa16c40d --- /dev/null +++ b/site/_site/public/css/custom.css @@ -0,0 +1,46 @@ +@media (min-width: 48em) { +.speech +{ + position: relative; + width: 200px; + height: 86px; + text-align: center; + line-height: 100px; + color: #6a9fb5; + font-family: "Abril Fatface", serif; + font-size: 2.0rem; + background-color: #fff; + border: 8px solid #888; + line-height: 160%; + -webkit-border-radius: 30px; + -moz-border-radius: 30px; + border-radius: 30px; + -webkit-box-shadow: 2px 2px 4px #888; + -moz-box-shadow: 2px 2px 4px #888; + box-shadow: 2px 2px 4px #888; +} + +.speech:before +{ + content: ' '; + position: absolute; + width: 0; + height: 0; + left: 30px; + top: 70px; + border: 25px solid; + border-color: #888 transparent transparent #888; +} + +.speech:after +{ + content: ' '; + position: absolute; + width: 0; + height: 0; + left: 38px; + top: 70px; + border: 15px solid; + border-color: #fff transparent transparent #fff; +} +} diff --git a/site/_site/public/css/hyde.css b/site/_site/public/css/hyde.css new file mode 100644 index 00000000..265de5b8 --- /dev/null +++ b/site/_site/public/css/hyde.css @@ -0,0 +1,250 @@ +/* + * __ __ + * /\ \ /\ \ + * \ \ \___ __ __ \_\ \ __ + * \ \ _ `\/\ \/\ \ /'_` \ /'__`\ + * \ \ \ \ \ \ \_\ \/\ \_\ \/\ __/ + * \ \_\ \_\/`____ \ \___,_\ \____\ + * \/_/\/_/`/___/> \/__,_ /\/____/ + * /\___/ + * \/__/ + * + * Designed, built, and released under MIT license by @mdo. Learn more at + * https://github.com/poole/hyde. + */ + + +/* + * Contents + * + * Global resets + * Sidebar + * Container + * Reverse layout + * Themes + */ + + +/* + * Global resets + * + * Update the foundational and global aspects of the page. + */ + +html { + font-family: "PT Sans", Helvetica, Arial, sans-serif; +} +@media (min-width: 48em) { + html { + font-size: 16px; + } +} +@media (min-width: 58em) { + html { + font-size: 20px; + } +} + + +/* + * Sidebar + * + * Flexible banner for housing site name, intro, and "footer" content. Starts + * out above content in mobile and later moves to the side with wider viewports. + */ + +.sidebar { + text-align: center; + padding: 2rem 1rem; + color: rgba(255,255,255,.5); + background-color: #202020; +} +@media (min-width: 48em) { + .sidebar { + position: fixed; + top: 0; + left: 0; + bottom: 0; + width: 18rem; + text-align: left; + } +} + +/* Sidebar links */ +.sidebar a { + color: #fff; +} + +/* About section */ +.sidebar-about h1 { + color: #fff; + margin-top: 0; + font-family: "Abril Fatface", serif; + font-size: auto; +} + +/* Sidebar nav */ +.sidebar-nav { + margin-bottom: 1rem; +} +.sidebar-nav-item { + display: block; + line-height: 1.75; +} +a.sidebar-nav-item:hover, +a.sidebar-nav-item:focus { + text-decoration: underline; +} +.sidebar-nav-item.active { + font-weight: bold; +} + +/* Sticky sidebar + * + * Add the `sidebar-sticky` class to the sidebar's container to affix it the + * contents to the bottom of the sidebar in tablets and up. + */ + +@media (min-width: 48em) { + .sidebar-sticky { + position: absolute; + right: 1rem; + bottom: 1rem; + left: 1rem; + } +} + + +/* Container + * + * Align the contents of the site above the proper threshold with some margin-fu + * with a 25%-wide `.sidebar`. + */ + +.content { + padding-top: 4rem; + padding-bottom: 4rem; +} + +@media (min-width: 48em) { + .content { + max-width: 38rem; + margin-left: 20rem; + margin-right: 2rem; + } +} + +@media (min-width: 64em) { + .content { + margin-left: 22rem; + margin-right: 4rem; + } +} + + +/* + * Reverse layout + * + * Flip the orientation of the page by placing the `.sidebar` on the right. + */ + +@media (min-width: 48em) { + .layout-reverse .sidebar { + left: auto; + right: 0; + } + .layout-reverse .content { + margin-left: 2rem; + margin-right: 20rem; + } +} + +@media (min-width: 64em) { + .layout-reverse .content { + margin-left: 4rem; + margin-right: 22rem; + } +} + + + +/* + * Themes + * + * As of v1.1, Hyde includes optional themes to color the sidebar and links + * within blog posts. To use, add the class of your choosing to the `body`. + */ + +/* Base16 (http://chriskempson.github.io/base16/#default) */ + +/* Red */ +.theme-base-08 .sidebar { + background-color: #ac4142; +} +.theme-base-08 .content a, +.theme-base-08 .related-posts li a:hover { + color: #ac4142; +} + +/* Orange */ +.theme-base-09 .sidebar { + background-color: #d28445; +} +.theme-base-09 .content a, +.theme-base-09 .related-posts li a:hover { + color: #d28445; +} + +/* Yellow */ +.theme-base-0a .sidebar { + background-color: #f4bf75; +} +.theme-base-0a .content a, +.theme-base-0a .related-posts li a:hover { + color: #f4bf75; +} + +/* Green */ +.theme-base-0b .sidebar { + background-color: #90a959; +} +.theme-base-0b .content a, +.theme-base-0b .related-posts li a:hover { + color: #90a959; +} + +/* Cyan */ +.theme-base-0c .sidebar { + background-color: #75b5aa; +} +.theme-base-0c .content a, +.theme-base-0c .related-posts li a:hover { + color: #75b5aa; +} + +/* Blue */ +.theme-base-0d .sidebar { + background-color: #6a9fb5; +} +.theme-base-0d .content a, +.theme-base-0d .related-posts li a:hover { + color: #6a9fb5; +} + +/* Magenta */ +.theme-base-0e .sidebar { + background-color: #aa759f; +} +.theme-base-0e .content a, +.theme-base-0e .related-posts li a:hover { + color: #aa759f; +} + +/* Brown */ +.theme-base-0f .sidebar { + background-color: #8f5536; +} +.theme-base-0f .content a, +.theme-base-0f .related-posts li a:hover { + color: #8f5536; +} diff --git a/site/_site/public/css/poole.css b/site/_site/public/css/poole.css new file mode 100644 index 00000000..8ec27e7a --- /dev/null +++ b/site/_site/public/css/poole.css @@ -0,0 +1,430 @@ +/* + * ___ + * /\_ \ + * _____ ___ ___\//\ \ __ + * /\ '__`\ / __`\ / __`\\ \ \ /'__`\ + * \ \ \_\ \/\ \_\ \/\ \_\ \\_\ \_/\ __/ + * \ \ ,__/\ \____/\ \____//\____\ \____\ + * \ \ \/ \/___/ \/___/ \/____/\/____/ + * \ \_\ + * \/_/ + * + * Designed, built, and released under MIT license by @mdo. Learn more at + * https://github.com/poole/poole. + */ + + +/* + * Contents + * + * Body resets + * Custom type + * Messages + * Container + * Masthead + * Posts and pages + * Pagination + * Reverse layout + * Themes + */ + + +/* + * Body resets + * + * Update the foundational and global aspects of the page. + */ + +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html, +body { + margin: 0; + padding: 0; +} + +html { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 16px; + line-height: 1.5; +} +@media (min-width: 38em) { + html { + font-size: 20px; + } +} + +body { + color: #515151; + background-color: #fff; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +/* No `:visited` state is required by default (browsers will use `a`) */ +a { + color: #268bd2; + text-decoration: none; +} +a strong { + color: inherit; +} +/* `:focus` is linked to `:hover` for basic accessibility */ +a:hover, +a:focus { + text-decoration: underline; +} + +/* Headings */ +h1, h2, h3, h4, h5, h6 { + margin-bottom: .5rem; + font-weight: bold; + line-height: 1.25; + color: #313131; + text-rendering: optimizeLegibility; +} +h1 { + font-size: 2rem; +} +h2 { + margin-top: 1rem; + font-size: 1.5rem; +} +h3 { + margin-top: 1.5rem; + font-size: 1.25rem; +} +h4, h5, h6 { + margin-top: 1rem; + font-size: 1rem; +} + +/* Body text */ +p { + margin-top: 0; + margin-bottom: 1rem; +} + +strong { + color: #303030; +} + + +/* Lists */ +ul, ol, dl { + margin-top: 0; + margin-bottom: 1rem; +} + +dt { + font-weight: bold; +} +dd { + margin-bottom: .5rem; +} + +/* Misc */ +hr { + position: relative; + margin: 1.5rem 0; + border: 0; + border-top: 1px solid #eee; + border-bottom: 1px solid #fff; +} + +abbr { + font-size: 85%; + font-weight: bold; + color: #555; + text-transform: uppercase; +} +abbr[title] { + cursor: help; + border-bottom: 1px dotted #e5e5e5; +} + +/* Code */ +code, +pre { + font-family: Menlo, Monaco, "Courier New", monospace; +} +code { + padding: .25em .5em; + font-size: 85%; + color: #bf616a; + background-color: #f9f9f9; + border-radius: 3px; +} +pre { + display: block; + margin-top: 0; + margin-bottom: 1rem; + padding: 1rem; + font-size: .8rem; + line-height: 1.4; + white-space: pre; + white-space: pre-wrap; + word-break: break-all; + word-wrap: break-word; + background-color: #f9f9f9; +} +pre code { + padding: 0; + font-size: 100%; + color: inherit; + background-color: transparent; +} + +/* Pygments via Jekyll */ +.highlight { + margin-bottom: 1rem; + border-radius: 4px; +} +.highlight pre { + margin-bottom: 0; +} + +/* Gist via GitHub Pages */ +.gist .gist-file { + font-family: Menlo, Monaco, "Courier New", monospace !important; +} +.gist .markdown-body { + padding: 15px; +} +.gist pre { + padding: 0; + background-color: transparent; +} +.gist .gist-file .gist-data { + font-size: .8rem !important; + line-height: 1.4; +} +.gist code { + padding: 0; + color: inherit; + background-color: transparent; + border-radius: 0; +} + +/* Quotes */ +blockquote { + padding: .5rem 1rem; + margin: .8rem 0; + color: #7a7a7a; + border-left: .25rem solid #e5e5e5; +} +blockquote p:last-child { + margin-bottom: 0; +} +@media (min-width: 30em) { + blockquote { + padding-right: 5rem; + padding-left: 1.25rem; + } +} + +img { + display: block; + max-width: 100%; + margin: 0 0 1rem; + border-radius: 5px; +} + +/* Tables */ +table { + margin-bottom: 1rem; + width: 100%; + border: 1px solid #e5e5e5; + border-collapse: collapse; +} +td, +th { + padding: .25rem .5rem; + border: 1px solid #e5e5e5; +} +tbody tr:nth-child(odd) td, +tbody tr:nth-child(odd) th { + background-color: #f9f9f9; +} + + +/* + * Custom type + * + * Extend paragraphs with `.lead` for larger introductory text. + */ + +.lead { + font-size: 1.25rem; + font-weight: 300; +} + + +/* + * Messages + * + * Show alert messages to users. You may add it to single elements like a `

`, + * or to a parent if there are multiple elements to show. + */ + +.message { + margin-bottom: 1rem; + padding: 1rem; + color: #717171; + background-color: #f9f9f9; +} + + +/* + * Container + * + * Center the page content. + */ + +.container { + max-width: 38rem; + padding-left: 1rem; + padding-right: 1rem; + margin-left: auto; + margin-right: auto; +} + + +/* + * Masthead + * + * Super small header above the content for site name and short description. + */ + +.masthead { + padding-top: 1rem; + padding-bottom: 1rem; + margin-bottom: 3rem; +} +.masthead-title { + margin-top: 0; + margin-bottom: 0; + color: #505050; +} +.masthead-title a { + color: #505050; +} +.masthead-title small { + font-size: 75%; + font-weight: 400; + color: #c0c0c0; + letter-spacing: 0; +} + + +/* + * Posts and pages + * + * Each post is wrapped in `.post` and is used on default and post layouts. Each + * page is wrapped in `.page` and is only used on the page layout. + */ + +.page, +.post { + margin-bottom: 4em; +} + +/* Blog post or page title */ +.page-title, +.post-title, +.post-title a { + color: #303030; +} +.page-title, +.post-title { + margin-top: 0; +} + +/* Meta data line below post title */ +.post-date { + display: block; + margin-top: -.5rem; + margin-bottom: 1rem; + color: #9a9a9a; +} + +/* Related posts */ +.related { + padding-top: 2rem; + padding-bottom: 2rem; + border-top: 1px solid #eee; +} +.related-posts { + padding-left: 0; + list-style: none; +} +.related-posts h3 { + margin-top: 0; +} +.related-posts li small { + font-size: 75%; + color: #999; +} +.related-posts li a:hover { + color: #268bd2; + text-decoration: none; +} +.related-posts li a:hover small { + color: inherit; +} + + +/* + * Pagination + * + * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when + * there are no more previous or next posts to show. + */ + +.pagination { + overflow: hidden; /* clearfix */ + margin-left: -1rem; + margin-right: -1rem; + font-family: "PT Sans", Helvetica, Arial, sans-serif; + color: #ccc; + text-align: center; +} + +/* Pagination items can be `span`s or `a`s */ +.pagination-item { + display: block; + padding: 1rem; + border: 1px solid #eee; +} +.pagination-item:first-child { + margin-bottom: -1px; +} + +/* Only provide a hover state for linked pagination items */ +a.pagination-item:hover { + background-color: #f5f5f5; +} + +@media (min-width: 30em) { + .pagination { + margin: 3rem 0; + } + .pagination-item { + float: left; + width: 50%; + } + .pagination-item:first-child { + margin-bottom: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + } + .pagination-item:last-child { + margin-left: -1px; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + } +} diff --git a/site/_site/public/css/syntax.css b/site/_site/public/css/syntax.css new file mode 100644 index 00000000..15ad7977 --- /dev/null +++ b/site/_site/public/css/syntax.css @@ -0,0 +1,65 @@ +.highlight .hll { background-color: #ffc; } +.highlight .c { color: #999; } /* Comment */ +.highlight .err { color: #a00; background-color: #faa } /* Error */ +.highlight .k { color: #069; } /* Keyword */ +.highlight .o { color: #555 } /* Operator */ +.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #099 } /* Comment.Preproc */ +.highlight .c1 { color: #999; } /* Comment.Single */ +.highlight .cs { color: #999; } /* Comment.Special */ +.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #f00 } /* Generic.Error */ +.highlight .gh { color: #030; } /* Generic.Heading */ +.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */ +.highlight .go { color: #aaa } /* Generic.Output */ +.highlight .gp { color: #009; } /* Generic.Prompt */ +.highlight .gs { } /* Generic.Strong */ +.highlight .gu { color: #030; } /* Generic.Subheading */ +.highlight .gt { color: #9c6 } /* Generic.Traceback */ +.highlight .kc { color: #069; } /* Keyword.Constant */ +.highlight .kd { color: #069; } /* Keyword.Declaration */ +.highlight .kn { color: #069; } /* Keyword.Namespace */ +.highlight .kp { color: #069 } /* Keyword.Pseudo */ +.highlight .kr { color: #069; } /* Keyword.Reserved */ +.highlight .kt { color: #078; } /* Keyword.Type */ +.highlight .m { color: #f60 } /* Literal.Number */ +.highlight .s { color: #d44950 } /* Literal.String */ +.highlight .na { color: #4f9fcf } /* Name.Attribute */ +.highlight .nb { color: #366 } /* Name.Builtin */ +.highlight .nc { color: #0a8; } /* Name.Class */ +.highlight .no { color: #360 } /* Name.Constant */ +.highlight .nd { color: #99f } /* Name.Decorator */ +.highlight .ni { color: #999; } /* Name.Entity */ +.highlight .ne { color: #c00; } /* Name.Exception */ +.highlight .nf { color: #c0f } /* Name.Function */ +.highlight .nl { color: #99f } /* Name.Label */ +.highlight .nn { color: #0cf; } /* Name.Namespace */ +.highlight .nt { color: #2f6f9f; } /* Name.Tag */ +.highlight .nv { color: #033 } /* Name.Variable */ +.highlight .ow { color: #000; } /* Operator.Word */ +.highlight .w { color: #bbb } /* Text.Whitespace */ +.highlight .mf { color: #f60 } /* Literal.Number.Float */ +.highlight .mh { color: #f60 } /* Literal.Number.Hex */ +.highlight .mi { color: #f60 } /* Literal.Number.Integer */ +.highlight .mo { color: #f60 } /* Literal.Number.Oct */ +.highlight .sb { color: #c30 } /* Literal.String.Backtick */ +.highlight .sc { color: #c30 } /* Literal.String.Char */ +.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #c30 } /* Literal.String.Double */ +.highlight .se { color: #c30; } /* Literal.String.Escape */ +.highlight .sh { color: #c30 } /* Literal.String.Heredoc */ +.highlight .si { color: #a00 } /* Literal.String.Interpol */ +.highlight .sx { color: #c30 } /* Literal.String.Other */ +.highlight .sr { color: #3aa } /* Literal.String.Regex */ +.highlight .s1 { color: #c30 } /* Literal.String.Single */ +.highlight .ss { color: #fc3 } /* Literal.String.Symbol */ +.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #033 } /* Name.Variable.Class */ +.highlight .vg { color: #033 } /* Name.Variable.Global */ +.highlight .vi { color: #033 } /* Name.Variable.Instance */ +.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */ + +.css .o, +.css .o + .nt, +.css .nt + .nt { color: #999; } diff --git a/site/_site/public/favicon.ico b/site/_site/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a758c7af44e6df74be04e34bffbb4c3c500c6dea GIT binary patch literal 315 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?i-EKU7`vU!wgU;46*#5? zX$3HD|21bWkg>|s#WBR=cydTkNXi1$gheY~E*9hA;*KzAO*=c|;hSe|nso*D?=6`U z!p7FNaHmb_ppe3ua906zo=5S5xr)o^8syO_PLHa(R4XtW3Dl zB$&X+J@M5Ap{D|07!UTCCD=)9O-PB_ka3Xdj7r7#dwZ{HhdbTaoOb5Gs)WP4N?js9 z{QFzICa?12AIp}He}9*+;gYkjYSBDlach(G)`lbohBs@?EO$?lWCyxhsVXF*Bsf2< zq&%@Gm4Tt+R + + + + + + + + + + + + + + + Sample rich text data · Polyglot + + + + + + + + + + + + + + + + + + + + + + +

+ + +
+
+

Sample rich text data

+

hello, and welcome to a sample page
+enjoy your stay
+This sample text came from a .yml file
+html tags are preserved
+and links are relativized

+ +
+ +
+ + + + diff --git a/site/_site/seo/index.html b/site/_site/seo/index.html new file mode 100644 index 00000000..e009d256 --- /dev/null +++ b/site/_site/seo/index.html @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + SEO Recipes · Polyglot + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

SEO Recipes

+

Recipes for Search Engine Optimization using Polyglot

+ +

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

+ +

HTML Language Declaration

+ +

Per W3C Internationalization Best Practices +you can set the default language of every page with a meta tag. Just add the following to your header:

+ +
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
+ +

Multi-language SEO using hreflang alternate tags

+ +

You can easily add hreflang alternate tags +to your site, achieving SEO with google multi-language searches. Add the following to your header:

+ +
<link rel="alternate"
+      hreflang="{{site.default_lang}}"
+      href="http://yoursite.com{{page.permalink}}" />
+{% for lang in site.languages %}
+{% if lang == site.default_lang %}
+  {% continue %}
+{% endif %}
+<link rel="alternate"
+    hreflang="{{lang}}"
+    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
+{% endfor %}
+ +

All of the above

+ +

You can get all of the above with a single tag added to your header.html:

+ +
{% I18n_Headers https://untra.github.com/polyglot %}
+ +

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. +In 1.2.4, you can leave it empty, just calling

+ +
{% I18n_Headers %}
+ +

and it will default to your site.url

+ +

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

+ +
+ +
+ + + + From be6b64970e41edc605006cecd781ce428044c9fb Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Tue, 18 Jul 2017 00:35:12 -0600 Subject: [PATCH 2/8] gitignore --- site/_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/_config.yml b/site/_config.yml index 2fbc017d..4efa5356 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -28,7 +28,7 @@ hello: fr: Bonjour! de: Hallo! -plugins: [jekyll-polyglot, jekyll-paginate] +gems: [jekyll-polyglot, jekyll-paginate] # Permalinks permalink: pretty @@ -47,7 +47,7 @@ url: https://polyglot.untra.io paginate: 5 # Custom vars -version: 1.3.0 +version: 1.2.4 github: repo: https://github.com/untra/polyglot From 2f5067df4e45f4f934686329d80d32436bc07a9b Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Tue, 18 Jul 2017 00:35:56 -0600 Subject: [PATCH 3/8] removed site/_site files --- site/_site/2012/02/06/whats-jekyll/index.html | 184 -------- .../2013/12/28/introducing-hyde/index.html | 211 --------- .../2015/09/19/presenting-polyglot/index.html | 225 --------- .../11/14/polyglot-version-1-1/index.html | 179 -------- .../2016/04/20/Polyglot-1.2.0/index.html | 201 -------- .../2016/12/16/Polyglot-1.2.4/index.html | 202 -------- site/_site/CNAME | 1 - site/_site/a-really-long/permalink/index.html | 141 ------ site/_site/about/index.html | 150 ------ .../de/2012/02/06/whats-jekyll/index.html | 184 -------- .../de/2013/12/28/introducing-hyde/index.html | 211 --------- .../2015/09/19/presenting-polyglot/index.html | 225 --------- .../11/14/polyglot-version-1-1/index.html | 179 -------- .../de/2016/04/20/Polyglot-1.2.0/index.html | 201 -------- .../de/2016/12/16/Polyglot-1.2.4/index.html | 202 -------- site/_site/de/CNAME | 1 - .../de/a-really-long/permalink/index.html | 141 ------ site/_site/de/about/index.html | 150 ------ site/_site/de/index.html | 351 -------------- site/_site/de/page2/index.html | 171 ------- site/_site/de/sample/index.html | 145 ------ site/_site/de/seo/index.html | 182 -------- .../es/2012/02/06/whats-jekyll/index.html | 184 -------- .../es/2013/12/28/introducing-hyde/index.html | 211 --------- .../2015/09/19/presenting-polyglot/index.html | 225 --------- .../11/14/polyglot-version-1-1/index.html | 179 -------- .../es/2016/04/20/Polyglot-1.2.0/index.html | 201 -------- .../es/2016/12/16/Polyglot-1.2.4/index.html | 202 -------- site/_site/es/CNAME | 1 - .../es/a-really-long/permalink/index.html | 141 ------ site/_site/es/about/index.html | 150 ------ site/_site/es/index.html | 351 -------------- site/_site/es/page2/index.html | 171 ------- site/_site/es/sample/index.html | 145 ------ site/_site/es/seo/index.html | 182 -------- .../fr/2012/02/06/whats-jekyll/index.html | 184 -------- .../fr/2013/12/28/introducing-hyde/index.html | 211 --------- .../2015/09/19/presenting-polyglot/index.html | 225 --------- .../11/14/polyglot-version-1-1/index.html | 179 -------- .../fr/2016/04/20/Polyglot-1.2.0/index.html | 201 -------- .../fr/2016/12/16/Polyglot-1.2.4/index.html | 202 -------- site/_site/fr/CNAME | 1 - .../fr/a-really-long/permalink/index.html | 141 ------ site/_site/fr/about/index.html | 150 ------ site/_site/fr/index.html | 351 -------------- site/_site/fr/page2/index.html | 171 ------- site/_site/fr/sample/index.html | 145 ------ site/_site/fr/seo/index.html | 182 -------- site/_site/index.html | 351 -------------- site/_site/page2/index.html | 171 ------- .../apple-touch-icon-144-precomposed.png | Bin 588 -> 0 bytes site/_site/public/css/custom.css | 46 -- site/_site/public/css/hyde.css | 250 ---------- site/_site/public/css/poole.css | 430 ------------------ site/_site/public/css/syntax.css | 65 --- site/_site/public/favicon.ico | Bin 315 -> 0 bytes site/_site/sample/index.html | 145 ------ site/_site/seo/index.html | 182 -------- 58 files changed, 10163 deletions(-) delete mode 100644 site/_site/2012/02/06/whats-jekyll/index.html delete mode 100644 site/_site/2013/12/28/introducing-hyde/index.html delete mode 100644 site/_site/2015/09/19/presenting-polyglot/index.html delete mode 100644 site/_site/2015/11/14/polyglot-version-1-1/index.html delete mode 100644 site/_site/2016/04/20/Polyglot-1.2.0/index.html delete mode 100644 site/_site/2016/12/16/Polyglot-1.2.4/index.html delete mode 100644 site/_site/CNAME delete mode 100644 site/_site/a-really-long/permalink/index.html delete mode 100644 site/_site/about/index.html delete mode 100644 site/_site/de/2012/02/06/whats-jekyll/index.html delete mode 100644 site/_site/de/2013/12/28/introducing-hyde/index.html delete mode 100644 site/_site/de/2015/09/19/presenting-polyglot/index.html delete mode 100644 site/_site/de/2015/11/14/polyglot-version-1-1/index.html delete mode 100644 site/_site/de/2016/04/20/Polyglot-1.2.0/index.html delete mode 100644 site/_site/de/2016/12/16/Polyglot-1.2.4/index.html delete mode 100644 site/_site/de/CNAME delete mode 100644 site/_site/de/a-really-long/permalink/index.html delete mode 100644 site/_site/de/about/index.html delete mode 100644 site/_site/de/index.html delete mode 100644 site/_site/de/page2/index.html delete mode 100644 site/_site/de/sample/index.html delete mode 100644 site/_site/de/seo/index.html delete mode 100644 site/_site/es/2012/02/06/whats-jekyll/index.html delete mode 100644 site/_site/es/2013/12/28/introducing-hyde/index.html delete mode 100644 site/_site/es/2015/09/19/presenting-polyglot/index.html delete mode 100644 site/_site/es/2015/11/14/polyglot-version-1-1/index.html delete mode 100644 site/_site/es/2016/04/20/Polyglot-1.2.0/index.html delete mode 100644 site/_site/es/2016/12/16/Polyglot-1.2.4/index.html delete mode 100644 site/_site/es/CNAME delete mode 100644 site/_site/es/a-really-long/permalink/index.html delete mode 100644 site/_site/es/about/index.html delete mode 100644 site/_site/es/index.html delete mode 100644 site/_site/es/page2/index.html delete mode 100644 site/_site/es/sample/index.html delete mode 100644 site/_site/es/seo/index.html delete mode 100644 site/_site/fr/2012/02/06/whats-jekyll/index.html delete mode 100644 site/_site/fr/2013/12/28/introducing-hyde/index.html delete mode 100644 site/_site/fr/2015/09/19/presenting-polyglot/index.html delete mode 100644 site/_site/fr/2015/11/14/polyglot-version-1-1/index.html delete mode 100644 site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html delete mode 100644 site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html delete mode 100644 site/_site/fr/CNAME delete mode 100644 site/_site/fr/a-really-long/permalink/index.html delete mode 100644 site/_site/fr/about/index.html delete mode 100644 site/_site/fr/index.html delete mode 100644 site/_site/fr/page2/index.html delete mode 100644 site/_site/fr/sample/index.html delete mode 100644 site/_site/fr/seo/index.html delete mode 100644 site/_site/index.html delete mode 100644 site/_site/page2/index.html delete mode 100644 site/_site/public/apple-touch-icon-144-precomposed.png delete mode 100644 site/_site/public/css/custom.css delete mode 100644 site/_site/public/css/hyde.css delete mode 100644 site/_site/public/css/poole.css delete mode 100644 site/_site/public/css/syntax.css delete mode 100644 site/_site/public/favicon.ico delete mode 100644 site/_site/sample/index.html delete mode 100644 site/_site/seo/index.html diff --git a/site/_site/2012/02/06/whats-jekyll/index.html b/site/_site/2012/02/06/whats-jekyll/index.html deleted file mode 100644 index 44a01f37..00000000 --- a/site/_site/2012/02/06/whats-jekyll/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - What's Jekyll? · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

What's Jekyll?

- -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- - - -
- - - - diff --git a/site/_site/2013/12/28/introducing-hyde/index.html b/site/_site/2013/12/28/introducing-hyde/index.html deleted file mode 100644 index bb217d16..00000000 --- a/site/_site/2013/12/28/introducing-hyde/index.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - Introducing Hyde · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Introducing Hyde

- -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- - - -
- - - - diff --git a/site/_site/2015/09/19/presenting-polyglot/index.html b/site/_site/2015/09/19/presenting-polyglot/index.html deleted file mode 100644 index 99d36cae..00000000 --- a/site/_site/2015/09/19/presenting-polyglot/index.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - Presenting Polyglot · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Presenting Polyglot

- -

After months of work and refinement, I am proud to present Polyglot: a i18n plugin for Jekyll sites that need to cater their content to multiple languages and audiences.

- -

Features

- -

While there are other multi-language plugins for Jekyll, Polyglot is special. Polyglot takes care of the typical cruftwork normally left to developers to manage (such as wrangling urls and ensuring consistent sitemaps) while providing efficient and simple tools Jekyll developers can utilize into SEO and fast-tracked content aggregation.

- - - -

In the past, a multi-language static site or blog had to keep delicate track of what language each relative link the site was serving. It was all too easy for a developer to stumble, and foreign language visitors would quickly get lost in untranslated content.

- -

Polyglot automatically relativizes the urls for each language you want your site to build for. This allows website visitors to stay isolated on one language while browsing your website.

- -

Fallback Support

- -

When you don’t have translated or multilingual content, Jekyll will still build with the content you do have. When you do have translated or multilingual content, Jekyll will build using that content. Simple as that.

- -

Sitemaps stay consistent across all languages, and translated stays in the site it was built for.

- -

Rich Content Translation

- -

Rich language content is normally hard to implement. Short strings or language dependent banners are typically hard for a Jekyll website to keep consistent.

- -

Except when it’s this easy. In your config.yml, just store your strings as:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

and in your liquid, just call:

- -
{{ site.hello[site.active_lang]}}
- -

produces:

-

-Hello! -

- -

Fast, Asynchronous, Zero-Overhead Builds

- -

Polyglot will build your multi-language website just as fast as it will build your default language website. Polyglot runs with a minimal overhead by simultaneously building all languages of your website as separate process. This means your website build time won’t be a function of how many languages you need to support.

- -

Download

- -

Polyglot is available as a gem, or as a Jekyll plugin. It can be installed with:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- - - -
- - - - diff --git a/site/_site/2015/11/14/polyglot-version-1-1/index.html b/site/_site/2015/11/14/polyglot-version-1-1/index.html deleted file mode 100644 index df7ad241..00000000 --- a/site/_site/2015/11/14/polyglot-version-1-1/index.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot Version 1.1.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot Version 1.1.0

- -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- - - -
- - - - diff --git a/site/_site/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/2016/04/20/Polyglot-1.2.0/index.html deleted file mode 100644 index 9879b365..00000000 --- a/site/_site/2016/04/20/Polyglot-1.2.0/index.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.0

- -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

and list jekyll-polyglot among your listed gems in your _config.yml

- -

It involves mostly groundwork to prepare for new features and better multilingual content management. It does have a new feature:

- -

{% I18n_Headers %}

- -

Put this tag with the url of your website in your head.html includes file to get the maximum SEO provided by having a multilingual website. It’s the same as the following liquid code:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

In your header, but faster and cleaner! For more information, see the SEO page

- -
- - - -
- - - - diff --git a/site/_site/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/2016/12/16/Polyglot-1.2.4/index.html deleted file mode 100644 index 7b6241fb..00000000 --- a/site/_site/2016/12/16/Polyglot-1.2.4/index.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.4 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.4

- -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- - - -
- - - - diff --git a/site/_site/CNAME b/site/_site/CNAME deleted file mode 100644 index 6495589c..00000000 --- a/site/_site/CNAME +++ /dev/null @@ -1 +0,0 @@ -polyglot.untra.io diff --git a/site/_site/a-really-long/permalink/index.html b/site/_site/a-really-long/permalink/index.html deleted file mode 100644 index 1e18aa36..00000000 --- a/site/_site/a-really-long/permalink/index.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - A really long permalink · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

A really long permalink

-

This permalink is really long and complex

- -
- -
- - - - diff --git a/site/_site/about/index.html b/site/_site/about/index.html deleted file mode 100644 index 13943254..00000000 --- a/site/_site/about/index.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - About · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

About

-

- Polyglot is an open source internationalization plugin for Jekyll blogs. Polyglot is easy to setup and use with any project, and it scales to the languages you want to support. With fallback support for missing content, automatic url relativization, and powerful SEO recipes, Polyglot allows any multi-language blog to focus on content without the cruftwork. -

- -

Polyglot Github Page

- -

Install

- -
gem install jekyll-polyglot
- - -
- -
- - - - diff --git a/site/_site/de/2012/02/06/whats-jekyll/index.html b/site/_site/de/2012/02/06/whats-jekyll/index.html deleted file mode 100644 index 29ad4d25..00000000 --- a/site/_site/de/2012/02/06/whats-jekyll/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - What's Jekyll? · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

What's Jekyll?

- -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- - - -
- - - - diff --git a/site/_site/de/2013/12/28/introducing-hyde/index.html b/site/_site/de/2013/12/28/introducing-hyde/index.html deleted file mode 100644 index ace00ec9..00000000 --- a/site/_site/de/2013/12/28/introducing-hyde/index.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - Introducing Hyde · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Introducing Hyde

- -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- - - -
- - - - diff --git a/site/_site/de/2015/09/19/presenting-polyglot/index.html b/site/_site/de/2015/09/19/presenting-polyglot/index.html deleted file mode 100644 index 9dbfa316..00000000 --- a/site/_site/de/2015/09/19/presenting-polyglot/index.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - Ankündigung Polyglot · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Ankündigung Polyglot

- -

Nach monatelanger Arbeit und Raffinesse, ich bin stolz darauf, Polyglot präsentieren: eine i18n-Plugin für Jekyll Websites, die Notwendigkeit, ihre Inhalte in mehrere Sprachen und Zielgruppen gerecht zu werden.

- -

Eigenschaften

- -

Zwar gibt es andere Multi-Language-Plugins für Jekyll ist Polyglot Besonderes. Polyglot kümmert sich um den typischen Unsinn in der Regel an die Entwickler verlassen zu verwalten (wie Gerangel URLs und konsistente Sitemaps) und bietet effiziente und einfache Werkzeuge Jekyll-Entwickler können in SEO und Eilverfahren Content-Aggregation zu nutzen.

- -

Relativiert URLs

- -

In der Vergangenheit hatte eine mehrsprachige statische Website oder ein Blog, um empfindliche verfolgen, was die Sprache jedes relativen Link wurde die Website dient zu halten. Es war viel zu einfach für einen Entwickler zu stolpern, und Fremdsprachen Besucher würde schnell in nicht übersetzten Inhalte verloren gehen.

- -

Polyglot relativiert automatisch die URLs für jede Sprache, die Sie Ihre Website, um für die bauen wollen. Dies ermöglicht es Website-Besucher zu isoliert auf eine Sprache zu bleiben, während Durchsuchen Ihrer Website.

- -

Fallback-Unterstützung

- -

Wenn Sie nicht haben übersetzt oder mehrsprachige Inhalte, Jekyll wird immer noch mit dem Inhalt zu bauen Sie zu tun haben. Wenn Sie müssen haben übersetzt oder mehrsprachigen Inhalten wird Jekyll bauen mit diesem Inhalt. So einfach ist das.

- -

Sitemaps bleiben konsistent über alle Sprachen und übersetzt Aufenthalte in der Website es gebaut wurde.

- -

Reichen Inhalt Übersetzung

- -

Reiche Sprache Inhalt ist in der Regel schwer zu implementieren. Kurze Strings oder sprachabhängige Banner sind in der Regel schwer für einen Jekyll Website konsistent zu halten.

- -

Außer, wenn es so einfach. In Ihrem config.yml, nur die Saiten zu speichern, wie:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

und in ihre liquid, einfach anrufen:

- -
{{ site.hello[site.active_lang]}}
- -

produziert:

-

-Hallo! -

- -

Schnell, Asynchron, baut Nullarbeit

- -

Polyglot wird Ihre mehrsprachige Website genauso schnell zu bauen, wie es Ihre Standardsprache Website zu bauen. Polyglot läuft mit einem minimalen Overhead von gleichzeitig Gebäude alle Sprachen Ihrer Website als separaten Prozess. Das bedeutet, Ihre Website Build-Zeit wird nicht davon ab, wie viele Sprachen, die unterstützt werden müssen.

- -

Download

- -

Polyglot ist als eines ruby gem oder als Jekyll Plugin. Es kann mit installiert werden:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- - - -
- - - - diff --git a/site/_site/de/2015/11/14/polyglot-version-1-1/index.html b/site/_site/de/2015/11/14/polyglot-version-1-1/index.html deleted file mode 100644 index d0fd73c4..00000000 --- a/site/_site/de/2015/11/14/polyglot-version-1-1/index.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot Version 1.1.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot Version 1.1.0

- -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- - - -
- - - - diff --git a/site/_site/de/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/de/2016/04/20/Polyglot-1.2.0/index.html deleted file mode 100644 index e4ece130..00000000 --- a/site/_site/de/2016/04/20/Polyglot-1.2.0/index.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.0

- -

Eine neue Version von Polyglot wurde veröffentlicht! Versuche es!

- -
gem install jekyll-polyglot
- -

und eine Liste jekyll-polyglot unter Ihren aufgelisteten Edelsteine ​​in Ihrer _config.yml

- -

Es geht vor allem Grundstein für neue Funktionen und eine bessere Verwaltung mehrsprachiger Inhalte vorzubereiten. Er hat eine neue Funktion:

- -

{% I18n_Headers %}

- -

Setzen Sie diesen Tag mit der url Ihrer Website in Ihrem head.html enthält Datei die maximale SEO zu erhalten, die von mit einer mehrsprachigen Website. Es ist die gleiche wie die folgende Flüssigkeit Code:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

In der Kopfzeile, aber schneller und sauberer! Weitere Informationen finden Sie unter die SEO-Seite

- -
- - - -
- - - - diff --git a/site/_site/de/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/de/2016/12/16/Polyglot-1.2.4/index.html deleted file mode 100644 index dd757ba6..00000000 --- a/site/_site/de/2016/12/16/Polyglot-1.2.4/index.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.4 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.4

- -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- - - -
- - - - diff --git a/site/_site/de/CNAME b/site/_site/de/CNAME deleted file mode 100644 index 6495589c..00000000 --- a/site/_site/de/CNAME +++ /dev/null @@ -1 +0,0 @@ -polyglot.untra.io diff --git a/site/_site/de/a-really-long/permalink/index.html b/site/_site/de/a-really-long/permalink/index.html deleted file mode 100644 index f47a95f8..00000000 --- a/site/_site/de/a-really-long/permalink/index.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - A really long permalink · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

A really long permalink

-

Permalink ist wirklich lang und komplex

- -
- -
- - - - diff --git a/site/_site/de/about/index.html b/site/_site/de/about/index.html deleted file mode 100644 index 1068c15c..00000000 --- a/site/_site/de/about/index.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - About · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

About

-

- Polyglot ist ein Open Source Internationalisierung Plugin für Jekyll Blogs. Polyglot ist einfach zu installieren und zu verwenden bei jedem Projekt, und es zu den Sprachen, die Sie unterstützen möchten skaliert. Mit Fallback-Unterstützung für fehlende Inhalte, automatische url Relativierung und leistungsfähige SEO-Rezepte, ermöglicht Polyglot jeder mehrsprachigen Blog, um auf den Inhalt, ohne den Unsinn zu konzentrieren. -

- -

Polyglot Github Page

- -

Install

- -
gem install jekyll-polyglot
- - -
- -
- - - - diff --git a/site/_site/de/index.html b/site/_site/de/index.html deleted file mode 100644 index 2998aae5..00000000 --- a/site/_site/de/index.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - Polyglot 1.2.4 - -

- - - -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- -
-

- - Polyglot 1.2.0 - -

- - - -

Eine neue Version von Polyglot wurde veröffentlicht! Versuche es!

- -
gem install jekyll-polyglot
- -

und eine Liste jekyll-polyglot unter Ihren aufgelisteten Edelsteine ​​in Ihrer _config.yml

- -

Es geht vor allem Grundstein für neue Funktionen und eine bessere Verwaltung mehrsprachiger Inhalte vorzubereiten. Er hat eine neue Funktion:

- -

{% I18n_Headers %}

- -

Setzen Sie diesen Tag mit der url Ihrer Website in Ihrem head.html enthält Datei die maximale SEO zu erhalten, die von mit einer mehrsprachigen Website. Es ist die gleiche wie die folgende Flüssigkeit Code:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

In der Kopfzeile, aber schneller und sauberer! Weitere Informationen finden Sie unter die SEO-Seite

- -
- -
-

- - Polyglot Version 1.1.0 - -

- - - -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- -
-

- - Ankündigung Polyglot - -

- - - -

Nach monatelanger Arbeit und Raffinesse, ich bin stolz darauf, Polyglot präsentieren: eine i18n-Plugin für Jekyll Websites, die Notwendigkeit, ihre Inhalte in mehrere Sprachen und Zielgruppen gerecht zu werden.

- -

Eigenschaften

- -

Zwar gibt es andere Multi-Language-Plugins für Jekyll ist Polyglot Besonderes. Polyglot kümmert sich um den typischen Unsinn in der Regel an die Entwickler verlassen zu verwalten (wie Gerangel URLs und konsistente Sitemaps) und bietet effiziente und einfache Werkzeuge Jekyll-Entwickler können in SEO und Eilverfahren Content-Aggregation zu nutzen.

- -

Relativiert URLs

- -

In der Vergangenheit hatte eine mehrsprachige statische Website oder ein Blog, um empfindliche verfolgen, was die Sprache jedes relativen Link wurde die Website dient zu halten. Es war viel zu einfach für einen Entwickler zu stolpern, und Fremdsprachen Besucher würde schnell in nicht übersetzten Inhalte verloren gehen.

- -

Polyglot relativiert automatisch die URLs für jede Sprache, die Sie Ihre Website, um für die bauen wollen. Dies ermöglicht es Website-Besucher zu isoliert auf eine Sprache zu bleiben, während Durchsuchen Ihrer Website.

- -

Fallback-Unterstützung

- -

Wenn Sie nicht haben übersetzt oder mehrsprachige Inhalte, Jekyll wird immer noch mit dem Inhalt zu bauen Sie zu tun haben. Wenn Sie müssen haben übersetzt oder mehrsprachigen Inhalten wird Jekyll bauen mit diesem Inhalt. So einfach ist das.

- -

Sitemaps bleiben konsistent über alle Sprachen und übersetzt Aufenthalte in der Website es gebaut wurde.

- -

Reichen Inhalt Übersetzung

- -

Reiche Sprache Inhalt ist in der Regel schwer zu implementieren. Kurze Strings oder sprachabhängige Banner sind in der Regel schwer für einen Jekyll Website konsistent zu halten.

- -

Außer, wenn es so einfach. In Ihrem config.yml, nur die Saiten zu speichern, wie:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

und in ihre liquid, einfach anrufen:

- -
{{ site.hello[site.active_lang]}}
- -

produziert:

-

-Hallo! -

- -

Schnell, Asynchron, baut Nullarbeit

- -

Polyglot wird Ihre mehrsprachige Website genauso schnell zu bauen, wie es Ihre Standardsprache Website zu bauen. Polyglot läuft mit einem minimalen Overhead von gleichzeitig Gebäude alle Sprachen Ihrer Website als separaten Prozess. Das bedeutet, Ihre Website Build-Zeit wird nicht davon ab, wie viele Sprachen, die unterstützt werden müssen.

- -

Download

- -

Polyglot ist als eines ruby gem oder als Jekyll Plugin. Es kann mit installiert werden:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- -
-

- - Introducing Hyde - -

- - - -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- -
- - - -
- - - - diff --git a/site/_site/de/page2/index.html b/site/_site/de/page2/index.html deleted file mode 100644 index a93fc7be..00000000 --- a/site/_site/de/page2/index.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - What's Jekyll? - -

- - - -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- -
- - - -
- - - - diff --git a/site/_site/de/sample/index.html b/site/_site/de/sample/index.html deleted file mode 100644 index e8107132..00000000 --- a/site/_site/de/sample/index.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - Sample rich text data · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Sample rich text data

-

Hallo und willkommen zu einer Beispielseite
-genießen Sie Ihren Aufenthalt
-Dieser Beispieltext stammte aus einer .yml Datei
-HTML-Tags werden beibehalten
-und Links werden relativiert

- -
- -
- - - - diff --git a/site/_site/de/seo/index.html b/site/_site/de/seo/index.html deleted file mode 100644 index 81d0d30d..00000000 --- a/site/_site/de/seo/index.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - SEO Recipes · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

SEO Recipes

-

Recipes for Search Engine Optimization using Polyglot

- -

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

- -

HTML Language Declaration

- -

Per W3C Internationalization Best Practices -you can set the default language of every page with a meta tag. Just add the following to your header:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
- -

Multi-language SEO using hreflang alternate tags

- -

You can easily add hreflang alternate tags -to your site, achieving SEO with google multi-language searches. Add the following to your header:

- -
<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

All of the above

- -

You can get all of the above with a single tag added to your header.html:

- -
{% I18n_Headers https://untra.github.com/polyglot %}
- -

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. -In 1.2.4, you can leave it empty, just calling

- -
{% I18n_Headers %}
- -

and it will default to your site.url

- -

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

- -
- -
- - - - diff --git a/site/_site/es/2012/02/06/whats-jekyll/index.html b/site/_site/es/2012/02/06/whats-jekyll/index.html deleted file mode 100644 index 9127df06..00000000 --- a/site/_site/es/2012/02/06/whats-jekyll/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - What's Jekyll? · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

What's Jekyll?

- -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- - - -
- - - - diff --git a/site/_site/es/2013/12/28/introducing-hyde/index.html b/site/_site/es/2013/12/28/introducing-hyde/index.html deleted file mode 100644 index 3cc62ecf..00000000 --- a/site/_site/es/2013/12/28/introducing-hyde/index.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - Introducing Hyde · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Introducing Hyde

- -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- - - -
- - - - diff --git a/site/_site/es/2015/09/19/presenting-polyglot/index.html b/site/_site/es/2015/09/19/presenting-polyglot/index.html deleted file mode 100644 index cf4116aa..00000000 --- a/site/_site/es/2015/09/19/presenting-polyglot/index.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - Introduciendo Polyglot · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Introduciendo Polyglot

- -

Después de meses de trabajo y el refinamiento, me siento orgulloso de presentar Polyglot: un plugin para i18n Jekyll sitios que necesidad para atender su contenido a varios idiomas y audiencias.

- -

Características

- -

Si bien hay otros plugins multi-idioma para Jekyll, Polyglot es especial. Polyglot se encarga de las tonterías típicas normalmente de izquierda a los desarrolladores para gestionar (como discusiones urls y la garantía de mapas de sitio consistentes) mientras que proporciona herramientas eficaces y sencillas desarrolladores Jekyll puede utilizar en SEO y agregación de contenidos vía rápida.

- -

Url Relativizado

- -

En el pasado, un sitio estático multilenguaje blog o tenían que mantener un registro de lo delicado lenguaje cada enlace relativa sitio estaba sirviendo. Era demasiado fácil para un desarrollador para tropezar, y los visitantes de lengua extranjera de forma rápida se perdiera en el contenido sin traducir.

- -

Polyglot relativiza automáticamente las direcciones url para cada idioma que desea su sitio a construir para. Esto permite que los visitantes del sitio para quedarse aislado en un idioma mientras navega por su sitio web.

- -

Soporte de Retorno

- -

Cuando usted no se han traducido o contenido multilingüe, Jekyll todavía construir con el contenido que tienen. Cuando usted ha traducido o contenido multilingüe, Jekyll construirá usando ese contenido. Simple como eso.

- -

Sitemaps mantenerse coherente en todos los idiomas, y se traducen estancias en el sitio que fue construido para.

- -

Rich Traducción de Contenidos

- -

Idioma de los contenidos Rich es normalmente difícil de implementar. Cadenas cortas o lenguaje banderas dependientes suelen ser difícil para un sitio web Jekyll para mantener constante.

- -

Excepto cuando es tan fácil. En su config.yml, simplemente almacenar sus cadenas como:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

y en su liquid, simplemente llame a:

- -
{{ site.hello[site.active_lang]}}
- -

produce:

-

-¡hola! -

- -

Rápido, Asíncrono, Cero-Overhead Builds

- -

Polyglot va a construir su sitio web en varios idiomas tan rápido como se va a construir su sitio web idioma predeterminado. Polyglot se ejecuta con una sobrecarga mínima de simultáneamente edificio todos los idiomas de su sitio web como proceso independiente. Esto significa que su sitio web el tiempo de construcción no va a ser una función de la cantidad de idiomas que necesita para apoyar.

- -

Descargar

- -

Polyglot está disponible como una ruby gem, o como un plugin Jekyll. Se puede instalar con:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- - - -
- - - - diff --git a/site/_site/es/2015/11/14/polyglot-version-1-1/index.html b/site/_site/es/2015/11/14/polyglot-version-1-1/index.html deleted file mode 100644 index 118a5bff..00000000 --- a/site/_site/es/2015/11/14/polyglot-version-1-1/index.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot Version 1.1.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot Version 1.1.0

- -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- - - -
- - - - diff --git a/site/_site/es/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/es/2016/04/20/Polyglot-1.2.0/index.html deleted file mode 100644 index bf4714fc..00000000 --- a/site/_site/es/2016/04/20/Polyglot-1.2.0/index.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.0

- -

Una nueva versión de Políglota ha sido puesto en libertad! ¡Darle una oportunidad!

- -
gem install jekyll-polyglot
- -

y la lista de Jekyll-polyglot entre sus gemas que aparecen en su _config.yml

- -

Se trata en su mayoría bases para prepararse para nuevas características y una mejor gestión de contenidos multilingües. Se tiene una nueva característica:

- -

{% I18n_Headers %}

- -

Ponga esta etiqueta con la URL de su sitio web en su head.html incluye archivos para obtener el máximo previsto por SEO tener un sitio web multilingüe. Es el mismo que el siguiente código de líquido:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

En su cabecera, pero más rápido y más limpio! Para obtener más información, ver la página

- -
- - - -
- - - - diff --git a/site/_site/es/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/es/2016/12/16/Polyglot-1.2.4/index.html deleted file mode 100644 index d63b1ab0..00000000 --- a/site/_site/es/2016/12/16/Polyglot-1.2.4/index.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.4 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.4

- -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- - - -
- - - - diff --git a/site/_site/es/CNAME b/site/_site/es/CNAME deleted file mode 100644 index 6495589c..00000000 --- a/site/_site/es/CNAME +++ /dev/null @@ -1 +0,0 @@ -polyglot.untra.io diff --git a/site/_site/es/a-really-long/permalink/index.html b/site/_site/es/a-really-long/permalink/index.html deleted file mode 100644 index e7354bd6..00000000 --- a/site/_site/es/a-really-long/permalink/index.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - A really long permalink · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

A really long permalink

-

Este enlace permanente es muy largo y complejo

- -
- -
- - - - diff --git a/site/_site/es/about/index.html b/site/_site/es/about/index.html deleted file mode 100644 index a1412922..00000000 --- a/site/_site/es/about/index.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - About · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

About

-

- Polyglot es una internacionalización de código abierto de plugins para blogs Jekyll . Polyglot es fácil de configurar y usar con cualquier proyecto, y las escalas de los idiomas que desea apoyar. Con el apoyo de reserva para el contenido que falta, relativización url automático, y potentes recetas SEO, Políglota permite a cualquier blog de multi-idioma para centrarse en el contenido sin la tontería. -

- -

Polyglot Github Page

- -

Install

- -
gem install jekyll-polyglot
- - -
- -
- - - - diff --git a/site/_site/es/index.html b/site/_site/es/index.html deleted file mode 100644 index 198eb2f9..00000000 --- a/site/_site/es/index.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - Polyglot 1.2.4 - -

- - - -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- -
-

- - Polyglot 1.2.0 - -

- - - -

Una nueva versión de Políglota ha sido puesto en libertad! ¡Darle una oportunidad!

- -
gem install jekyll-polyglot
- -

y la lista de Jekyll-polyglot entre sus gemas que aparecen en su _config.yml

- -

Se trata en su mayoría bases para prepararse para nuevas características y una mejor gestión de contenidos multilingües. Se tiene una nueva característica:

- -

{% I18n_Headers %}

- -

Ponga esta etiqueta con la URL de su sitio web en su head.html incluye archivos para obtener el máximo previsto por SEO tener un sitio web multilingüe. Es el mismo que el siguiente código de líquido:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

En su cabecera, pero más rápido y más limpio! Para obtener más información, ver la página

- -
- -
-

- - Polyglot Version 1.1.0 - -

- - - -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- -
-

- - Introduciendo Polyglot - -

- - - -

Después de meses de trabajo y el refinamiento, me siento orgulloso de presentar Polyglot: un plugin para i18n Jekyll sitios que necesidad para atender su contenido a varios idiomas y audiencias.

- -

Características

- -

Si bien hay otros plugins multi-idioma para Jekyll, Polyglot es especial. Polyglot se encarga de las tonterías típicas normalmente de izquierda a los desarrolladores para gestionar (como discusiones urls y la garantía de mapas de sitio consistentes) mientras que proporciona herramientas eficaces y sencillas desarrolladores Jekyll puede utilizar en SEO y agregación de contenidos vía rápida.

- -

Url Relativizado

- -

En el pasado, un sitio estático multilenguaje blog o tenían que mantener un registro de lo delicado lenguaje cada enlace relativa sitio estaba sirviendo. Era demasiado fácil para un desarrollador para tropezar, y los visitantes de lengua extranjera de forma rápida se perdiera en el contenido sin traducir.

- -

Polyglot relativiza automáticamente las direcciones url para cada idioma que desea su sitio a construir para. Esto permite que los visitantes del sitio para quedarse aislado en un idioma mientras navega por su sitio web.

- -

Soporte de Retorno

- -

Cuando usted no se han traducido o contenido multilingüe, Jekyll todavía construir con el contenido que tienen. Cuando usted ha traducido o contenido multilingüe, Jekyll construirá usando ese contenido. Simple como eso.

- -

Sitemaps mantenerse coherente en todos los idiomas, y se traducen estancias en el sitio que fue construido para.

- -

Rich Traducción de Contenidos

- -

Idioma de los contenidos Rich es normalmente difícil de implementar. Cadenas cortas o lenguaje banderas dependientes suelen ser difícil para un sitio web Jekyll para mantener constante.

- -

Excepto cuando es tan fácil. En su config.yml, simplemente almacenar sus cadenas como:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

y en su liquid, simplemente llame a:

- -
{{ site.hello[site.active_lang]}}
- -

produce:

-

-¡hola! -

- -

Rápido, Asíncrono, Cero-Overhead Builds

- -

Polyglot va a construir su sitio web en varios idiomas tan rápido como se va a construir su sitio web idioma predeterminado. Polyglot se ejecuta con una sobrecarga mínima de simultáneamente edificio todos los idiomas de su sitio web como proceso independiente. Esto significa que su sitio web el tiempo de construcción no va a ser una función de la cantidad de idiomas que necesita para apoyar.

- -

Descargar

- -

Polyglot está disponible como una ruby gem, o como un plugin Jekyll. Se puede instalar con:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- -
-

- - Introducing Hyde - -

- - - -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- -
- - - -
- - - - diff --git a/site/_site/es/page2/index.html b/site/_site/es/page2/index.html deleted file mode 100644 index 2c1c8357..00000000 --- a/site/_site/es/page2/index.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - What's Jekyll? - -

- - - -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- -
- - - -
- - - - diff --git a/site/_site/es/sample/index.html b/site/_site/es/sample/index.html deleted file mode 100644 index 2b74da26..00000000 --- a/site/_site/es/sample/index.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - Sample rich text data · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Sample rich text data

-

Hola , y bienvenidos a una página de ejemplo
- disfrutar de su estancia
- Este texto muestra proviene de un archivo .yml
- etiquetas HTML se conservan
- y los enlaces se relativizan

- -
- -
- - - - diff --git a/site/_site/es/seo/index.html b/site/_site/es/seo/index.html deleted file mode 100644 index b90366fa..00000000 --- a/site/_site/es/seo/index.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - SEO Recipes · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

SEO Recipes

-

Recipes for Search Engine Optimization using Polyglot

- -

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

- -

HTML Language Declaration

- -

Per W3C Internationalization Best Practices -you can set the default language of every page with a meta tag. Just add the following to your header:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
- -

Multi-language SEO using hreflang alternate tags

- -

You can easily add hreflang alternate tags -to your site, achieving SEO with google multi-language searches. Add the following to your header:

- -
<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

All of the above

- -

You can get all of the above with a single tag added to your header.html:

- -
{% I18n_Headers https://untra.github.com/polyglot %}
- -

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. -In 1.2.4, you can leave it empty, just calling

- -
{% I18n_Headers %}
- -

and it will default to your site.url

- -

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

- -
- -
- - - - diff --git a/site/_site/fr/2012/02/06/whats-jekyll/index.html b/site/_site/fr/2012/02/06/whats-jekyll/index.html deleted file mode 100644 index f2750bfa..00000000 --- a/site/_site/fr/2012/02/06/whats-jekyll/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - What's Jekyll? · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

What's Jekyll?

- -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- - - -
- - - - diff --git a/site/_site/fr/2013/12/28/introducing-hyde/index.html b/site/_site/fr/2013/12/28/introducing-hyde/index.html deleted file mode 100644 index 2741dcc7..00000000 --- a/site/_site/fr/2013/12/28/introducing-hyde/index.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - Introducing Hyde · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Introducing Hyde

- -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- - - -
- - - - diff --git a/site/_site/fr/2015/09/19/presenting-polyglot/index.html b/site/_site/fr/2015/09/19/presenting-polyglot/index.html deleted file mode 100644 index 50e0c4c5..00000000 --- a/site/_site/fr/2015/09/19/presenting-polyglot/index.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - Présentation Polyglot · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Présentation Polyglot

- -

Après des mois de travail et de raffinement, je suis fier de présenter Polyglot: un plugin i18n pour Jekyll sites qui besoin pour répondre à leur contenu à de multiples langues et le public.

- -

Caractéristiques

- -

Bien qu’il existe d’autres plugins multi-langues pour Jekyll, Polyglot est spécial. Polyglot prend soin de l’absurdité typique normalement laissée aux développeurs de gérer (comme querelles urls et assurer sitemaps cohérentes) tout en fournissant des outils simples et efficaces développeurs Jekyll peut utiliser dans le référencement et l’agrégation de contenu accéléré.

- -

Url Relativisé

- -

Dans le passé, un site ou un blog statique multi-langue devaient garder une trace délicate que soit la langue de chaque lien relatif le site servait. Il était trop facile pour un développeur de trébucher, et les visiteurs de langue étrangère serait rapidement se perdre dans le contenu non traduite.

- -

Polyglot relativise automatiquement les Url pour chaque langue que vous voulez que votre site pour construire. Cela permet les visiteurs du site à rester isolé sur une langue tout en naviguant sur votre site web.

- -

Soutien de Repli

- -

Lorsque vous ne ont traduit ou contenu multilingue, Jekyll aurez toujours construire avec le contenu que vous avez. Lorsque vous ne avez traduit ou contenu multilingue, Jekyll se construire en utilisant ce contenu. Aussi simple que cela.

- -

Sitemaps rester cohérente dans toutes les langues, et traduits séjours dans le site, il a été construit pour.

- -

Contenu Riche Traduction

- -

Un contenu riche de la langue est normalement difficile à mettre en œuvre. Les chaînes courtes ou des bannières dépendant de la langue sont généralement difficile pour un site Jekyll pour garder cohérente.

- -

Sauf quand il est si facile. Dans votre config.yml, simplement stocker vos chaînes comme:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

et dans votre liquid, il suffit d’appeler:

- -
{{ site.hello[site.active_lang]}}
- -

produit:

-

-Bonjour! -

- -

Rapide, Asynchrone, Zéro Frais-Généraux Builds

- -

Polyglot va construire votre site multi-langue aussi vite que il va construire votre site de langue par défaut. Polyglot fonctionne avec un minimum de frais généraux par simultanément bâtiment toutes les langues de votre site Web comme un processus distinct. Cela signifie que votre temps site de construction ne sera pas fonction du nombre de langues dont vous avez besoin pour soutenir.

- -

Télécharger

- -

Polyglot est disponible comme une ruby gem, ou comme un plugin Jekyll. Il peut être installé avec:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- - - -
- - - - diff --git a/site/_site/fr/2015/11/14/polyglot-version-1-1/index.html b/site/_site/fr/2015/11/14/polyglot-version-1-1/index.html deleted file mode 100644 index cec74aea..00000000 --- a/site/_site/fr/2015/11/14/polyglot-version-1-1/index.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot Version 1.1.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot Version 1.1.0

- -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- - - -
- - - - diff --git a/site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html b/site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html deleted file mode 100644 index 598d0042..00000000 --- a/site/_site/fr/2016/04/20/Polyglot-1.2.0/index.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.0 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.0

- -

Une nouvelle version de Polyglot a été libéré! Essaie!

- -
gem install jekyll-polyglot
- -

et la liste jekyll-polyglot parmi vos pierres précieuses figurant dans votre _config.yml

- -

Elle consiste principalement bases pour se préparer à de nouvelles fonctionnalités et une meilleure gestion de contenu multilingue. Elle a une nouvelle fonctionnalité:

- -

{% I18n_Headers %}

- -

Mettez cette balise avec le url de votre site dans votre head.html comprend fichier pour obtenir le référencement maximum fourni par ayant un site Web multilingue. Il est le même que le code de liquide suivant:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

Dans votre tête, mais plus rapide et plus propre! Pour plus d’informations, voir la page SEO

- -
- - - -
- - - - diff --git a/site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html b/site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html deleted file mode 100644 index e453187a..00000000 --- a/site/_site/fr/2016/12/16/Polyglot-1.2.4/index.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot 1.2.4 · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Polyglot 1.2.4

- -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- - - -
- - - - diff --git a/site/_site/fr/CNAME b/site/_site/fr/CNAME deleted file mode 100644 index 6495589c..00000000 --- a/site/_site/fr/CNAME +++ /dev/null @@ -1 +0,0 @@ -polyglot.untra.io diff --git a/site/_site/fr/a-really-long/permalink/index.html b/site/_site/fr/a-really-long/permalink/index.html deleted file mode 100644 index 25be8b14..00000000 --- a/site/_site/fr/a-really-long/permalink/index.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - A really long permalink · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

A really long permalink

-

Ce permalien est vraiment long et complexe

- -
- -
- - - - diff --git a/site/_site/fr/about/index.html b/site/_site/fr/about/index.html deleted file mode 100644 index 4e5a43a1..00000000 --- a/site/_site/fr/about/index.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - About · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

About

-

- Polyglot est une internationalisation du plugin open source pour les blogs de Jekyll. Polyglot est facile à installer et à utiliser pour tout projet, et il évolue pour les langues que vous souhaitez soutenir. Avec le soutien de repli pour le contenu manquant, relativisation automatique d'URL, et de puissants recettes de SEO, Polyglot permet un blog multi-langue pour se concentrer sur le contenu sans l'absurdité. -

- -

Polyglot Github Page

- -

Install

- -
gem install jekyll-polyglot
- - -
- -
- - - - diff --git a/site/_site/fr/index.html b/site/_site/fr/index.html deleted file mode 100644 index f4eb2942..00000000 --- a/site/_site/fr/index.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - Polyglot 1.2.4 - -

- - - -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- -
-

- - Polyglot 1.2.0 - -

- - - -

Une nouvelle version de Polyglot a été libéré! Essaie!

- -
gem install jekyll-polyglot
- -

et la liste jekyll-polyglot parmi vos pierres précieuses figurant dans votre _config.yml

- -

Elle consiste principalement bases pour se préparer à de nouvelles fonctionnalités et une meilleure gestion de contenu multilingue. Elle a une nouvelle fonctionnalité:

- -

{% I18n_Headers %}

- -

Mettez cette balise avec le url de votre site dans votre head.html comprend fichier pour obtenir le référencement maximum fourni par ayant un site Web multilingue. Il est le même que le code de liquide suivant:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

Dans votre tête, mais plus rapide et plus propre! Pour plus d’informations, voir la page SEO

- -
- -
-

- - Polyglot Version 1.1.0 - -

- - - -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- -
-

- - Présentation Polyglot - -

- - - -

Après des mois de travail et de raffinement, je suis fier de présenter Polyglot: un plugin i18n pour Jekyll sites qui besoin pour répondre à leur contenu à de multiples langues et le public.

- -

Caractéristiques

- -

Bien qu’il existe d’autres plugins multi-langues pour Jekyll, Polyglot est spécial. Polyglot prend soin de l’absurdité typique normalement laissée aux développeurs de gérer (comme querelles urls et assurer sitemaps cohérentes) tout en fournissant des outils simples et efficaces développeurs Jekyll peut utiliser dans le référencement et l’agrégation de contenu accéléré.

- -

Url Relativisé

- -

Dans le passé, un site ou un blog statique multi-langue devaient garder une trace délicate que soit la langue de chaque lien relatif le site servait. Il était trop facile pour un développeur de trébucher, et les visiteurs de langue étrangère serait rapidement se perdre dans le contenu non traduite.

- -

Polyglot relativise automatiquement les Url pour chaque langue que vous voulez que votre site pour construire. Cela permet les visiteurs du site à rester isolé sur une langue tout en naviguant sur votre site web.

- -

Soutien de Repli

- -

Lorsque vous ne ont traduit ou contenu multilingue, Jekyll aurez toujours construire avec le contenu que vous avez. Lorsque vous ne avez traduit ou contenu multilingue, Jekyll se construire en utilisant ce contenu. Aussi simple que cela.

- -

Sitemaps rester cohérente dans toutes les langues, et traduits séjours dans le site, il a été construit pour.

- -

Contenu Riche Traduction

- -

Un contenu riche de la langue est normalement difficile à mettre en œuvre. Les chaînes courtes ou des bannières dépendant de la langue sont généralement difficile pour un site Jekyll pour garder cohérente.

- -

Sauf quand il est si facile. Dans votre config.yml, simplement stocker vos chaînes comme:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

et dans votre liquid, il suffit d’appeler:

- -
{{ site.hello[site.active_lang]}}
- -

produit:

-

-Bonjour! -

- -

Rapide, Asynchrone, Zéro Frais-Généraux Builds

- -

Polyglot va construire votre site multi-langue aussi vite que il va construire votre site de langue par défaut. Polyglot fonctionne avec un minimum de frais généraux par simultanément bâtiment toutes les langues de votre site Web comme un processus distinct. Cela signifie que votre temps site de construction ne sera pas fonction du nombre de langues dont vous avez besoin pour soutenir.

- -

Télécharger

- -

Polyglot est disponible comme une ruby gem, ou comme un plugin Jekyll. Il peut être installé avec:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- -
-

- - Introducing Hyde - -

- - - -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- -
- - - -
- - - - diff --git a/site/_site/fr/page2/index.html b/site/_site/fr/page2/index.html deleted file mode 100644 index 204fbccf..00000000 --- a/site/_site/fr/page2/index.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - What's Jekyll? - -

- - - -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- -
- - - -
- - - - diff --git a/site/_site/fr/sample/index.html b/site/_site/fr/sample/index.html deleted file mode 100644 index a33888db..00000000 --- a/site/_site/fr/sample/index.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - Sample rich text data · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

Sample rich text data

-

bonjour, et bienvenue à une page d’exemple
- profiter de votre séjour
- Ce texte de l’échantillon provenait d’un fichier .yml
- balises html sont conservées
- et les liens sont relativisées

- -
- -
- - - - diff --git a/site/_site/fr/seo/index.html b/site/_site/fr/seo/index.html deleted file mode 100644 index 615dc822..00000000 --- a/site/_site/fr/seo/index.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - SEO Recipes · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

SEO Recipes

-

Recipes for Search Engine Optimization using Polyglot

- -

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

- -

HTML Language Declaration

- -

Per W3C Internationalization Best Practices -you can set the default language of every page with a meta tag. Just add the following to your header:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
- -

Multi-language SEO using hreflang alternate tags

- -

You can easily add hreflang alternate tags -to your site, achieving SEO with google multi-language searches. Add the following to your header:

- -
<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

All of the above

- -

You can get all of the above with a single tag added to your header.html:

- -
{% I18n_Headers https://untra.github.com/polyglot %}
- -

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. -In 1.2.4, you can leave it empty, just calling

- -
{% I18n_Headers %}
- -

and it will default to your site.url

- -

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

- -
- -
- - - - diff --git a/site/_site/index.html b/site/_site/index.html deleted file mode 100644 index 1d22eff4..00000000 --- a/site/_site/index.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - Polyglot 1.2.4 - -

- - - -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

This release was made possible due to the kind support of github user vlsi, who helped fix a few bugs and added new features:

- -

Support translation of absolute URLs

-

Polyglot will now translate your site.url, so absolute urls will now get translated as well.

- -

Translation of all Jekyll Collections

-

Jekyll collections are a fairly new feature. This update translates all registered collections, not just site posts and pages.

- -

Use language-specific _data for site.data rich text when site.data[:lang] is present

-

Top level rich text organized by language will be assigned to the site.data when building. Before, when rendering rich text, you would have to use:

- -
{{ site.data[site.active_lang].richTextString }}
- -

Now rich text can be rendered with just:

- -
{{ site.data.richTextString }}
- -

The I18n_Headers tag now defaults to site.url when left blank

-

Users can now use

- -
{% I18n_Headers %}
- -

without specifying a url, defaulting it to your site.url

- -
- -
-

- - Polyglot 1.2.0 - -

- - - -

A new version of Polyglot has been released! Give it a try!

- -
gem install jekyll-polyglot
- -

and list jekyll-polyglot among your listed gems in your _config.yml

- -

It involves mostly groundwork to prepare for new features and better multilingual content management. It does have a new feature:

- -

{% I18n_Headers %}

- -

Put this tag with the url of your website in your head.html includes file to get the maximum SEO provided by having a multilingual website. It’s the same as the following liquid code:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
-<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

In your header, but faster and cleaner! For more information, see the SEO page

- -
- -
-

- - Polyglot Version 1.1.0 - -

- - - -

Polyglot now fully supports Jekyll 3.0 blogs! Go give it a try!

- -
gem 'jekyll-polyglot', '~> 1.1.0'
- - -
- -
-

- - Presenting Polyglot - -

- - - -

After months of work and refinement, I am proud to present Polyglot: a i18n plugin for Jekyll sites that need to cater their content to multiple languages and audiences.

- -

Features

- -

While there are other multi-language plugins for Jekyll, Polyglot is special. Polyglot takes care of the typical cruftwork normally left to developers to manage (such as wrangling urls and ensuring consistent sitemaps) while providing efficient and simple tools Jekyll developers can utilize into SEO and fast-tracked content aggregation.

- - - -

In the past, a multi-language static site or blog had to keep delicate track of what language each relative link the site was serving. It was all too easy for a developer to stumble, and foreign language visitors would quickly get lost in untranslated content.

- -

Polyglot automatically relativizes the urls for each language you want your site to build for. This allows website visitors to stay isolated on one language while browsing your website.

- -

Fallback Support

- -

When you don’t have translated or multilingual content, Jekyll will still build with the content you do have. When you do have translated or multilingual content, Jekyll will build using that content. Simple as that.

- -

Sitemaps stay consistent across all languages, and translated stays in the site it was built for.

- -

Rich Content Translation

- -

Rich language content is normally hard to implement. Short strings or language dependent banners are typically hard for a Jekyll website to keep consistent.

- -

Except when it’s this easy. In your config.yml, just store your strings as:

- -
hello:
-  en: Hello!
-  es: ¡hola!
-  fr: Bonjour!
-  de: Guten Tag!
- -

and in your liquid, just call:

- -
{{ site.hello[site.active_lang]}}
- -

produces:

-

-Hello! -

- -

Fast, Asynchronous, Zero-Overhead Builds

- -

Polyglot will build your multi-language website just as fast as it will build your default language website. Polyglot runs with a minimal overhead by simultaneously building all languages of your website as separate process. This means your website build time won’t be a function of how many languages you need to support.

- -

Download

- -

Polyglot is available as a gem, or as a Jekyll plugin. It can be installed with:

- -
  gem install 'jekyll-polyglot'
-  
- - -
- -
-

- - Introducing Hyde - -

- - - -

Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.

- -

Built on Poole

- -

Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:

- -
    -
  • Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
  • -
  • Mobile friendly design and development
  • -
  • Easily scalable text and component sizing with rem units in the CSS
  • -
  • Support for a wide gamut of HTML elements
  • -
  • Related posts (time-based, because Jekyll) below each post
  • -
  • Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
  • -
- -

Hyde features

- -

In addition to the features of Poole, Hyde adds the following:

- -
    -
  • Sidebar includes support for textual modules and a dynamically generated navigation with active link support
  • -
  • Two orientations for content and sidebar, default (left sidebar) and reverse (right sidebar), available via <body> classes
  • -
  • Eight optional color schemes, available via <body> classes
  • -
- -

Head to the readme to learn more.

- -

Browser support

- -

Hyde is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.

- -

Download

- -

Hyde is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.

- -

Thanks!

- -
- -
- - - -
- - - - diff --git a/site/_site/page2/index.html b/site/_site/page2/index.html deleted file mode 100644 index 2c234dcd..00000000 --- a/site/_site/page2/index.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - - - - - - - Polyglot · Straightforward I18n for Jekyll Blogs - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

- - What's Jekyll? - -

- - - -

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project’s readme:

- -
-

Jekyll is a simple, blog aware, static site generator. It takes a template directory […] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

-
- -

It’s an immensely useful tool and one we encourage you to use here with Hyde.

- -

Find out more by visiting the project on GitHub.

- -
- -
- - - -
- - - - diff --git a/site/_site/public/apple-touch-icon-144-precomposed.png b/site/_site/public/apple-touch-icon-144-precomposed.png deleted file mode 100644 index 345010c3afe47bfa228477f47970650152d87140..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 588 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q2}owBl)eX2k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+7~griIEGZ*dUMAyk1>#;;bB%xLtc8a!0cTNo<}*Q9!bS& zbQ*iS@NBu^apN`X4U@Nmx8^OpHf4)pzR=t6`o}9OjqlGEm!90o-KrhycRi2MfKk{W zfk`dl0E^Fo2F@7`KrSP*S^^WB&jA*m84a8g5CzK;Qki>iXKrnKTsSK{sONFAeCVmA zM~kLDOJUo4FU9P0i{=gCZ8!7ER_DA=SR1!Lf4gwx{{2?}|33cwK|4^ywq*Bn|1`U~ zcI&UVPnUmjEbY=C_OzhiPde|uf3CXKzwP$loX$E`E}XVwx<@Uce&ZWezh9XqR`nBN z^w@Ql3RQ|W>ITl+pnP`uWtVM7cBctPNZEe-{hU8YbGn}3nQ0uT9>VQoxGSupR&3`8 zIkogvZYju9{wW{)R+m;37|oWo{;xJa-%P5SeX)jDiqZYJD`~qcD{Hw6lZ^`(3MAdR zYb)D#JX3FPlFa-F+wP}YXHW7}?G@%eG3`e`*VmSl{e0L$7{ftam!>l?Gc-STHCP|D SF%y_P7(8A5T-G@yGywpdT->Vw diff --git a/site/_site/public/css/custom.css b/site/_site/public/css/custom.css deleted file mode 100644 index fa16c40d..00000000 --- a/site/_site/public/css/custom.css +++ /dev/null @@ -1,46 +0,0 @@ -@media (min-width: 48em) { -.speech -{ - position: relative; - width: 200px; - height: 86px; - text-align: center; - line-height: 100px; - color: #6a9fb5; - font-family: "Abril Fatface", serif; - font-size: 2.0rem; - background-color: #fff; - border: 8px solid #888; - line-height: 160%; - -webkit-border-radius: 30px; - -moz-border-radius: 30px; - border-radius: 30px; - -webkit-box-shadow: 2px 2px 4px #888; - -moz-box-shadow: 2px 2px 4px #888; - box-shadow: 2px 2px 4px #888; -} - -.speech:before -{ - content: ' '; - position: absolute; - width: 0; - height: 0; - left: 30px; - top: 70px; - border: 25px solid; - border-color: #888 transparent transparent #888; -} - -.speech:after -{ - content: ' '; - position: absolute; - width: 0; - height: 0; - left: 38px; - top: 70px; - border: 15px solid; - border-color: #fff transparent transparent #fff; -} -} diff --git a/site/_site/public/css/hyde.css b/site/_site/public/css/hyde.css deleted file mode 100644 index 265de5b8..00000000 --- a/site/_site/public/css/hyde.css +++ /dev/null @@ -1,250 +0,0 @@ -/* - * __ __ - * /\ \ /\ \ - * \ \ \___ __ __ \_\ \ __ - * \ \ _ `\/\ \/\ \ /'_` \ /'__`\ - * \ \ \ \ \ \ \_\ \/\ \_\ \/\ __/ - * \ \_\ \_\/`____ \ \___,_\ \____\ - * \/_/\/_/`/___/> \/__,_ /\/____/ - * /\___/ - * \/__/ - * - * Designed, built, and released under MIT license by @mdo. Learn more at - * https://github.com/poole/hyde. - */ - - -/* - * Contents - * - * Global resets - * Sidebar - * Container - * Reverse layout - * Themes - */ - - -/* - * Global resets - * - * Update the foundational and global aspects of the page. - */ - -html { - font-family: "PT Sans", Helvetica, Arial, sans-serif; -} -@media (min-width: 48em) { - html { - font-size: 16px; - } -} -@media (min-width: 58em) { - html { - font-size: 20px; - } -} - - -/* - * Sidebar - * - * Flexible banner for housing site name, intro, and "footer" content. Starts - * out above content in mobile and later moves to the side with wider viewports. - */ - -.sidebar { - text-align: center; - padding: 2rem 1rem; - color: rgba(255,255,255,.5); - background-color: #202020; -} -@media (min-width: 48em) { - .sidebar { - position: fixed; - top: 0; - left: 0; - bottom: 0; - width: 18rem; - text-align: left; - } -} - -/* Sidebar links */ -.sidebar a { - color: #fff; -} - -/* About section */ -.sidebar-about h1 { - color: #fff; - margin-top: 0; - font-family: "Abril Fatface", serif; - font-size: auto; -} - -/* Sidebar nav */ -.sidebar-nav { - margin-bottom: 1rem; -} -.sidebar-nav-item { - display: block; - line-height: 1.75; -} -a.sidebar-nav-item:hover, -a.sidebar-nav-item:focus { - text-decoration: underline; -} -.sidebar-nav-item.active { - font-weight: bold; -} - -/* Sticky sidebar - * - * Add the `sidebar-sticky` class to the sidebar's container to affix it the - * contents to the bottom of the sidebar in tablets and up. - */ - -@media (min-width: 48em) { - .sidebar-sticky { - position: absolute; - right: 1rem; - bottom: 1rem; - left: 1rem; - } -} - - -/* Container - * - * Align the contents of the site above the proper threshold with some margin-fu - * with a 25%-wide `.sidebar`. - */ - -.content { - padding-top: 4rem; - padding-bottom: 4rem; -} - -@media (min-width: 48em) { - .content { - max-width: 38rem; - margin-left: 20rem; - margin-right: 2rem; - } -} - -@media (min-width: 64em) { - .content { - margin-left: 22rem; - margin-right: 4rem; - } -} - - -/* - * Reverse layout - * - * Flip the orientation of the page by placing the `.sidebar` on the right. - */ - -@media (min-width: 48em) { - .layout-reverse .sidebar { - left: auto; - right: 0; - } - .layout-reverse .content { - margin-left: 2rem; - margin-right: 20rem; - } -} - -@media (min-width: 64em) { - .layout-reverse .content { - margin-left: 4rem; - margin-right: 22rem; - } -} - - - -/* - * Themes - * - * As of v1.1, Hyde includes optional themes to color the sidebar and links - * within blog posts. To use, add the class of your choosing to the `body`. - */ - -/* Base16 (http://chriskempson.github.io/base16/#default) */ - -/* Red */ -.theme-base-08 .sidebar { - background-color: #ac4142; -} -.theme-base-08 .content a, -.theme-base-08 .related-posts li a:hover { - color: #ac4142; -} - -/* Orange */ -.theme-base-09 .sidebar { - background-color: #d28445; -} -.theme-base-09 .content a, -.theme-base-09 .related-posts li a:hover { - color: #d28445; -} - -/* Yellow */ -.theme-base-0a .sidebar { - background-color: #f4bf75; -} -.theme-base-0a .content a, -.theme-base-0a .related-posts li a:hover { - color: #f4bf75; -} - -/* Green */ -.theme-base-0b .sidebar { - background-color: #90a959; -} -.theme-base-0b .content a, -.theme-base-0b .related-posts li a:hover { - color: #90a959; -} - -/* Cyan */ -.theme-base-0c .sidebar { - background-color: #75b5aa; -} -.theme-base-0c .content a, -.theme-base-0c .related-posts li a:hover { - color: #75b5aa; -} - -/* Blue */ -.theme-base-0d .sidebar { - background-color: #6a9fb5; -} -.theme-base-0d .content a, -.theme-base-0d .related-posts li a:hover { - color: #6a9fb5; -} - -/* Magenta */ -.theme-base-0e .sidebar { - background-color: #aa759f; -} -.theme-base-0e .content a, -.theme-base-0e .related-posts li a:hover { - color: #aa759f; -} - -/* Brown */ -.theme-base-0f .sidebar { - background-color: #8f5536; -} -.theme-base-0f .content a, -.theme-base-0f .related-posts li a:hover { - color: #8f5536; -} diff --git a/site/_site/public/css/poole.css b/site/_site/public/css/poole.css deleted file mode 100644 index 8ec27e7a..00000000 --- a/site/_site/public/css/poole.css +++ /dev/null @@ -1,430 +0,0 @@ -/* - * ___ - * /\_ \ - * _____ ___ ___\//\ \ __ - * /\ '__`\ / __`\ / __`\\ \ \ /'__`\ - * \ \ \_\ \/\ \_\ \/\ \_\ \\_\ \_/\ __/ - * \ \ ,__/\ \____/\ \____//\____\ \____\ - * \ \ \/ \/___/ \/___/ \/____/\/____/ - * \ \_\ - * \/_/ - * - * Designed, built, and released under MIT license by @mdo. Learn more at - * https://github.com/poole/poole. - */ - - -/* - * Contents - * - * Body resets - * Custom type - * Messages - * Container - * Masthead - * Posts and pages - * Pagination - * Reverse layout - * Themes - */ - - -/* - * Body resets - * - * Update the foundational and global aspects of the page. - */ - -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -html, -body { - margin: 0; - padding: 0; -} - -html { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 16px; - line-height: 1.5; -} -@media (min-width: 38em) { - html { - font-size: 20px; - } -} - -body { - color: #515151; - background-color: #fff; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} - -/* No `:visited` state is required by default (browsers will use `a`) */ -a { - color: #268bd2; - text-decoration: none; -} -a strong { - color: inherit; -} -/* `:focus` is linked to `:hover` for basic accessibility */ -a:hover, -a:focus { - text-decoration: underline; -} - -/* Headings */ -h1, h2, h3, h4, h5, h6 { - margin-bottom: .5rem; - font-weight: bold; - line-height: 1.25; - color: #313131; - text-rendering: optimizeLegibility; -} -h1 { - font-size: 2rem; -} -h2 { - margin-top: 1rem; - font-size: 1.5rem; -} -h3 { - margin-top: 1.5rem; - font-size: 1.25rem; -} -h4, h5, h6 { - margin-top: 1rem; - font-size: 1rem; -} - -/* Body text */ -p { - margin-top: 0; - margin-bottom: 1rem; -} - -strong { - color: #303030; -} - - -/* Lists */ -ul, ol, dl { - margin-top: 0; - margin-bottom: 1rem; -} - -dt { - font-weight: bold; -} -dd { - margin-bottom: .5rem; -} - -/* Misc */ -hr { - position: relative; - margin: 1.5rem 0; - border: 0; - border-top: 1px solid #eee; - border-bottom: 1px solid #fff; -} - -abbr { - font-size: 85%; - font-weight: bold; - color: #555; - text-transform: uppercase; -} -abbr[title] { - cursor: help; - border-bottom: 1px dotted #e5e5e5; -} - -/* Code */ -code, -pre { - font-family: Menlo, Monaco, "Courier New", monospace; -} -code { - padding: .25em .5em; - font-size: 85%; - color: #bf616a; - background-color: #f9f9f9; - border-radius: 3px; -} -pre { - display: block; - margin-top: 0; - margin-bottom: 1rem; - padding: 1rem; - font-size: .8rem; - line-height: 1.4; - white-space: pre; - white-space: pre-wrap; - word-break: break-all; - word-wrap: break-word; - background-color: #f9f9f9; -} -pre code { - padding: 0; - font-size: 100%; - color: inherit; - background-color: transparent; -} - -/* Pygments via Jekyll */ -.highlight { - margin-bottom: 1rem; - border-radius: 4px; -} -.highlight pre { - margin-bottom: 0; -} - -/* Gist via GitHub Pages */ -.gist .gist-file { - font-family: Menlo, Monaco, "Courier New", monospace !important; -} -.gist .markdown-body { - padding: 15px; -} -.gist pre { - padding: 0; - background-color: transparent; -} -.gist .gist-file .gist-data { - font-size: .8rem !important; - line-height: 1.4; -} -.gist code { - padding: 0; - color: inherit; - background-color: transparent; - border-radius: 0; -} - -/* Quotes */ -blockquote { - padding: .5rem 1rem; - margin: .8rem 0; - color: #7a7a7a; - border-left: .25rem solid #e5e5e5; -} -blockquote p:last-child { - margin-bottom: 0; -} -@media (min-width: 30em) { - blockquote { - padding-right: 5rem; - padding-left: 1.25rem; - } -} - -img { - display: block; - max-width: 100%; - margin: 0 0 1rem; - border-radius: 5px; -} - -/* Tables */ -table { - margin-bottom: 1rem; - width: 100%; - border: 1px solid #e5e5e5; - border-collapse: collapse; -} -td, -th { - padding: .25rem .5rem; - border: 1px solid #e5e5e5; -} -tbody tr:nth-child(odd) td, -tbody tr:nth-child(odd) th { - background-color: #f9f9f9; -} - - -/* - * Custom type - * - * Extend paragraphs with `.lead` for larger introductory text. - */ - -.lead { - font-size: 1.25rem; - font-weight: 300; -} - - -/* - * Messages - * - * Show alert messages to users. You may add it to single elements like a `

`, - * or to a parent if there are multiple elements to show. - */ - -.message { - margin-bottom: 1rem; - padding: 1rem; - color: #717171; - background-color: #f9f9f9; -} - - -/* - * Container - * - * Center the page content. - */ - -.container { - max-width: 38rem; - padding-left: 1rem; - padding-right: 1rem; - margin-left: auto; - margin-right: auto; -} - - -/* - * Masthead - * - * Super small header above the content for site name and short description. - */ - -.masthead { - padding-top: 1rem; - padding-bottom: 1rem; - margin-bottom: 3rem; -} -.masthead-title { - margin-top: 0; - margin-bottom: 0; - color: #505050; -} -.masthead-title a { - color: #505050; -} -.masthead-title small { - font-size: 75%; - font-weight: 400; - color: #c0c0c0; - letter-spacing: 0; -} - - -/* - * Posts and pages - * - * Each post is wrapped in `.post` and is used on default and post layouts. Each - * page is wrapped in `.page` and is only used on the page layout. - */ - -.page, -.post { - margin-bottom: 4em; -} - -/* Blog post or page title */ -.page-title, -.post-title, -.post-title a { - color: #303030; -} -.page-title, -.post-title { - margin-top: 0; -} - -/* Meta data line below post title */ -.post-date { - display: block; - margin-top: -.5rem; - margin-bottom: 1rem; - color: #9a9a9a; -} - -/* Related posts */ -.related { - padding-top: 2rem; - padding-bottom: 2rem; - border-top: 1px solid #eee; -} -.related-posts { - padding-left: 0; - list-style: none; -} -.related-posts h3 { - margin-top: 0; -} -.related-posts li small { - font-size: 75%; - color: #999; -} -.related-posts li a:hover { - color: #268bd2; - text-decoration: none; -} -.related-posts li a:hover small { - color: inherit; -} - - -/* - * Pagination - * - * Super lightweight (HTML-wise) blog pagination. `span`s are provide for when - * there are no more previous or next posts to show. - */ - -.pagination { - overflow: hidden; /* clearfix */ - margin-left: -1rem; - margin-right: -1rem; - font-family: "PT Sans", Helvetica, Arial, sans-serif; - color: #ccc; - text-align: center; -} - -/* Pagination items can be `span`s or `a`s */ -.pagination-item { - display: block; - padding: 1rem; - border: 1px solid #eee; -} -.pagination-item:first-child { - margin-bottom: -1px; -} - -/* Only provide a hover state for linked pagination items */ -a.pagination-item:hover { - background-color: #f5f5f5; -} - -@media (min-width: 30em) { - .pagination { - margin: 3rem 0; - } - .pagination-item { - float: left; - width: 50%; - } - .pagination-item:first-child { - margin-bottom: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; - } - .pagination-item:last-child { - margin-left: -1px; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - } -} diff --git a/site/_site/public/css/syntax.css b/site/_site/public/css/syntax.css deleted file mode 100644 index 15ad7977..00000000 --- a/site/_site/public/css/syntax.css +++ /dev/null @@ -1,65 +0,0 @@ -.highlight .hll { background-color: #ffc; } -.highlight .c { color: #999; } /* Comment */ -.highlight .err { color: #a00; background-color: #faa } /* Error */ -.highlight .k { color: #069; } /* Keyword */ -.highlight .o { color: #555 } /* Operator */ -.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #099 } /* Comment.Preproc */ -.highlight .c1 { color: #999; } /* Comment.Single */ -.highlight .cs { color: #999; } /* Comment.Special */ -.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #f00 } /* Generic.Error */ -.highlight .gh { color: #030; } /* Generic.Heading */ -.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */ -.highlight .go { color: #aaa } /* Generic.Output */ -.highlight .gp { color: #009; } /* Generic.Prompt */ -.highlight .gs { } /* Generic.Strong */ -.highlight .gu { color: #030; } /* Generic.Subheading */ -.highlight .gt { color: #9c6 } /* Generic.Traceback */ -.highlight .kc { color: #069; } /* Keyword.Constant */ -.highlight .kd { color: #069; } /* Keyword.Declaration */ -.highlight .kn { color: #069; } /* Keyword.Namespace */ -.highlight .kp { color: #069 } /* Keyword.Pseudo */ -.highlight .kr { color: #069; } /* Keyword.Reserved */ -.highlight .kt { color: #078; } /* Keyword.Type */ -.highlight .m { color: #f60 } /* Literal.Number */ -.highlight .s { color: #d44950 } /* Literal.String */ -.highlight .na { color: #4f9fcf } /* Name.Attribute */ -.highlight .nb { color: #366 } /* Name.Builtin */ -.highlight .nc { color: #0a8; } /* Name.Class */ -.highlight .no { color: #360 } /* Name.Constant */ -.highlight .nd { color: #99f } /* Name.Decorator */ -.highlight .ni { color: #999; } /* Name.Entity */ -.highlight .ne { color: #c00; } /* Name.Exception */ -.highlight .nf { color: #c0f } /* Name.Function */ -.highlight .nl { color: #99f } /* Name.Label */ -.highlight .nn { color: #0cf; } /* Name.Namespace */ -.highlight .nt { color: #2f6f9f; } /* Name.Tag */ -.highlight .nv { color: #033 } /* Name.Variable */ -.highlight .ow { color: #000; } /* Operator.Word */ -.highlight .w { color: #bbb } /* Text.Whitespace */ -.highlight .mf { color: #f60 } /* Literal.Number.Float */ -.highlight .mh { color: #f60 } /* Literal.Number.Hex */ -.highlight .mi { color: #f60 } /* Literal.Number.Integer */ -.highlight .mo { color: #f60 } /* Literal.Number.Oct */ -.highlight .sb { color: #c30 } /* Literal.String.Backtick */ -.highlight .sc { color: #c30 } /* Literal.String.Char */ -.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #c30 } /* Literal.String.Double */ -.highlight .se { color: #c30; } /* Literal.String.Escape */ -.highlight .sh { color: #c30 } /* Literal.String.Heredoc */ -.highlight .si { color: #a00 } /* Literal.String.Interpol */ -.highlight .sx { color: #c30 } /* Literal.String.Other */ -.highlight .sr { color: #3aa } /* Literal.String.Regex */ -.highlight .s1 { color: #c30 } /* Literal.String.Single */ -.highlight .ss { color: #fc3 } /* Literal.String.Symbol */ -.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #033 } /* Name.Variable.Class */ -.highlight .vg { color: #033 } /* Name.Variable.Global */ -.highlight .vi { color: #033 } /* Name.Variable.Instance */ -.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */ - -.css .o, -.css .o + .nt, -.css .nt + .nt { color: #999; } diff --git a/site/_site/public/favicon.ico b/site/_site/public/favicon.ico deleted file mode 100644 index a758c7af44e6df74be04e34bffbb4c3c500c6dea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 315 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?i-EKU7`vU!wgU;46*#5? zX$3HD|21bWkg>|s#WBR=cydTkNXi1$gheY~E*9hA;*KzAO*=c|;hSe|nso*D?=6`U z!p7FNaHmb_ppe3ua906zo=5S5xr)o^8syO_PLHa(R4XtW3Dl zB$&X+J@M5Ap{D|07!UTCCD=)9O-PB_ka3Xdj7r7#dwZ{HhdbTaoOb5Gs)WP4N?js9 z{QFzICa?12AIp}He}9*+;gYkjYSBDlach(G)`lbohBs@?EO$?lWCyxhsVXF*Bsf2< zq&%@Gm4Tt+R - - - - - - - - - - - - - - - Sample rich text data · Polyglot - - - - - - - - - - - - - - - - - - - - - - -

- - -
-
-

Sample rich text data

-

hello, and welcome to a sample page
-enjoy your stay
-This sample text came from a .yml file
-html tags are preserved
-and links are relativized

- -
- -
- - - - diff --git a/site/_site/seo/index.html b/site/_site/seo/index.html deleted file mode 100644 index e009d256..00000000 --- a/site/_site/seo/index.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - SEO Recipes · Polyglot - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

SEO Recipes

-

Recipes for Search Engine Optimization using Polyglot

- -

If you have installed the jekyll-polyglot gem, these additions to your site header can easily provide your jekyll blog with Google-powered SEO bonuses.

- -

HTML Language Declaration

- -

Per W3C Internationalization Best Practices -you can set the default language of every page with a meta tag. Just add the following to your header:

- -
<meta http-equiv="Content-Language" content="{{site.active_lang}}">
- -

Multi-language SEO using hreflang alternate tags

- -

You can easily add hreflang alternate tags -to your site, achieving SEO with google multi-language searches. Add the following to your header:

- -
<link rel="alternate"
-      hreflang="{{site.default_lang}}"
-      href="http://yoursite.com{{page.permalink}}" />
-{% for lang in site.languages %}
-{% if lang == site.default_lang %}
-  {% continue %}
-{% endif %}
-<link rel="alternate"
-    hreflang="{{lang}}"
-    href="http://yoursite.com/{{lang}}{{page.permalink}}" />
-{% endfor %}
- -

All of the above

- -

You can get all of the above with a single tag added to your header.html:

- -
{% I18n_Headers https://untra.github.com/polyglot %}
- -

Just add the permanent url for your website and all of the above SEO will be added to each page in your website. -In 1.2.4, you can leave it empty, just calling

- -
{% I18n_Headers %}
- -

and it will default to your site.url

- -

With this SEO, each page click for one sites language will count towards the net clicks of all languages on the website.

- -
- -
- - - - From 2016efe87b20604364005cdc03289d4ca527d936 Mon Sep 17 00:00:00 2001 From: "sam.volin" Date: Wed, 19 Jul 2017 16:05:04 -0600 Subject: [PATCH 4/8] initial work on relative urls --- .rubocop.yml | 2 +- lib/jekyll/polyglot/liquid/tags/i18n-headers.rb | 6 +++--- lib/jekyll/polyglot/patches/jekyll/site.rb | 4 +--- lib/jekyll/polyglot/version.rb | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 027c7940..25123d65 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -69,7 +69,7 @@ Metrics/LineLength: - rake/*.rake - Gemfile - jekyll.gemspec - Max: 90 + Max: 100 Severity: warning Metrics/MethodLength: CountComments: false diff --git a/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb b/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb index 27aaf3c0..7b79d75d 100644 --- a/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb +++ b/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb @@ -12,14 +12,14 @@ def initialize(tag_name, text, tokens) def render(context) site = context.registers[:site] permalink = context.registers[:page]['permalink'] - siteUrl = (@url.empty?) ? site.config['url'] : @url + site_url = @url.empty? ? site.config['url'] : @url i18n = "" i18n += "\n" + "href=\" #{site_url}#{permalink}\" />\n" site.languages.each do |lang| next if lang == site.default_lang i18n += "\n" + "href=\" #{site_url}/#{lang}#{permalink}\" />\n" end i18n end diff --git a/lib/jekyll/polyglot/patches/jekyll/site.rb b/lib/jekyll/polyglot/patches/jekyll/site.rb index c2312da5..3557eb4f 100644 --- a/lib/jekyll/polyglot/patches/jekyll/site.rb +++ b/lib/jekyll/polyglot/patches/jekyll/site.rb @@ -125,9 +125,7 @@ def relative_url_regex @exclude.each do |x| regex += "(?!#{x}\/)" end - url_quoted = config['url'] - url_quoted = Regexp.quote(url_quoted) unless url_quoted.nil? - %r{href=\"(?:#{url_quoted})?#{@baseurl}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} + %r{href=\"?#{@baseurl}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} end def relativize_urls(doc) diff --git a/lib/jekyll/polyglot/version.rb b/lib/jekyll/polyglot/version.rb index cf53c064..81f7acb8 100644 --- a/lib/jekyll/polyglot/version.rb +++ b/lib/jekyll/polyglot/version.rb @@ -1,5 +1,5 @@ module Jekyll module Polyglot - VERSION="1.2.4" + VERSION = '1.3.0'.freeze end end From 2ca3c9150fd5914edf5f2ffd9cb86cfd5d4bc7f3 Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Sat, 22 Jul 2017 11:19:31 -0600 Subject: [PATCH 5/8] split absolute url parsing from relative url parsing * `absolute_url_regex` handles the matching of absolute urls that are not excluded or lang'd * `relative_url_regex` will no longer regex match absolute urls * `process_documents` will now instantiate the `relative_url_regex` and `absolute_url_regex`, and pass these into the processes responsible for `gsub!`ing the docs. Much faster. * fixed i18n_headers to whitespace avoid matching the default lang (`href=" http://..."` won't match) * cleaned up tests --- .../polyglot/liquid/tags/i18n-headers.rb | 10 ++-- lib/jekyll/polyglot/patches/jekyll/site.rb | 29 ++++++++++-- lib/jekyll/polyglot/version.rb | 2 +- .../polyglot/patches/jekyll/site_spec.rb | 47 ++++++++++++------- 4 files changed, 61 insertions(+), 27 deletions(-) diff --git a/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb b/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb index 7b79d75d..ebf4ad74 100644 --- a/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb +++ b/lib/jekyll/polyglot/liquid/tags/i18n-headers.rb @@ -13,13 +13,13 @@ def render(context) site = context.registers[:site] permalink = context.registers[:page]['permalink'] site_url = @url.empty? ? site.config['url'] : @url - i18n = "" - i18n += "\n" + i18n = "\n" + i18n += "\n" site.languages.each do |lang| next if lang == site.default_lang - i18n += "\n" + i18n += "\n" end i18n end diff --git a/lib/jekyll/polyglot/patches/jekyll/site.rb b/lib/jekyll/polyglot/patches/jekyll/site.rb index 3557eb4f..5e80f420 100644 --- a/lib/jekyll/polyglot/patches/jekyll/site.rb +++ b/lib/jekyll/polyglot/patches/jekyll/site.rb @@ -100,8 +100,15 @@ def coordinate_documents(docs) # performs any necesarry operations on the documents before rendering them def process_documents(docs) + return if @active_lang == @default_lang + url = config.fetch('url', false) + rel_regex = relative_url_regex + abs_regex = absolute_url_regex(url) docs.each do |doc| - relativize_urls doc + relativize_urls(doc, rel_regex) + if url + then relativize_absolute_urls(doc, abs_regex, url) + end end end @@ -128,9 +135,23 @@ def relative_url_regex %r{href=\"?#{@baseurl}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} end - def relativize_urls(doc) - return if @active_lang == @default_lang - doc.output.gsub!(relative_url_regex, "href=\"#{@baseurl}/#{@active_lang}/" + '\1"') + def absolute_url_regex(url) + regex = '' + @exclude.each do |x| + regex += "(?!#{x}\/)" + end + @languages.each do |l| + regex += "(?!#{l}\/)" + end + %r{href=\"?#{url}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} + end + + def relativize_urls(doc, regex) + doc.output.gsub!(regex, "href=\"#{@baseurl}/#{@active_lang}/" + '\1"') + end + + def relativize_absolute_urls(doc, regex, url) + doc.output.gsub!(regex, "href=\"#{url}/#{@active_lang}/" + '\1"') end end end diff --git a/lib/jekyll/polyglot/version.rb b/lib/jekyll/polyglot/version.rb index 81f7acb8..cf53c064 100644 --- a/lib/jekyll/polyglot/version.rb +++ b/lib/jekyll/polyglot/version.rb @@ -1,5 +1,5 @@ module Jekyll module Polyglot - VERSION = '1.3.0'.freeze + VERSION="1.2.4" end end diff --git a/spec/tests/lib/jekyll/polyglot/patches/jekyll/site_spec.rb b/spec/tests/lib/jekyll/polyglot/patches/jekyll/site_spec.rb index d28b3252..9839e278 100644 --- a/spec/tests/lib/jekyll/polyglot/patches/jekyll/site_spec.rb +++ b/spec/tests/lib/jekyll/polyglot/patches/jekyll/site_spec.rb @@ -1,5 +1,6 @@ -require "rspec/helper" +require 'rspec/helper' require 'ostruct' +# rubocop:disable BlockLength, LineLength describe Site do before do @config = Jekyll::Configuration::DEFAULTS.dup @@ -117,35 +118,47 @@ expect(@relative_url_regex).to_not match "href=\"#{baseurl}/css/stylesheet.css\"" end end + end + describe @absolute_url_regex do it 'must match absolute url' do @urls.each do |url| @site.config['url'] = url @site.prepare - @relative_url_regex = @site.relative_url_regex - expect(@relative_url_regex).to match "href=\"#{url}/javascript/65487-app.js\"" - expect(@relative_url_regex).to match "href=\"#{url}/images/my-vacation-photo.jpg\"" - expect(@relative_url_regex).to match "href=\"#{url}/css/stylesheet.css\"" + @absolute_url_regex = @site.absolute_url_regex(url) + expect(@absolute_url_regex).to match "href=\"#{url}/javascript/65487-app.js\"" + expect(@absolute_url_regex).to match "href=\"#{url}/images/my-vacation-photo.jpg\"" + expect(@absolute_url_regex).to match "href=\"#{url}/css/stylesheet.css\"" end end it 'must match absolute url' do @urls.each do |url| @site.config['url'] = url - @relative_url_regex = @site.relative_url_regex - expect(@relative_url_regex).to match "href=\"#{url}/javascript/65487-app.js\"" - expect(@relative_url_regex).to match "href=\"#{url}/images/my-vacation-photo.jpg\"" - expect(@relative_url_regex).to match "href=\"#{url}/css/stylesheet.css\"" + @absolute_url_regex = @site.absolute_url_regex(url) + expect(@absolute_url_regex).to match "href=\"#{url}/javascript/65487-app.js\"" + expect(@absolute_url_regex).to match "href=\"#{url}/images/my-vacation-photo.jpg\"" + expect(@absolute_url_regex).to match "href=\"#{url}/css/stylesheet.css\"" end end it 'must not match absolute url for another project' do @urls.each do |url| @site.config['url'] = url - @relative_url_regex = @site.relative_url_regex - expect(@relative_url_regex).to_not match "href=\"http://test_github.io/javascript/65487-app.js\"" - expect(@relative_url_regex).to_not match "href=\"http://test_github.io/images/my-vacation-photo.jpg\"" - expect(@relative_url_regex).to_not match "href=\"http://github.io/css/stylesheet.css\"" + @absolute_url_regex = @site.absolute_url_regex(url) + expect(@absolute_url_regex).to_not match 'href="http://test_github.io/javascript/65487-app.js' + expect(@absolute_url_regex).to_not match 'href="http://test_github.io/images/my-vacation-photo.jpg' + expect(@absolute_url_regex).to_not match 'href="http://github.io/css/stylesheet.css' + end + end + + it 'must not match whitespaced urls' do + @urls.each do |url| + @site.config['url'] = url + @absolute_url_regex = @site.absolute_url_regex(url) + expect(@absolute_url_regex).to_not match "href=\" #{url}/javascript/65487-app.js\"" + expect(@absolute_url_regex).to_not match "href=\" #{url}/images/my-vacation-photo.jpg\"" + expect(@absolute_url_regex).to_not match "href=\" #{url}/css/stylesheet.css\" " end end @@ -154,10 +167,10 @@ @site.baseurl = baseurl @urls.each do |url| @site.config['url'] = url - @relative_url_regex = @site.relative_url_regex - expect(@relative_url_regex).to match "href=\"#{url}#{baseurl}/javascript/65487-app.js\"" - expect(@relative_url_regex).to match "href=\"#{url}#{baseurl}/images/my-vacation-photo.jpg\"" - expect(@relative_url_regex).to match "href=\"#{url}#{baseurl}/css/stylesheet.css\"" + @absolute_url_regex = @site.absolute_url_regex(url) + expect(@absolute_url_regex).to match "href=\"#{url}#{baseurl}/javascript/65487-app.js\"" + expect(@absolute_url_regex).to match "href=\"#{url}#{baseurl}/images/my-vacation-photo.jpg\"" + expect(@absolute_url_regex).to match "href=\"#{url}#{baseurl}/css/stylesheet.css\"" end end end From b033972e934124c9d3f66cbc40f7ac314d7415fe Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Sat, 22 Jul 2017 12:06:07 -0600 Subject: [PATCH 6/8] added documentation --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b5c4398..8e8cbbca 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,13 @@ becomes Notice the link `...` directs to the french website. Even if you are falling back to `default_lang` page, relative links built on the *french* site will -still link to *french* pages. +still link to *french* pages.v + +#### Relativized Absolute Urls +If you defined a site `url` in your `_config.yaml`, polyglot will automatically relativize links pointing to your absolute site url. If you don't want them relativized, adding a space explicitly to an href prevents the the absolute url from being relativized. + +processed: `href="http://mywebsite.com/about"` +unprocessed: `href=" http://mywebsite.com/about"` #### Localized site.data From dceb57dcbfc7877a9f74afe1d4f0fd4c1666f61f Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Sat, 22 Jul 2017 12:55:43 -0600 Subject: [PATCH 7/8] cleaned up readme --- README.md | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e8cbbca..0a2f3ee2 100644 --- a/README.md +++ b/README.md @@ -90,13 +90,40 @@ becomes Notice the link `...` directs to the french website. Even if you are falling back to `default_lang` page, relative links built on the *french* site will -still link to *french* pages.v +still link to *french* pages. #### Relativized Absolute Urls -If you defined a site `url` in your `_config.yaml`, polyglot will automatically relativize links pointing to your absolute site url. If you don't want them relativized, adding a space explicitly to an href prevents the the absolute url from being relativized. +If you defined a site `url` in your `_config.yaml`, polyglot will automatically relativize absolute links pointing to your website directory: -processed: `href="http://mywebsite.com/about"` -unprocessed: `href=" http://mywebsite.com/about"` +```md +--- +lang: fr +--- +Cliquez [ici]({{site.url}}) pour aller à l'entrée du site. +``` +becomes +```html +

Cliquez ici pour aller à l'entrée du site. +``` + +#### Disabling Url Relativizing +If you don't want a url to be relativized, you can add a space explicitly into the href to prevents a url from being relativized by polyglot. + +For example, the following urls will be relativized: + +```html +href="http://mywebsite.com/about" +href="/about" +``` + +and the following urls will be left alone: + +```html +href=" http://mywebsite.com/about" +href=" /about" +``` + +combine with a [html minifier](https://github.com/digitalsparky/jekyll-minifier) for a polished and production ready website. #### Localized site.data From 2a26a02eef7b6c1cc41c00f03bde0e85aeeb104d Mon Sep 17 00:00:00 2001 From: Samuel Volin Date: Sat, 22 Jul 2017 13:16:47 -0600 Subject: [PATCH 8/8] fixed missing baseurl from absolute regex --- lib/jekyll/polyglot/patches/jekyll/site.rb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/jekyll/polyglot/patches/jekyll/site.rb b/lib/jekyll/polyglot/patches/jekyll/site.rb index 5e80f420..a5a4270e 100644 --- a/lib/jekyll/polyglot/patches/jekyll/site.rb +++ b/lib/jekyll/polyglot/patches/jekyll/site.rb @@ -129,7 +129,7 @@ def document_url_regex # avoids matching excluded files def relative_url_regex regex = '' - @exclude.each do |x| + (@exclude + @languages).each do |x| regex += "(?!#{x}\/)" end %r{href=\"?#{@baseurl}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} @@ -137,13 +137,10 @@ def relative_url_regex def absolute_url_regex(url) regex = '' - @exclude.each do |x| + (@exclude + @languages).each do |x| regex += "(?!#{x}\/)" end - @languages.each do |l| - regex += "(?!#{l}\/)" - end - %r{href=\"?#{url}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} + %r{href=\"?#{url}#{@baseurl}\/((?:#{regex}[^,'\"\s\/?\.#]+\.?)*(?:\/[^\]\[\)\(\"\'\s]*)?)\"} end def relativize_urls(doc, regex) @@ -151,7 +148,7 @@ def relativize_urls(doc, regex) end def relativize_absolute_urls(doc, regex, url) - doc.output.gsub!(regex, "href=\"#{url}/#{@active_lang}/" + '\1"') + doc.output.gsub!(regex, "href=\"#{url}#{@baseurl}/#{@active_lang}/" + '\1"') end end end