Code Monkey home page Code Monkey logo

railstophoenix.com's Introduction

middleman-seo

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.

Design goals

  • Simple
  • Grokkable
  • Out of the box search engine and social media optimizations

Features

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 HTML and XML
  • Accurate social share URL template helpers
  • Customizable robots.txt generation via middleman-robots
  • Preferred URL (rel="canonical") for any page by setting the preferred_url key in the page's frontmatter
    • Example: preferred_url: http://medium.com/article-name will produce <link href="http://medium.com/article-name" rel="canonical">

Other Features

  • Optionally manage frontend dependencies via Bower
    1. Install package: bower install package-name -S
    2. The bower package is automatically imported into asset pipeline
    3. Include them directly in your javascript or Sass file

Dependencies

Usage

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.

TODO's

  • SEO optimize the Middleman blog extension.

railstophoenix.com's People

Contributors

lordhumunguz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.