Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2022-03-19 19:51:41 +0300
committerGitHub <noreply@github.com>2022-03-19 19:51:41 +0300
commitedc377a049a4550eea491b4f6a5122793a381110 (patch)
treecba3424ec3055d9c7292220ffa9d9f615d8b8417
parent5e3643aa04bb6bdf9ac55fb4a3ca687d061ccfd7 (diff)
Added linux timestamp to custom.css (#347)
* Added linux timestamp to custom.css * new line
-rw-r--r--.gitignore1
-rw-r--r--layouts/partials/headers.html12
2 files changed, 7 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 9bf1d3a..19ee887 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
public/
npm-debug.log
/node_modules/*
+exampleSite/.hugo_build.lock
diff --git a/layouts/partials/headers.html b/layouts/partials/headers.html
index 818adbb..225e326 100644
--- a/layouts/partials/headers.html
+++ b/layouts/partials/headers.html
@@ -24,17 +24,17 @@
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- CSS animations -->
-<link href="{{ "css/animate.css" | relURL}}" rel="stylesheet">
+<link href="{{ "css/animate.css" | relURL }}" rel="stylesheet">
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
{{ with .Site.Params.style }}
- <link href="{{ "css/style" | relURL}}.{{ . }}.css" rel="stylesheet" id="theme-stylesheet">
+ <link href="{{ "css/style" | relURL }}.{{ . }}.css" rel="stylesheet" id="theme-stylesheet">
{{ else }}
- <link href="{{ "css/style.default.css" | relURL}}" rel="stylesheet" id="theme-stylesheet">
+ <link href="{{ "css/style.default.css" | relURL }}" rel="stylesheet" id="theme-stylesheet">
{{ end }}
<!-- Custom stylesheet - for your changes -->
-<link href="{{ "css/custom.css" | relURL}}" rel="stylesheet">
+<link href="{{ "css/custom.css" | relURL }}?{{ now.Unix }}" rel="stylesheet">
<!-- Responsivity for older IE -->
{{ `
@@ -49,8 +49,8 @@
<link rel="apple-touch-icon" href="{{ "img/apple-touch-icon.png" | relURL }}" />
<!-- owl carousel CSS -->
-<link href="{{ "css/owl.carousel.css" | relURL}}" rel="stylesheet">
-<link href="{{ "css/owl.theme.css" | relURL}}" rel="stylesheet">
+<link href="{{ "css/owl.carousel.css" | relURL }}" rel="stylesheet">
+<link href="{{ "css/owl.theme.css" | relURL }}" rel="stylesheet">
<!-- RSS feed -->
<link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}">