Code Monkey home page Code Monkey logo

jekyll-author-plugin's People

Contributors

chandlewei avatar endlos avatar fasih avatar leenasn avatar martinthoma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jekyll-author-plugin's Issues

Author meta information

I currently have two author pages:

The first one is a simple post, the second one was automatically created.

The advantage of the first one is that it allows me to add some text / images that might make it more interesting to read the author page. Also, I can add meta information like a link to my Goolge+ profile / Twitter profile.

The advantage of the second one is that it shows other articles written by me. This might especially be interesting in blogs / sites with multiple authors.

So I would like to combine them. I think it could work like that:

  • Create a folder author with content sluggified author name (e.g. in my case: martin-thoma.md)
  • Metadata can be written in Yaml front matter
  • Give an paginated "author pages" tag like authorpaginator.posts so that I can create templates like this:
<h2>Posts by {% author %}</h2>
{% for post in authorpaginator.posts %}
    <div class="post type-post hentry clearfix">
        <h2 class="title"><a href="{{ site.baseurl }}{{ post.url }}/" rel="bookmark" title="Permanent link to '{{ post.title }}'">{{ post.title }}</a></h2>
        <div class="postdate">
            <span>{{ post.date | date: '%B' }} {{ post.date | date: '%e' }}, {{ post.date | date: '%Y' }}</span> 
            <!--<span>No Comments / 1 comment / 2 comments</span>-->
        </div>

        {% include entry.html %}
    </div>
{% endfor %}

Deprecation with posts in Jekyll 3

I started getting a warning on jekyll serve:

Deprecation: Collection#each should be called on the #docs array directly.
Called by /my-project/_plugins/author_generator.rb:76:in `write_author_indexes'.

I googled around a bit and found that it has something to do with posts being considered documents in Jekyll 3 (asciidoctor/jekyll-asciidoc#35)

I resolved the issue simply by changing line 76 on my local to say: self.posts.docs.each do |post| however there should be a conditional check for jekyll 3 to allow for backwards compatibility. While I'm slowly teaching myself ruby, I am by no means good at it, and have no idea how to do a conditional check.

Depending on how quickly this issue is tackled, I'll fork and attempt to tackle this myself!

Fails on build

Hey there,

I followed the usage instructions, but get tis on build:

Liquid Exception: Included file '/Users/casey/Dropbox/-- Dear Cast and Crew/Website/2014 Redesign/dcac.github.io/_includes/archive_post.html' not found in authors/jared-young/index.html

I'm pretty new to Jekyll, and not sure what the correct fix would be - any help is appreciated.

Thanks!

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.