mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Remove support for Twemoji (#614)
This commit is contained in:
@@ -265,10 +265,3 @@ figure {
|
|||||||
.fas {
|
.fas {
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.emoji {
|
|
||||||
height: 1em;
|
|
||||||
width: 1em;
|
|
||||||
margin: 0 0.05em 0 0.1em;
|
|
||||||
vertical-align: -0.1em;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -38,8 +38,6 @@ colorScheme = "auto"
|
|||||||
hideColorSchemeToggle = false
|
hideColorSchemeToggle = false
|
||||||
# Series see also post count
|
# Series see also post count
|
||||||
maxSeeAlsoItems = 5
|
maxSeeAlsoItems = 5
|
||||||
# Enable Twemoji
|
|
||||||
enableTwemoji = false
|
|
||||||
# Custom CSS
|
# Custom CSS
|
||||||
customCSS = []
|
customCSS = []
|
||||||
# Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets)
|
# Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets)
|
||||||
|
|||||||
@@ -3250,12 +3250,6 @@ figure {
|
|||||||
.fas {
|
.fas {
|
||||||
font-weight: 900; }
|
font-weight: 900; }
|
||||||
|
|
||||||
img.emoji {
|
|
||||||
height: 1em;
|
|
||||||
width: 1em;
|
|
||||||
margin: 0 0.05em 0 0.1em;
|
|
||||||
vertical-align: -0.1em; }
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -92,11 +92,6 @@
|
|||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ if .Site.Params.enableTwemoji }}
|
|
||||||
<script defer src="https://twemoji.maxcdn.com/v/13.0.2/twemoji.min.js"
|
|
||||||
integrity="sha384-wyB/MspSJ/r2bT2kCj44qtsYRYlpzO2oAPhRj5myrWD63dt6qWv4x8AZe7Fl3K3b" crossorigin="anonymous"></script>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -106,9 +101,7 @@
|
|||||||
{{ else if eq .Site.Params.colorScheme "auto" }}
|
{{ else if eq .Site.Params.colorScheme "auto" }}
|
||||||
{{ $csClass = "colorscheme-auto" }}
|
{{ $csClass = "colorscheme-auto" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<body class="preload-transitions {{ $csClass }}{{ if .Site.Params.rtl }} rtl{{ end }}"
|
<body class="preload-transitions {{ $csClass }}{{ if .Site.Params.rtl }} rtl{{ end }}">
|
||||||
onload="{{ if .Site.Params.enableTwemoji }} twemoji.parse(document.body); {{ end }}"
|
|
||||||
>
|
|
||||||
{{ partial "float" . }}
|
{{ partial "float" . }}
|
||||||
<main class="wrapper">
|
<main class="wrapper">
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
{"Target":"css/coder.min.c99932527e4ee59cd8aeb0f42c7aa4dd03a68a027a5cd24af1da34f9e9867fab.css","MediaType":"text/css","Data":{"Integrity":"sha256-yZkyUn5O5ZzYrrD0LHqk3QOmigJ6XNJK8do0+emGf6s="}}
|
{"Target":"css/coder.min.9800fae273b590afec9dc5ff15104d0c8dbee34abc5f4caa8dc9bab00745b78e.css","MediaType":"text/css","Data":{"Integrity":"sha256-mAD64nO1kK/sncX/FRBNDI2+40q8X0yqjcm6sAdFt44="}}
|
||||||
@@ -3250,12 +3250,6 @@ figure {
|
|||||||
.fas {
|
.fas {
|
||||||
font-weight: 900; }
|
font-weight: 900; }
|
||||||
|
|
||||||
img.emoji {
|
|
||||||
height: 1em;
|
|
||||||
width: 1em;
|
|
||||||
margin: 0 0.05em 0 0.1em;
|
|
||||||
vertical-align: -0.1em; }
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ models:
|
|||||||
name: customSCSS
|
name: customSCSS
|
||||||
- type: list
|
- type: list
|
||||||
name: customJS
|
name: customJS
|
||||||
- type: boolean
|
|
||||||
name: enableTwemoji
|
|
||||||
- type: list
|
- type: list
|
||||||
name: social
|
name: social
|
||||||
label: Social Media Icons
|
label: Social Media Icons
|
||||||
|
|||||||
Reference in New Issue
Block a user