Merge branch 'main' into support-twitter-card

This commit is contained in:
Emruz Hossain 2023-01-28 00:09:55 +06:00 committed by GitHub
commit 44e6e8225b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
675 changed files with 5623 additions and 12231 deletions

View file

@ -2,21 +2,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- ============ import common css ========== -->
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/layouts/main.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/navigators/navbar.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/plyr.css" | relURL }}"/>
{{ if ne site.Params.features.flags.enable false }}
<link rel="stylesheet" href="{{ "/css/flag-icon.min.css" | relURL }}"/>
{{ end }}
<!--=================== fonts ==============================-->
<link rel="stylesheet" href="{{ "/google-fonts/Mulish/mulish.css" | relURL }}"/>
<!--=================== dark mode ==========================-->
{{ if site.Params.features.darkMode.enable }}
<link rel="stylesheet" href="{{ "/css/colortheme/colortheme.css" | relURL }}"/>
{{ end }}
{{ partial "helpers/style-bundle.html" . }}
<!--================= fab-icon =========================-->
{{/* add favicon only if the site author has provided the the favicon */}}

View file

@ -0,0 +1,5 @@
{{ return (dict
"outputStyle" "compressed"
"enableSourceMap" (not hugo.IsProduction)
"includePaths" "node_modules"
) }}

View file

@ -0,0 +1,11 @@
{{/* setup Sass options */}}
{{- $options := partial "helpers/get-sass-options.html" -}}
{{- $options = $options | merge (dict "targetPath" "application.css") -}}
{{/* Compile hugo template `application.template.scss` into `application.scss`. */}}
{{- $template := resources.Get "styles/application.template.scss" -}}
{{- $scss := $template | resources.ExecuteAsTemplate "styles/application.scss" . -}}
{{/* Bundle application.scss */}}
{{- $bundle := $scss | resources.ToCSS $options | fingerprint -}}
<link rel="stylesheet" href="{{ $bundle.RelPermalink }}" integrity="{{ $bundle.Data.Integrity }}" />

View file

@ -1 +0,0 @@
<link rel="stylesheet" href="{{ "/katex/katex.min.css" | relURL }}">