drpheltright/pieces

View on GitHub
examples/rails_app/config/pieces.yml

Summary

Maintainability
Test Coverage
_global:
  title: 'Your Site!!'
  footer: 'Hey'

_publish:
  - type: github
    remote: https://github.com/drpheltright/pieces.git

index:
  _pieces:
    - layouts/pieces:
        _pieces:
          - _header:
              _pieces:
                - _branding: {}
          - articles/_summary:
              article:
                title: 'A standard article summary'
                excerpt: 'This summary does not deserve any special attention.'
          - articles/_summary:
              modifier: '--latest'
              article:
                title: 'Building systems with styleguides'
                excerpt: 'PSDs or one off website builds are not quite a thing of the past but they certainly are not what all clients want these days.'
          - _footer:
              contact_links:
                - ['Email', 'mailto:lukemorton.dev@gmail.com']
                - ['Twitter', 'https://twitter.com/lukemorton']