Track3 hace 3 años
padre
commit
150c7fd563
Se han modificado 3 ficheros con 4 adiciones y 8 borrados
  1. 2 2
      config.toml
  2. 1 3
      layouts/_default/single.html
  3. 1 3
      layouts/posts/single.html

+ 2 - 2
config.toml

@@ -59,8 +59,8 @@ googleAnalytics = "UA-125057333-1"
     weight = 20
 
   [[menu.main]]
-    name = "Friends"
-    url = "/friends/"
+    name = "Links"
+    url = "/links/"
     weight = 30
 
   [[menu.main]]

+ 1 - 3
layouts/_default/single.html

@@ -1,7 +1,5 @@
 {{ define "head" }}
-	{{ if .Params.featuredImg -}}
-	<style>:root{ --bg-img: url({{.Params.featuredImg | absURL}});}</style>
-	{{- else if .Params.images -}}
+	{{ if .Params.images -}}
 		{{- range first 1 .Params.images -}}
 		<style>:root{ --bg-img: url({{. | absURL}});}</style>
 		{{- end -}}

+ 1 - 3
layouts/posts/single.html

@@ -1,7 +1,5 @@
 {{ define "head" }}
-	{{ if .Params.featuredImg -}}
-	<style>:root{ --bg-img: url({{.Params.featuredImg | absURL}});}</style>
-	{{- else if .Params.images -}}
+	{{ if .Params.images -}}
 		{{- range first 1 .Params.images -}}
 		<style>:root{ --bg-img: url({{. | absURL}});}</style>
 		{{- end -}}