Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Pinpress Author Description

Started by Karibu 9 years ago · 2 replies · 659 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 lynbor, 3 weeks ago
3 352 3 days ago
General · by lynbor, 1 week ago
7 387 3 days ago
General · by Harry, 3 days ago
0 83 3 days ago
General · by Old Man Umby, 3 weeks ago
2 256 2 weeks ago
General · by jeremycherfas, 3 weeks ago
5 374 2 weeks ago