feat: remove Commando project, add Gotify Commander logo, drolosoft linked
- Remove unreleased Commando project from CV - Add gotify-commander.png logo from GitHub repo - "drolosoft" lowercase with link to drolosoft.com in summary - Replace Certifications chip with Open source chip in chat
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"html/template"
|
||||
"log"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/juanatsap/cv-site/internal/config"
|
||||
@@ -63,6 +64,10 @@ func (m *Manager) loadTemplatesLocked() error {
|
||||
"safeHTML": func(s string) template.HTML {
|
||||
return template.HTML(s)
|
||||
},
|
||||
// replaceDrolosoft links "drolosoft" in the summary text
|
||||
"replaceDrolosoft": func(s string) string {
|
||||
return strings.Replace(s, "drolosoft", `<a href="https://drolosoft.com" target="_blank" rel="noopener noreferrer">drolosoft</a>`, 1)
|
||||
},
|
||||
// dict creates a map from key-value pairs for passing to sub-templates
|
||||
"dict": func(values ...interface{}) (map[string]interface{}, error) {
|
||||
if len(values)%2 != 0 {
|
||||
|
||||
Reference in New Issue
Block a user