linking the author location in profile/meta.html #266
chrisrummel
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I think to modify the above code as following will solve this issue: <div class="profile-location"><i class="fas fa-fw fa-map-marker-alt"></i>{{ . | safeHTML }}</div> It treats the location as safe HTML, so that the location can contain any valid HTML tags. Does this met your need? PR are welcome. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tweaked layouts/partials/sidebar/profile/meta.html to turn the authors location, as given in config/_default/author.toml, into a link to a map-service. I've hardcoded OpenStreetMap, but it could easily be changed to something else, like GMaps, and it could even be configured in the config.
Would that be interesting so I should push it?
Beta Was this translation helpful? Give feedback.
All reactions