A SEO-optimized project template for Middleman, the amazing static site building tool.
Confused about what it means to SEO-optimize your site from a technical perspective? Read this.
- Simple
- Grokkable
- Out of the box search engine and social media optimizations
SEO Features
- Comprehensive meta tags for search engines and social media platforms
- Easily manage critical site-wide information in data/site.yml
- Customizable page-level title, description, and image via Frontmatter
- Sitemaps generated in both HTMLandXML
- Accurate social share URL template helpers
- Customizable robots.txtgeneration via middleman-robots
- Preferred URL (rel="canonical") for any page by setting thepreferred_urlkey in the page's frontmatter- Example: preferred_url: http://medium.com/article-namewill produce<link href="http://medium.com/article-name" rel="canonical">
 
- Example: 
Other Features
- Optionally manage frontend dependencies via Bower
- Install package: bower install package-name -S
- The bower package is automatically imported into asset pipeline
- Include them directly in your javascript or Sass file
 
- Install package: 
Clone this repo into your ~/.middleman directory as "seo"
git clone [email protected]:secretsaucehq/middleman-seo.git ~/.middleman/seo
Now you can simply init new projects with the "seo" template:
middleman init my-project --template=seo 
This template uses Bower to manage JavaScript and CSS packages. Install these before Middleman can build your site:
bower install
Just don't forget to update ~/.middleman/seo every now and then.
- SEO optimize the Middleman blog extension.