Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicky <vicky@vickylai.com>2017-03-21 05:53:25 +0300
committerVicky <vicky@vickylai.com>2017-03-21 05:53:25 +0300
commit7b198daf79fbe5dcad0277429b6c06539fb6fed1 (patch)
tree835580a3b60cde8346de971b46e0806a270a97d4
parent1fd3fa6338e6a9cf50fb39238e5cc21044179f6a (diff)
Added reURL function for init.js, deleted generated content in /public
-rw-r--r--README.md2
-rw-r--r--exampleSite/public/404.html0
-rw-r--r--exampleSite/public/index.html0
-rw-r--r--exampleSite/public/index.xml12
-rw-r--r--exampleSite/public/robots.txt1
-rw-r--r--exampleSite/public/sitemap.xml9
-rw-r--r--layouts/_default/single.html1
-rw-r--r--layouts/index.html10
8 files changed, 2 insertions, 33 deletions
diff --git a/README.md b/README.md
index b42ed80..04dfca7 100644
--- a/README.md
+++ b/README.md
@@ -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.
diff --git a/exampleSite/public/404.html b/exampleSite/public/404.html
deleted file mode 100644
index e69de29..0000000
--- a/exampleSite/public/404.html
+++ /dev/null
diff --git a/exampleSite/public/index.html b/exampleSite/public/index.html
deleted file mode 100644
index e69de29..0000000
--- a/exampleSite/public/index.html
+++ /dev/null
diff --git a/exampleSite/public/index.xml b/exampleSite/public/index.xml
deleted file mode 100644
index a71ace9..0000000
--- a/exampleSite/public/index.xml
+++ /dev/null
@@ -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> \ No newline at end of file
diff --git a/exampleSite/public/robots.txt b/exampleSite/public/robots.txt
deleted file mode 100644
index 4f9540b..0000000
--- a/exampleSite/public/robots.txt
+++ /dev/null
@@ -1 +0,0 @@
-User-agent: * \ No newline at end of file
diff --git a/exampleSite/public/sitemap.xml b/exampleSite/public/sitemap.xml
deleted file mode 100644
index cd78154..0000000
--- a/exampleSite/public/sitemap.xml
+++ /dev/null
@@ -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> \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 15d72a8..8789cd6 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,7 +2,6 @@
<section class="main">
<div class="container-fluid">
<div class="content">
- {{ partial "page-heading.html" . }}
<div class="markdown">
{{ .Content }}
</div>
diff --git a/layouts/index.html b/layouts/index.html
index a099f4c..bd3ae6b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -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) {