Added ststic in missed files and renamed to staticPath

- Added `statics` params in the missed files
- Renamed `statics` to `staticPath`
This commit is contained in:
gurusabarish
2022-04-02 23:35:22 +05:30
parent fd19e4981b
commit 33b0f43282
7 changed files with 38 additions and 41 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
<body class="light" onload="loading()">
<!-- javascripts -->
<!-- <script src="/js/jquery-3.6.0.min.js"></script> -->
<script src="{{ .Site.Params.Statics }}/bootstrap-5/js/bootstrap.bundle.js"></script>
<script src="{{ .Site.Params.staticPath }}/bootstrap-5/js/bootstrap.bundle.js"></script>
{{- partial "sections/header.html" . -}}
<div id="content">
@@ -22,4 +22,4 @@
{{- partial "scripts.html" . -}}
</body>
</html>
</html>
+2 -2
View File
@@ -1,6 +1,6 @@
{{ define "head" }}
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/list.css" media="all">
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/list.css" media="all">
{{ end }}
{{ define "title" }}
@@ -36,4 +36,4 @@
</div>
</div>
</div>
{{ end }}
{{ end }}