Posts have bookmarks - links to other posts. It worked before I switched to page budle. How to modify bookmark shortcode to make it work with this:
{{< bookmark url=“/postname_rel_url_aka_slug/” >}}
I tried with this, but no luck
{{- with .Site.GetPage "url" -}}
<figure class="fg-bookmark"><a href="{{ .RelPermalink }}"><div class="fg-bookmark-content"><div class="fg-bookmark-title">{{ .Params.title }}</div><div class="fg-bookmark-description">{{ .Summary }}</div><div class="fg-bookmark-website"><img src="/icons/favicon/favicon-16x16.png" class="fg-bookmark-icon"><span class="fg-bookmark-sitename">{{ site.Title }}</span></div></div>
{{ with .Get "thumbnail" }}
<div class="fg-bookmark-thumbnail"><img src="{{ .Params.image }}"></div>
{{ end }}</a>
</figure>
{{ end }}
The .GetPage methods on .Page and .Site look for a page based on the content path, not the URL.
{{ site.GetPage "/postname/" }} looks for a section named postname in the root of the content directory.
{{ site.GetPage "/postname" }} looks for a page (either regular or a page bundle) named postname in the root of the content directory. The file extension is optional.