mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 21:49:54 +03:00
Compare commits
7 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3b958dcaf5 | ||
![]() |
51cbe9e3d5 | ||
![]() |
6166d5345e | ||
![]() |
fdfbe02612 | ||
![]() |
1e0a08e276 | ||
![]() |
4a782a06da | ||
![]() |
c27d513e2c |
3 changed files with 8 additions and 6 deletions
2
USERS.md
2
USERS.md
|
@ -11,3 +11,5 @@
|
||||||
- https://nykenik24.github.io, **Nykenik24**, Hobby programmer
|
- https://nykenik24.github.io, **Nykenik24**, Hobby programmer
|
||||||
- https://rahulpat1l.github.io/, **Rahul Patil**, Student
|
- https://rahulpat1l.github.io/, **Rahul Patil**, Student
|
||||||
- https://blog.borber.top, **Borber**, Software Engineer
|
- https://blog.borber.top, **Borber**, Software Engineer
|
||||||
|
- https://evenlangas.no, **Even Falkenberg Langås**, Mechatronics Software Engineer
|
||||||
|
- https://linh.nguyen.be, **Linh Nguyen**, Software Engineer
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}"/>
|
<link rel="canonical" href="{{ .Permalink }}"/>
|
||||||
|
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "partials/opengraph.html" . }}
|
||||||
|
|
||||||
{{ partialCached "head/css.html" . }}
|
{{ partialCached "head/css.html" . }}
|
||||||
{{ partialCached "head/js.html" . }}
|
{{ partialCached "head/js.html" . }}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
{{- range . | first 6 }}
|
{{- range . | first 6 }}
|
||||||
<meta property="og:image" content="{{ .Permalink }}">
|
<meta property="og:image" content="{{ .Permalink }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else -}}
|
{{- else }}
|
||||||
|
|
||||||
{{- /*
|
{{- /*
|
||||||
Source modified to load `assets/images/og-image.{webp,png,jpg}` files if any of them exists.
|
Source modified to load `assets/images/og-image.{webp,png,jpg}` files if any of them exists.
|
||||||
|
@ -52,11 +52,11 @@
|
||||||
as using an external service.
|
as using an external service.
|
||||||
*/ -}}
|
*/ -}}
|
||||||
|
|
||||||
{{- if (and (or .IsHome .IsPage) (templates.Exists "partials/head/og-image.html")) -}}
|
{{- if templates.Exists "partials/head/og-image.html" }}
|
||||||
{{- $ogImage := partial "head/og-image.html" . -}}
|
{{- $ogImage := partial "head/og-image.html" . | strings.TrimSpace }}
|
||||||
{{- with $ogImage -}}
|
{{- with $ogImage }}
|
||||||
<meta property="og:image" content="{{ . }}">
|
<meta property="og:image" content="{{ . }}">
|
||||||
{{- end -}}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue