Update to Goldmark

main
Marc Riera Irigoyen 2020-05-31 18:29:23 +02:00
parent ade1bdd37f
commit 01e79c10cc
5 changed files with 15 additions and 10 deletions

View File

@ -4,6 +4,7 @@ theme = "marcriera"
DefaultContentLanguage = "ca"
removePathAccents = true
enableRobotsTXT = true
disableKinds = ["taxonomy", "taxonomyTerm"]
[params]
name = "Marc Riera Irigoyen"
@ -11,3 +12,8 @@ enableRobotsTXT = true
logoimage = "images/logo.png"
description = "Translator and localizer"
description2 = "EN,RO > CA,ES"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

View File

@ -1,19 +1,14 @@
---
---
<center>
**Contact:**
<img src="/images/icon-mail.png" alt="E-mail:" height="32" width="32" style="vertical-align:middle"> <a href="mailto:contacte@mrtraduccions.cat"target="_blank">contacte@mrtraduccions.cat</a>
![E-mail](/images/icon-mail.png) [contacte@mrtraduccions.cat](mailto:contacte@mrtraduccions.cat)
<img src="/images/icon-phone.png" alt="Phone:" height="32" width="32" style="vertical-align:middle"> (+34) 652 492 008
![Phone:](/images/icon-phone.png) (+34) 652 492 008
&nbsp;
<a href="/images/rutes/l3/1.png" target="_blank"></a>
![Twitter:](/images/icon-twitter.png) [@marcrierai](https://www.twitter.com/marcrierai)
<img src="/images/icon-twitter.png" alt="Twitter:" height="32" width="32" style="vertical-align:middle"> <a href="https://www.twitter.com/marcrierai"target="_blank">@marcrierai</a>
<img src="/images/icon-linkedin.png" alt="LinkedIn:" height="32" width="32" style="vertical-align:middle"> <a href="https://www.linkedin.com/in/marc-riera-irigoyen/"target="_blank">Marc Riera Irigoyen</a>
</center>
![LinkedIn:](/images/icon-linkedin.png) [Marc Riera Irigoyen](https://www.linkedin.com/in/marc-riera-irigoyen/)

View File

@ -0,0 +1 @@
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" height="32" width="32" style="vertical-align:middle">

View File

@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>

View File

@ -4,7 +4,7 @@
<title>{{ .Site.Title }} - {{ .Site.Params.Description }}</title>
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/theme.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0">
{{ .Hugo.Generator }}
{{ hugo.Generator }}
</head>
<body>
@ -28,7 +28,9 @@
<div id="content">
<center>
{{ .Content }}
</center>
</div>
<div id="footer">