Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
baseURL = "https://njkevlani.dev"
languageCode = 'en-us'
relativeURLs = true
enableEmoji = true
enableGitInfo = true
uglyURLs = true
Expand Down
18 changes: 10 additions & 8 deletions layouts/resume/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
<meta charset="utf-8" />
<meta name="description" content="Nilesh Kevlani's Resume" />
<title>{{ hugo.Data.resume.Name }} | Resume</title>
{{ $stylemain := resources.Get "css/resume/style.css" | minify | fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $stylemain.RelPermalink }}">
{{ $stylemain := resources.Get "css/resume/style.css" | minify }}
<style>
{{ $stylemain.Content | safeCSS }}
</style>
</head>

<body>
Expand All @@ -18,7 +20,7 @@
<div id="title">{{ hugo.Data.resume.Title }}</div>
<div id="location">
<span class="svg-icon">
<img src="/assets/icons/location.svg" alt="link-icon" />
<img src="../assets/icons/location.svg" alt="link-icon" />
</span>

{{ hugo.Data.resume.Location }}
Expand All @@ -29,7 +31,7 @@
<li>
<a href="{{ $link.HREF }}">
<span class="svg-icon">
<img src="{{ $link.IconLocation }}" alt="link-icon" />
<img src="..{{ $link.IconLocation }}" alt="link-icon" />
</span>
{{- $link.Content }}
</a>
Expand All @@ -54,7 +56,7 @@
{{ if $item.Score }}
<span class="svg-icon">
<img
src="/assets/icons/score-{{ $item.Score }}.svg"
src="../assets/icons/score-{{ $item.Score }}.svg"
alt="score"
/>
</span>
Expand Down Expand Up @@ -96,7 +98,7 @@
<span>{{ $role.Title }}</span>
<div class="right-aligned">
<span class="svg-icon">
<img src="/assets/icons/calendar.svg" alt="link-icon" />
<img src="../assets/icons/calendar.svg" alt="link-icon" />
</span>
<span>
{{ $role.Duration }}
Expand Down Expand Up @@ -129,7 +131,7 @@
<span class="course-name">{{ $educationItem.Course }}</span>
<span class="institute-name">{{ $educationItem.Institute }}</span>
<span class="svg-icon">
<img src="/assets/icons/location.svg" alt="link-icon" />
<img src="../assets/icons/location.svg" alt="link-icon" />
</span>
<span>{{ $educationItem.Location }}</span>
</div>
Expand All @@ -140,7 +142,7 @@
&nbsp;
<span>
<span class="svg-icon">
<img src="/assets/icons/calendar.svg" alt="link-icon" />
<img src="../assets/icons/calendar.svg" alt="link-icon" />
</span>
<span>
{{ $educationItem.Duration }}
Expand Down