generated from imfing/hextra-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rough attempt at providing per publication page
at least it shows posibility to link to each author page. Ideally a theme or some precooked elements would be used to provide us all nice rendering elements
- Loading branch information
1 parent
45985ea
commit 8def3fe
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Authors of ReproNim and related publications | ||
ordersectionsby: title | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,4 +69,5 @@ deployment: | |
|
||
taxonomies: | ||
author: authors | ||
publication: publications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{ define "main" }} | ||
<article> | ||
<h1>{{ .Title }}</h1> | ||
<p>By: | ||
{{ range $index, $author := .Params.authors }} | ||
{{ if $index }}, {{ end }} | ||
<a href="{{ "/authors/" | relURL }}{{ $author | urlize }}">{{ $author }}</a> | ||
{{ end }} | ||
</p> | ||
<p>{{ .Date.Format "January 2, 2006" }}</p> | ||
<div> | ||
{{ .Content }} | ||
</div> | ||
</article> | ||
{{ end }} |