Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Pinpress Author Description

Started by Karibu 9 years ago · 2 replies · 627 views
9 years ago

Hi,

These values are set in the article, while in expert mode with something like this

YAML
author:
  logo: /yourimage.jpg
  url: www.karibu.com
  name: Kar Ibu

You can also add this instead to your site.yaml, in order to have a default site-wide author as a default.

Related twig is here: https://github.com/getgrav/grav-theme-pinpress/blob/develop/templates/partials/blog_item.html.twig#L157

9 years ago

Thank you Paul,
It works well know.

Actually when I imported all my articles from Wordpress, it assigned an author (Same name) to all articles, but no description, etc... I guess the priority goes to the setting in the page first, then from the site.yaml.

All good

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 124 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 2 weeks ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago