<h2 class="commit-metadata">{{message}}</h2>
<div class="commit-metadata">
    {{#if _links.cont:author.href}}
        <a href="{{_links.cont:author.href}}" title="{{email}}">{{author}}</a>
    {{else}}
        <span title="{{email}}">{{author}}</span>
    {{/if}}
    wrote <a href="{{_links.self.href}}">
        <time datetime="{{isodate date}}" title="{{date date}}">{{since date}}</time>
    </a>
    {{#if parents}}
        <span class="parents">
            {{count parents "parent"}}
            {{#each _links.cont:parent}}
                <a href="{{href}}">{{truncate title 8}}</a>
            {{/each}}
        </span>
    {{/if}}
</div>
<h2 class="commit-metadata">{{message}}</h2>
<div class="commit-metadata">
    {{#if _links.cont:author.href}}
        <a href="{{_links.cont:author.href}}" title="{{email}}">{{author}}</a>
    {{else}}
        <span title="{{email}}">{{author}}</span>
    {{/if}}
    wrote <a href="{{_links.self.href}}">
        <time datetime="{{isodate date}}" title="{{date date}}">{{since date}}</time>
    </a>
    {{#if parents}}
        <span class="parents">
            {{count parents "parent"}}
            {{#if _links.cont:parent.href}}
                <a href="{{_links.cont:parent.href}}">{{truncate _links.cont:parent.title 8}}</a>
            {{else}}
                {{#each _links.cont:parent}}
                    <a href="{{href}}">{{truncate title 8}}</a>
                {{/each}}
            {{/if}}
        </span>
    {{/if}}
</div>
Add parent link case for commit having one parent
Add parent link case for commit having one parent
