feat: update References section with formatted text, bold links, and dynamic CV links

This commit is contained in:
juanatsap
2025-11-07 18:40:02 +00:00
parent ab68078c48
commit c77ba32780
4 changed files with 58 additions and 37 deletions
+1 -1
View File
@@ -211,7 +211,7 @@
<h3 class="section-title">{{if eq .Lang "es"}}Referencias{{else}}References{{end}}</h3>
{{range .CV.References}}
<div class="reference-item">
<a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.Title}}</a><br>
{{if .TextBefore}}{{.TextBefore}} {{end}}<a href="{{.URL}}" target="_blank" rel="noopener noreferrer"><strong>{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}</strong></a>{{if .TextAfter}} {{.TextAfter}}{{end}}<br>
<small class="ref-type">({{.Type}})</small>
</div>
{{end}}