Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Pinpress Author Description

Started by Karibu 8 years ago · 2 replies · 483 views
8 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

8 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 Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 16 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago