Skip to content

wireload/middleman-blog-authors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Middleman-Blog-Authors

Installation

In your Gemfile:

gem "middleman-blog-authors"

Configuration

In your config.rb:

activate :authors

In your blog posts, add authors to the metadata:

---
title: Building Middleman Addons
date: 2013-07-17
authors: Darby Frey
---

Create a template for the author page:

author.html.haml

---
title: #{author.name}
pageable: true
per_page: 10
---

%h1= author.name

%ul
  - page_articles.each do |article|
    %li= link_to article.title, article

About

A Middleman extension to add author profile pages to a blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%