mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
Added reURL function for init.js, deleted generated content in /public
This commit is contained in:
parent
1fd3fa6338
commit
7b198daf79
8 changed files with 2 additions and 33 deletions
|
@ -1,4 +1,4 @@
|
|||
# Introduction theme for Hugo
|
||||
# <a href="https://github.com/vickylaixy/hugo-theme-introduction" target="_blank">Introduction theme for Hugo</a>
|
||||
|
||||
A minimal, single page, smooth scrolling theme for Hugo.
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>My New Hugo Site</title>
|
||||
<link>http://replace-this-with-your-hugo-site.com/</link>
|
||||
<description>Recent content on My New Hugo Site</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<atom:link href="http://replace-this-with-your-hugo-site.com/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
</channel>
|
||||
</rss>
|
|
@ -1 +0,0 @@
|
|||
User-agent: *
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
|
||||
<url>
|
||||
<loc>http://replace-this-with-your-hugo-site.com/</loc>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
</urlset>
|
|
@ -2,7 +2,6 @@
|
|||
<section class="main">
|
||||
<div class="container-fluid">
|
||||
<div class="content">
|
||||
{{ partial "page-heading.html" . }}
|
||||
<div class="markdown">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
<!--
|
||||
Hey! Thanks for looking at my code! You win a cookie. :) The nice kind with chocolate chips.
|
||||
|
||||
This page was originally created for the Personal Portfolio Webpage challenge on FreeCodeCamp's Front End Development Certification course. It's totally responsive, and the first web page I ever coded from scratch.
|
||||
|
||||
Enjoy, and I hope you find what you're looking for! If you have questions or want to get in touch, please do: hello@vickylai.com.
|
||||
-->
|
||||
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<div class="container-fluid" id="top">
|
||||
|
@ -105,7 +97,7 @@
|
|||
<!-- Include latest jquery.scrollTo, can download from https://github.com/flesler/jquery.scrollTo/releases -->
|
||||
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.scrollto/2.1.2/jquery.scrollTo.min.js"></script>
|
||||
<!-- Initialize the plugin, the contents of the script can be inlined here, of course -->
|
||||
<script type="text/javascript" src="js/init.js"></script>
|
||||
<script type="text/javascript" src={{ "js/init.js" | relURL }}></script>
|
||||
<script>
|
||||
// Bind to the click of all links with a #hash in the href
|
||||
$('a[href^="#"]').click(function(e) {
|
||||
|
|
Loading…
Reference in a new issue