Open ghost opened 3 years ago
Hi,
urls in the tagline are currently unsupported, but you could try to implement support for yourself by overriding projects.html in the site project (layouts/partials/projects.html) with something like the following:
<section class="project-section py-3">
<h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "projects" }}</h3>
{{ range .Site.Params.projects.list }}
<div class="item mb-3">
<div class="item-heading row align-items-center mb-2">
<h4 class="item-title col-12 col-md-6 col-lg-8 mb-2 mb-md-0">{{ .title }}</h4>
<div class="item-meta col-12 col-md-6 col-lg-4 text-muted text-left text-md-right">{{ .meta }}</div>
</div>
<div class="item-content">
<p>{{ .tagline | safeHTML }}</p>
</div>
</div><!--//item-->
{{ end }}
</section><!--//project-section-->
and then you can add a 'some site' to your tagline. I will try to add support for this in the next version which is coming soon, but until then, this may help you.
Let me know how it goes.
J.K.
Ok i'll try, what sintax i have to use in config file for links?
@Idle42 Just insert the link how you would in an html document (within 'a' tag). More info here: https://gohugo.io/functions/safehtml/
Hi, i can't undestand how to insert a url link in projects tagline (in config.toml), i've tried to modify projects.html in layouts/partial or use differt syntax.