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:
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
{{ define "main" }}
|
||||
<div class="container py-5 text-center">
|
||||
<img src="/404.png" alt="404 page not found" class="img-fluid" width="40%">
|
||||
<img src="{{ .Site.Params.staticPath }}/404.png" alt="404 page not found" class="img-fluid" width="40%">
|
||||
<h1>404 Page Not Found</h1>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -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>
|
||||
@@ -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 }}
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
{{ define "head" }}
|
||||
<meta name="description" content={{ .Site.Params.description }}>
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/index.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/projects.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/index.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">
|
||||
|
||||
<!-- fontawesome -->
|
||||
<script defer src="{{ .Site.Params.Statics }}/fontawesome-5/all-5.15.4.js"></script>
|
||||
<script defer src="{{ .Site.Params.staticPath }}/fontawesome-5/all-5.15.4.js"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ define "title" }}
|
||||
@@ -19,4 +19,4 @@
|
||||
{{- partial "sections/projects.html" . -}}
|
||||
{{- partial "sections/achievements.html" . -}}
|
||||
{{- partial "sections/contact.html" . -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -11,7 +11,7 @@
|
||||
rel="stylesheet">
|
||||
|
||||
<!-- font configuration -->
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/font.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/font.css" media="all">
|
||||
|
||||
<!-- Internal templates -->
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
@@ -19,16 +19,16 @@
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
<!-- stylesheets -->
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/bootstrap-5/css/bootstrap.min.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/header.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/footer.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/bootstrap-5/css/bootstrap.min.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/header.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/footer.css" media="all">
|
||||
|
||||
<!-- theme -->
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/theme.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/theme.css" media="all">
|
||||
|
||||
<!-- Custom Styles -->
|
||||
{{ if .Site.Params.customCSS }}
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/style.css">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/style.css">
|
||||
{{ end }}
|
||||
|
||||
<style>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{{ define "head" }}
|
||||
<meta name="description" content="{{ .Title }} of {{ .Site.Title }}">
|
||||
<link rel="stylesheet" href="/css/projects.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.staticPath }}/css/projects.css" media="all">
|
||||
|
||||
<!-- fontawesome -->
|
||||
<script defer src="/fontawesome-5/all-5.15.4.js"></script>
|
||||
<script defer src="{{ .Site.Params.staticPath }}/fontawesome-5/all-5.15.4.js"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ define "title" }}
|
||||
|
||||
Reference in New Issue
Block a user