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 · 623 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, 4 days ago
3 92 59 minutes ago
General · by Old Man Umby, 2 days ago
1 60 2 days ago
General · by Sebastian, 4 days ago
1 81 4 days ago
General · by Andy Miller, 2 weeks ago
0 216 2 weeks ago
General · by ready-4-IT, 6 months ago
1 716 3 weeks ago