eueung / hugo-casper-two

Port of Casper 2.x to Hugo
MIT License
141 stars 116 forks source link

Authors Page? #3

Open HorribleGeek opened 6 years ago

HorribleGeek commented 6 years ago

Where's the code for telematika.org?

https://www.telematika.org/author/em/ - I would love to have authors page like this!

eueung commented 6 years ago

Hi @HorribleGeek , author page is not yet merged to this repo .. need more time :-)

chrisstayte commented 6 years ago

We gonna get this? :)

jazzi commented 6 years ago

Looking forward to it.

shnek commented 6 years ago

I have implemented the authors page myself, if you guys want to check it out right now: Author-page I will create a pull request to the main repository once my other pull request (that is required for this to work) is accepted. Quick note how to configure the authors. config.toml should have:

[[params.authors]] nick = "nick" name = "Full Name" github = "shnek" location = "New York, NY" image = "/images/shnek.jpg" background = "/images/shnek-background.jpg" [[params.authors]] nick = "other" name = "Other Author" ...

Each post on the other hand should have a variable to set to author nick:

layout: post title: "Whatever" date: 2018-04-26T13:55:00-04:00 authors: nick author: "Full Name"

And then you can reach the author page, by using the link http://yourblog.com/authors/nick