Project Overview
This is an Eleventy (11ty) static site generator project for smartseohosting.net, a multilingual SEO hosting service website. The project uses Eleventy v2.0.1 with extensive internationalization support for 18+ languages.
Commands
Architecture
Core Technologies
- Static Site Generator: Eleventy 2.0.1 with liquid/njk templating
- Styling: Tailwind CSS 3.4.0 with PostCSS, custom SCSS modules
- JavaScript Bundling: esbuild for app.js bundling
- Internationalization: Custom i18n plugin (eleventy-plugin-i18n-gettext) with PO file support
Project Structure
src/
- Source files for the site_layouts/
- Liquid/Nunjucks layout templates_posts/
- Blog posts organized by language (en/, fr/, de/, etc.)_kbs/
- Knowledge base articles by language_data/
- Global data files (sites.yml, languages.yml, etc.)_assets/
- Source styles and scriptsstylesheets/style.css
- Main stylesheet entry (imports Tailwind and SCSS)javascripts/app.js
- Main JavaScript entry
_config/
- Per-domain configuration files (_config_com.yml, _config_net.yml, etc.)images/
- Static imagesstatic/
- Compiled assets output
Key Features
- Multi-domain Support: Single codebase serves multiple domains (.com, .net, .io, etc.) with per-domain configs
- Multilingual: 18+ language support with automatic language routing
- Dynamic Collections: Posts, knowledge base articles, and categories
- Image Optimization: Using @11ty/eleventy-img for responsive images
- Wiki Links: Custom markdown-it plugin for wiki-style internal linking
- Git-based Modification Dates: Caches last git modification dates for content
Important Files
.eleventy.js
- Main Eleventy configuration with custom filters, shortcodes, and pluginspackage.json
- Build scripts and dependenciestailwind.config.js
- Tailwind configuration with custom theme colors and fontspostcss.config.js
- PostCSS pipeline configuration
Custom Eleventy Filters & Shortcodes
slugify
- URL slug generation with language supportimagePath
, imageResizePath
- Image optimization helperslastModification
- Git-based modification date- Wiki shortcode
<a href="term">term</a>
- Internal wiki linking - Card shortcodes for styled content blocks
Development Notes
- The site uses a custom caching system for git modification dates (
.modDatesCache.json
) - HTML minification is optional via
MINIFY_HTML
environment variable - Development mode includes all Tailwind classes via safelist
- Production builds are optimized with PurgeCSS and minification
Business Notes
- The business provides “seo hosting” packages. These are web hosting reseller packages based on cPanel/WHM, optimized for SEO agencies and professionals.
- Each package includes multiple IP addresses from different datacenters and with different c-class, b-class, and a-class IP addresses.
- When it comes to SEO Hosting and IP classes the definition of different class is loosely based on IP network subclasses in a way that if 2 IPs do not share the same octet are considered from different A class or when the first 2 octets do not match are from different B class and so on.