GithubHelp home page GithubHelp logo

landonmarder / middleman-blog-authors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bellycard/middleman-blog-authors

0.0 1.0 0.0 119 KB

A Middleman extension to add author profile pages to a blog

Ruby 100.00%

middleman-blog-authors's Introduction

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. If this is not your default template, put it in source/layouts:

source/layouts/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

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.