-
Beta Was this translation helpful? Give feedback.
Answered by
jpanther
Sep 28, 2021
Replies: 1 comment 3 replies
-
Thanks for the question. While it's not possible to link directly to a partial in Hugo, you can create your own layout for an about page that will include the profile. There's a couple of ways you could achieve this but you'll need to do something like the following:
---
title: About
---
{{ define "main" }}
{{ partial "partials/home/profile.html" . }}
{{ end }}
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Sevichecc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the question. While it's not possible to link directly to a partial in Hugo, you can create your own layout for an about page that will include the profile. There's a couple of ways you could achieve this but you'll need to do something like the following:
content/about/_index.md
layouts/about/list.html
pageRef = "about"