static param
This commit is contained in:
@@ -41,6 +41,7 @@ Menus:
|
||||
params:
|
||||
title: "Hugo Profile"
|
||||
description: Text about my cool site
|
||||
static: ""
|
||||
favicon: "/fav.png"
|
||||
|
||||
theme:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<body class="light" onload="loading()">
|
||||
<!-- javascripts -->
|
||||
<!-- <script src="/js/jquery-3.6.0.min.js"></script> -->
|
||||
<script src="/bootstrap-5/js/bootstrap.bundle.js"></script>
|
||||
<script src="{{ .Site.Params.Statics }}/bootstrap-5/js/bootstrap.bundle.js"></script>
|
||||
|
||||
{{- partial "sections/header.html" . -}}
|
||||
<div id="content">
|
||||
@@ -22,4 +22,4 @@
|
||||
{{- partial "scripts.html" . -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
{{ define "head" }}
|
||||
<meta name="description" content={{ .Site.Params.description }}>
|
||||
<link rel="stylesheet" href="/css/index.css" media="all">
|
||||
<link rel="stylesheet" href="/css/projects.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/index.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/projects.css" media="all">
|
||||
|
||||
<!-- fontawesome -->
|
||||
<script defer src="/fontawesome-5/all-5.15.4.js"></script>
|
||||
<script defer src="{{ .Site.Params.Statics }}/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="/css/font.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/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="/bootstrap-5/css/bootstrap.min.css" media="all">
|
||||
<link rel="stylesheet" href="/css/header.css" media="all">
|
||||
<link rel="stylesheet" href="/css/footer.css" media="all">
|
||||
<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">
|
||||
|
||||
<!-- theme -->
|
||||
<link rel="stylesheet" href="/css/theme.css" media="all">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/css/theme.css" media="all">
|
||||
|
||||
<!-- Custom Styles -->
|
||||
{{ if .Site.Params.customCSS }}
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="stylesheet" href="{{ .Site.Params.Statics }}/style.css">
|
||||
{{ end }}
|
||||
|
||||
<style>
|
||||
@@ -54,4 +54,4 @@
|
||||
line-height: {{ .Site.Params.font.lineHeight | default "1.5" }};
|
||||
text-align: {{ .Site.Params.font.textAlign | default "left" }};
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user