OpenGraph, fichiers manquants et peaufinage
This commit is contained in:
parent
8f9c93965a
commit
177e0b47c9
9 changed files with 22 additions and 7 deletions
BIN
static/css/leaflet@1.6.0/dist/images/layers-2x.png
vendored
Normal file
BIN
static/css/leaflet@1.6.0/dist/images/layers-2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
static/css/leaflet@1.6.0/dist/images/layers.png
vendored
Normal file
BIN
static/css/leaflet@1.6.0/dist/images/layers.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 696 B |
BIN
static/css/leaflet@1.6.0/dist/images/marker-icon-2x.png
vendored
Normal file
BIN
static/css/leaflet@1.6.0/dist/images/marker-icon-2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
static/css/leaflet@1.6.0/dist/images/marker-icon.png
vendored
Normal file
BIN
static/css/leaflet@1.6.0/dist/images/marker-icon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
static/css/leaflet@1.6.0/dist/images/marker-shadow.png
vendored
Normal file
BIN
static/css/leaflet@1.6.0/dist/images/marker-shadow.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 618 B |
|
@ -5,13 +5,16 @@ body { font-family: 'Noto Serif KR', sans-serif; }
|
||||||
.dropdown-item em { color: gray; }
|
.dropdown-item em { color: gray; }
|
||||||
#mapid { height: 75vh; }
|
#mapid { height: 75vh; }
|
||||||
.carousel-control-prev, .carousel-control-next { opacity: 0; }
|
.carousel-control-prev, .carousel-control-next { opacity: 0; }
|
||||||
.home-columns .card-img-overlay { height: 100%; }
|
.home-columns .card-img-overlay { height: 100%; padding: 0; }
|
||||||
.home-columns .card-img-overlay:hover { background-color: rgba(0, 0, 0, 0.5); }
|
.home-columns .card-img-overlay:hover { background-color: rgba(0, 0, 0, 0.5); }
|
||||||
.home-columns .card-img-overlay h5 {
|
.home-columns .card-img-overlay h5 {
|
||||||
position: absolute; top: 50%; transform: translateY(-50%); margin: 0 1.25rem 0 0;
|
position: absolute; bottom: 0; padding: 1rem; margin: 0; width: 100%;
|
||||||
color: #ddd; font-weight: bold; text-shadow: black 0 0 1px;
|
color: #ccc; font-size: 1rem; font-weight: bold; text-align: center;
|
||||||
|
background-color: rgba(0,0,0,0.5)
|
||||||
|
}
|
||||||
|
.home-columns .card-img-overlay:hover h5 {
|
||||||
|
color: white; background-color: transparent; bottom: unset; top: 50%; transform: translateY(-50%);
|
||||||
}
|
}
|
||||||
.home-columns .card-img-overlay:hover h5 { color: white; }
|
|
||||||
.card-columns.home-columns { column-count: 2; }
|
.card-columns.home-columns { column-count: 2; }
|
||||||
@media (min-width: 576px) {
|
@media (min-width: 576px) {
|
||||||
.card-columns.home-columns {
|
.card-columns.home-columns {
|
||||||
|
|
BIN
static/images/SpaceFoxKR.png
Normal file
BIN
static/images/SpaceFoxKR.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
1
static/robots.txt
Normal file
1
static/robots.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
User-agent: *
|
|
@ -1,10 +1,10 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="fr">
|
<html lang="fr" prefix="og: http://ogp.me/ns#">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="language" content="fr">
|
<meta name="language" content="fr">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="description" content="{{ if .IsPage }}{{ if .Params.summary }}{{ .Params.summary | markdownify }}{{ else }}{{ if .Truncated }}{{ .Summary }}{{ else }}{{ .Content }}{{ end }}{{ end }}{{ else }}{{ if .IsHome }}{{ else }}{{ .Title }} — {{ end }}Photographies de Corée du Sud, par SpaceFox{{ end }}">
|
<meta name="description" content="{{ if .IsPage }}{{ if .Params.img }}Photo : {{ end }}{{ .Title }}{{ else }}{{ if .IsHome }}Accueil{{ else }}{{ .Title }}{{ end }}{{ end }} – Photographies de voyage en Corée du Sud, par SpaceFox, sous licence libre (CC BY 4.0)">
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||||
|
@ -17,7 +17,18 @@
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||||
<meta property="og:url" content="{{ .Permalink }}"/>
|
<meta property="og:url" content="{{ .Permalink }}"/>
|
||||||
<meta property="og:locale" content="fr"/>
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:title" content="{{ .Title }}" />
|
||||||
|
<meta property="og:description" content="{{ if .IsPage }}{{ if .Params.img }}Photo : {{ end }}{{ .Title }}{{ else }}{{ if .IsHome }}Accueil{{ else }}{{ .Title }}{{ end }}{{ end }} – Photographies de voyage en Corée du Sud, par SpaceFox, sous licence libre (CC BY 4.0)" />
|
||||||
|
<meta property="og:image" content="{{ .Site.BaseURL }}{{ if .Params.img }}images/2k/{{ .Params.img }}.jpg{{ else if .Params.homeimg }}images/2k/{{ .Params.homeimg }}.jpg{{ else }}images/SpaceFoxKR.png{{ end }}" />
|
||||||
|
{{ if .Params.img }}
|
||||||
|
<meta property="og:image:width" content="{{ .Params.width2k }}"/>
|
||||||
|
<meta property="og:image:height" content="{{ .Params.height2k }}"/>
|
||||||
|
{{ end }}
|
||||||
|
<meta property="og:locale" content="fr_FR"/>
|
||||||
|
<meta name="twitter:card" content="summary_large_image"/>
|
||||||
|
<meta name="twitter:creator" content="@Renard_spatial" />
|
||||||
|
|
||||||
<link rel="canonical" href="{{ if .Params.canonical }}{{ .Params.canonical }}{{ else }}{{ .Permalink }}{{ end }}">
|
<link rel="canonical" href="{{ if .Params.canonical }}{{ .Params.canonical }}{{ else }}{{ .Permalink }}{{ end }}">
|
||||||
|
|
||||||
<link href="/css/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
|
<link href="/css/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
Loading…
Add table
Reference in a new issue