Overview
Polyglot Jekyll is a versatile boilerplate designed for users looking to create a multi-language website using Jekyll. Emphasizing simplicity, it strips away unnecessary complexities, making it easy to get started with just the essentials needed to build a multilingual site. The approach taken in this framework allows for effective separation of content from presentation, aligning with best practices in web development.
This starter kit not only provides a foundation for your multi-language project but also serves as a practical demonstration of using Jekyll’s capabilities effectively. With a straightforward file structure and minimal dependencies, building a website with support for multiple languages has never been more straightforward.
Features
- Simplicity: The boilerplate code is intentionally minimal, requiring no complex build processes, making it accessible for beginners.
- Language Structure: Organizes multilingual content in dedicated directories, keeping the main site root clean and intuitive.
- Flexible Metadata: Allows setting language and page handles in YAML frontmatter, making each page customizable for the language it supports.
- Content Management: Site-wide content can be managed through a centralized
_config.yml, enabling easy access to translated strings via Liquid’s hash notation. - Organized Content: Supports straightforward markdown content addition for each page, ensuring clarity and ease of use with the
{{/* content */}}variable. - Conditional Navigation: Implements a simple method for navigation menus that filters pages based on the current language, ensuring users only see relevant content.
- No External Dependencies: Built without reliance on additional build tools, allowing for a more streamlined setup process.