mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
Fix asset and navbar URLs
This commit is contained in:
parent
7d3269bee4
commit
a55f766b3a
5 changed files with 17 additions and 16 deletions
|
@ -79,30 +79,30 @@ googleAnalytics = ""
|
|||
|
||||
[[menu.main]]
|
||||
name = "Home"
|
||||
url = "/#bio"
|
||||
url = "#"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
name = "Publications"
|
||||
url = "/#publications"
|
||||
url = "#publications"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
name = "Posts"
|
||||
url = "/#posts"
|
||||
url = "#posts"
|
||||
weight = 3
|
||||
|
||||
[[menu.main]]
|
||||
name = "Projects"
|
||||
url = "/#projects"
|
||||
url = "#projects"
|
||||
weight = 4
|
||||
|
||||
[[menu.main]]
|
||||
name = "Teaching"
|
||||
url = "/#teaching"
|
||||
url = "#teaching"
|
||||
weight = 5
|
||||
|
||||
[[menu.main]]
|
||||
name = "Contact"
|
||||
url = "/#contact"
|
||||
url = "#contact"
|
||||
weight = 6
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<script src="/js/jquery-1.12.3.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/gsap/1.18.4/TweenMax.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/gsap/latest/plugins/ScrollToPlugin.min.js"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/hugo-academic.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/jquery-1.12.3.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/bootstrap.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/hugo-academic.js"></script>
|
||||
|
||||
{{ with .Site.GoogleAnalytics }}
|
||||
<script>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
Powered by the <a href="https://github.com/gcushen/hugo-academic" target="_blank">Academic theme</a> for <a href="http://gohugo.io" target="_blank">Hugo</a>.
|
||||
|
||||
<span class="pull-right"><a href="#top" id="back_to_top"><span class="button_icon"><i class="fa fa-chevron-up fa-2x" aria-hidden="true"></i></span></a></span>
|
||||
<span class="pull-right"><a href="#" id="back_to_top"><span class="button_icon"><i class="fa fa-chevron-up fa-2x" aria-hidden="true"></i></span></a></span>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -10,12 +10,13 @@
|
|||
{{ with .Site.Params.name }}<meta name="author" content="{{ . }}" />{{ end }}
|
||||
{{ with .Site.Params.role }}<meta name="description" content="{{ . }}" />{{ end }}
|
||||
|
||||
<link rel="stylesheet" href="/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/styles/github.min.css">
|
||||
<link rel="stylesheet" href="/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="/css/academicons.min.css" />
|
||||
<link rel="stylesheet" href="/css/hugo-academic.css" />
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/academicons.min.css" />
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hugo-academic.css" />
|
||||
<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico" type="image/x-icon">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<!-- Left Nav Bar -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="nav-item"><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
<li class="nav-item"><a href="{{ $baseUrl }}{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue