CSS font sizes

This commit is contained in:
Nishanth Shanmugham
2015-09-04 08:48:47 -05:00
parent ecea5cb65a
commit ec002999c7
14 changed files with 54 additions and 968 deletions

View File

@@ -1,123 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
404 Page not found &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/404/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section header">
<div class="container">
<div class="content">
<nav>
<ul>
<a href="http://localhost:1313/posts"><li>posts</li></a>
<a href="http://localhost:1313/about"><li>about</li></a>
<a href="http://localhost:1313/code"><li>code</li></a>
</ul>
</nav>
<a href="http://localhost:1313/"><div class="name">map[]</div></a>
</div>
</div>
</div>
<div class="section icons">
<div class="container">
<div class="content">
<a href="//github.com/username" target="_blank">
<i class="icon ion-social-github"></i>
</a>
<a href="//twitter.com/username" target="_blank">
<i class="icon ion-social-twitter"></i>
</a>
<a href="//linkedin.com/in/username" target="_blank">
<i class="icon ion-social-linkedin"></i>
</a>
<a href="//facebook.com/username" target="_blank">
<i class="icon ion-social-facebook larger"></i>
</a>
<a href="mailto:username@hogwarts.edu">
<i class="icon ion-ios-email larger"></i>
</a>
</div>
</div>
</div>
<div class="section main">
<div class="container f04">
<div class="content">
<div class="num">404</div>
<div class="detail">Sorry, this page does not exist.</div>
<div class="suggestion"><a href="http://localhost:1313/">Visit home page</a></div>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -1,140 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
about &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/about/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section header">
<div class="container">
<div class="content">
<nav>
<ul>
<a href="http://localhost:1313/posts"><li>posts</li></a>
<a href="http://localhost:1313/about"><li>about</li></a>
<a href="http://localhost:1313/code"><li>code</li></a>
</ul>
</nav>
<a href="http://localhost:1313/"><div class="name">map[]</div></a>
</div>
</div>
</div>
<div class="section icons">
<div class="container">
<div class="content">
<a href="//github.com/username" target="_blank">
<i class="icon ion-social-github"></i>
</a>
<a href="//twitter.com/username" target="_blank">
<i class="icon ion-social-twitter"></i>
</a>
<a href="//linkedin.com/in/username" target="_blank">
<i class="icon ion-social-linkedin"></i>
</a>
<a href="//facebook.com/username" target="_blank">
<i class="icon ion-social-facebook larger"></i>
</a>
<a href="mailto:username@hogwarts.edu">
<i class="icon ion-ios-email larger"></i>
</a>
</div>
</div>
</div>
<div class="section main">
<div class="container">
<div class="content">
<div class="page-heading">
about
</div>
<div class="markdown">
<p>TODO: Page not complete yet.</p>
<p>Information about you.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -1,138 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
code &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/code/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section header">
<div class="container">
<div class="content">
<nav>
<ul>
<a href="http://localhost:1313/posts"><li>posts</li></a>
<a href="http://localhost:1313/about"><li>about</li></a>
<a href="http://localhost:1313/code"><li>code</li></a>
</ul>
</nav>
<a href="http://localhost:1313/"><div class="name">map[]</div></a>
</div>
</div>
</div>
<div class="section icons">
<div class="container">
<div class="content">
<a href="//github.com/username" target="_blank">
<i class="icon ion-social-github"></i>
</a>
<a href="//twitter.com/username" target="_blank">
<i class="icon ion-social-twitter"></i>
</a>
<a href="//linkedin.com/in/username" target="_blank">
<i class="icon ion-social-linkedin"></i>
</a>
<a href="//facebook.com/username" target="_blank">
<i class="icon ion-social-facebook larger"></i>
</a>
<a href="mailto:username@hogwarts.edu">
<i class="icon ion-ios-email larger"></i>
</a>
</div>
</div>
</div>
<div class="section main">
<div class="container">
<div class="content">
<div class="page-heading">
code
</div>
<div class="markdown">
<p>TODO: Page not complete yet.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -1,141 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
Fixeds &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/fixed/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section header">
<div class="container">
<div class="content">
<nav>
<ul>
<a href="http://localhost:1313/posts"><li>posts</li></a>
<a href="http://localhost:1313/about"><li>about</li></a>
<a href="http://localhost:1313/code"><li>code</li></a>
</ul>
</nav>
<a href="http://localhost:1313/"><div class="name">map[]</div></a>
</div>
</div>
</div>
<div class="section icons">
<div class="container">
<div class="content">
<a href="//github.com/username" target="_blank">
<i class="icon ion-social-github"></i>
</a>
<a href="//twitter.com/username" target="_blank">
<i class="icon ion-social-twitter"></i>
</a>
<a href="//linkedin.com/in/username" target="_blank">
<i class="icon ion-social-linkedin"></i>
</a>
<a href="//facebook.com/username" target="_blank">
<i class="icon ion-social-facebook larger"></i>
</a>
<a href="mailto:username@hogwarts.edu">
<i class="icon ion-ios-email larger"></i>
</a>
</div>
</div>
</div>
<div class="section main">
<div class="container">
<div class="content">
<div class="page-heading">
Fixeds
</div>
<li class="post-item">
<div class="meta">Aug 22, 2015</div>
<a href="http://localhost:1313/about/"><div>about</div></a>
</li>
<li class="post-item">
<div class="meta">Aug 19, 2015</div>
<a href="http://localhost:1313/code/"><div>code</div></a>
</li>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -2,19 +2,19 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Fixeds on Hugo Themes</title> <title>Fixeds on Hugo Themes</title>
<link>http://localhost:1313/fixed/</link> <link>http://hugo.spf13.com/fixed/</link>
<description>Recent content in Fixeds on Hugo Themes</description> <description>Recent content in Fixeds on Hugo Themes</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<language>en-US</language> <language>en-US</language>
<lastBuildDate>Sat, 22 Aug 2015 06:42:21 -0700</lastBuildDate> <lastBuildDate>Sat, 22 Aug 2015 06:42:21 -0700</lastBuildDate>
<atom:link href="http://localhost:1313/fixed/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://hugo.spf13.com/fixed/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>about</title> <title>About</title>
<link>http://localhost:1313/about/</link> <link>http://hugo.spf13.com/about/</link>
<pubDate>Sat, 22 Aug 2015 06:42:21 -0700</pubDate> <pubDate>Sat, 22 Aug 2015 06:42:21 -0700</pubDate>
<guid>http://localhost:1313/about/</guid> <guid>http://hugo.spf13.com/about/</guid>
<description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt; <description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt;
&lt;p&gt;Information about you.&lt;/p&gt; &lt;p&gt;Information about you.&lt;/p&gt;
@@ -29,11 +29,11 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&g
</item> </item>
<item> <item>
<title>code</title> <title>Code</title>
<link>http://localhost:1313/code/</link> <link>http://hugo.spf13.com/code/</link>
<pubDate>Wed, 19 Aug 2015 20:29:37 -0700</pubDate> <pubDate>Wed, 19 Aug 2015 20:29:37 -0700</pubDate>
<guid>http://localhost:1313/code/</guid> <guid>http://hugo.spf13.com/code/</guid>
<description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt; <description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod

View File

@@ -1,135 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
Hugo Themes &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section header">
<div class="container">
<div class="content">
<nav>
<ul>
<a href="http://localhost:1313/posts"><li>posts</li></a>
<a href="http://localhost:1313/about"><li>about</li></a>
<a href="http://localhost:1313/code"><li>code</li></a>
</ul>
</nav>
<a href="http://localhost:1313/"><div class="name">map[]</div></a>
</div>
</div>
</div>
<div class="section icons">
<div class="container">
<div class="content">
<a href="//github.com/username" target="_blank">
<i class="icon ion-social-github"></i>
</a>
<a href="//twitter.com/username" target="_blank">
<i class="icon ion-social-twitter"></i>
</a>
<a href="//linkedin.com/in/username" target="_blank">
<i class="icon ion-social-linkedin"></i>
</a>
<a href="//facebook.com/username" target="_blank">
<i class="icon ion-social-facebook larger"></i>
</a>
<a href="mailto:username@hogwarts.edu">
<i class="icon ion-ios-email larger"></i>
</a>
</div>
</div>
</div>
<div class="section main">
<div class="container">
<div class="content">
<div class="page-heading">Posts</div>
<li class="post-item">
<div class="meta">Aug 22, 2015</div>
<a href="http://localhost:1313/posts/redirect-webpages-html/"><div>Redirect webpages using HTML</div></a>
</li>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -2,19 +2,19 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Hugo Themes</title> <title>Hugo Themes</title>
<link>http://localhost:1313/</link> <link>http://hugo.spf13.com/</link>
<description>Recent content on Hugo Themes</description> <description>Recent content on Hugo Themes</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<language>en-US</language> <language>en-US</language>
<lastBuildDate>Sat, 22 Aug 2015 15:45:30 -0700</lastBuildDate> <lastBuildDate>Sat, 22 Aug 2015 15:45:30 -0700</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://hugo.spf13.com/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>Redirect webpages using HTML</title> <title>Redirect webpages using HTML</title>
<link>http://localhost:1313/posts/redirect-webpages-html/</link> <link>http://hugo.spf13.com/posts/redirect-webpages-html/</link>
<pubDate>Sat, 22 Aug 2015 15:45:30 -0700</pubDate> <pubDate>Sat, 22 Aug 2015 15:45:30 -0700</pubDate>
<guid>http://localhost:1313/posts/redirect-webpages-html/</guid> <guid>http://hugo.spf13.com/posts/redirect-webpages-html/</guid>
<description> <description>
&lt;p&gt;Webpage redirection is great for automatically redirecting people visiting an old URL to a new URL where the content has moved to. It can be done using JavaScript, but there is also a convenient HTML-only solution.&lt;/p&gt; &lt;p&gt;Webpage redirection is great for automatically redirecting people visiting an old URL to a new URL where the content has moved to. It can be done using JavaScript, but there is also a convenient HTML-only solution.&lt;/p&gt;
@@ -35,11 +35,11 @@
</item> </item>
<item> <item>
<title>about</title> <title>About</title>
<link>http://localhost:1313/about/</link> <link>http://hugo.spf13.com/about/</link>
<pubDate>Sat, 22 Aug 2015 06:42:21 -0700</pubDate> <pubDate>Sat, 22 Aug 2015 06:42:21 -0700</pubDate>
<guid>http://localhost:1313/about/</guid> <guid>http://hugo.spf13.com/about/</guid>
<description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt; <description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt;
&lt;p&gt;Information about you.&lt;/p&gt; &lt;p&gt;Information about you.&lt;/p&gt;
@@ -54,11 +54,11 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&g
</item> </item>
<item> <item>
<title>code</title> <title>Code</title>
<link>http://localhost:1313/code/</link> <link>http://hugo.spf13.com/code/</link>
<pubDate>Wed, 19 Aug 2015 20:29:37 -0700</pubDate> <pubDate>Wed, 19 Aug 2015 20:29:37 -0700</pubDate>
<guid>http://localhost:1313/code/</guid> <guid>http://hugo.spf13.com/code/</guid>
<description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt; <description>&lt;p&gt;TODO: Page not complete yet.&lt;/p&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod

View File

@@ -1,135 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
Posts &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/posts/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section header">
<div class="container">
<div class="content">
<nav>
<ul>
<a href="http://localhost:1313/posts"><li>posts</li></a>
<a href="http://localhost:1313/about"><li>about</li></a>
<a href="http://localhost:1313/code"><li>code</li></a>
</ul>
</nav>
<a href="http://localhost:1313/"><div class="name">map[]</div></a>
</div>
</div>
</div>
<div class="section icons">
<div class="container">
<div class="content">
<a href="//github.com/username" target="_blank">
<i class="icon ion-social-github"></i>
</a>
<a href="//twitter.com/username" target="_blank">
<i class="icon ion-social-twitter"></i>
</a>
<a href="//linkedin.com/in/username" target="_blank">
<i class="icon ion-social-linkedin"></i>
</a>
<a href="//facebook.com/username" target="_blank">
<i class="icon ion-social-facebook larger"></i>
</a>
<a href="mailto:username@hogwarts.edu">
<i class="icon ion-ios-email larger"></i>
</a>
</div>
</div>
</div>
<div class="section main">
<div class="container">
<div class="content">
<div class="page-heading">
Posts
</div>
<li class="post-item">
<div class="meta">Aug 22, 2015</div>
<a href="http://localhost:1313/posts/redirect-webpages-html/"><div>Redirect webpages using HTML</div></a>
</li>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -2,19 +2,19 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Posts on Hugo Themes</title> <title>Posts on Hugo Themes</title>
<link>http://localhost:1313/posts/</link> <link>http://hugo.spf13.com/posts/</link>
<description>Recent content in Posts on Hugo Themes</description> <description>Recent content in Posts on Hugo Themes</description>
<generator>Hugo -- gohugo.io</generator> <generator>Hugo -- gohugo.io</generator>
<language>en-US</language> <language>en-US</language>
<lastBuildDate>Sat, 22 Aug 2015 15:45:30 -0700</lastBuildDate> <lastBuildDate>Sat, 22 Aug 2015 15:45:30 -0700</lastBuildDate>
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://hugo.spf13.com/posts/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>Redirect webpages using HTML</title> <title>Redirect webpages using HTML</title>
<link>http://localhost:1313/posts/redirect-webpages-html/</link> <link>http://hugo.spf13.com/posts/redirect-webpages-html/</link>
<pubDate>Sat, 22 Aug 2015 15:45:30 -0700</pubDate> <pubDate>Sat, 22 Aug 2015 15:45:30 -0700</pubDate>
<guid>http://localhost:1313/posts/redirect-webpages-html/</guid> <guid>http://hugo.spf13.com/posts/redirect-webpages-html/</guid>
<description> <description>
&lt;p&gt;Webpage redirection is great for automatically redirecting people visiting an old URL to a new URL where the content has moved to. It can be done using JavaScript, but there is also a convenient HTML-only solution.&lt;/p&gt; &lt;p&gt;Webpage redirection is great for automatically redirecting people visiting an old URL to a new URL where the content has moved to. It can be done using JavaScript, but there is also a convenient HTML-only solution.&lt;/p&gt;

View File

@@ -1,102 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<base href="http://localhost:1313/">
<title>
Redirect webpages using HTML &middot; Hugo Themes
</title>
<link rel="canonical" href="http://localhost:1313/posts/redirect-webpages-html/">
<link rel="stylesheet" href="http://localhost:1313/css/reset.css">
<link rel="stylesheet" href="http://localhost:1313/css/pygments.css">
<link rel="stylesheet" href="http://localhost:1313/css/main.css">
<link rel="shortcut icon"
href="http://localhost:1313/img/myicon.ico"
>
</head>
<body lang="en">
<div class="section main post">
<div class="container">
<div class="content">
<div class="front-matter">
<a href="http://localhost:1313/posts/redirect-webpages-html/"><div class="page-heading">
Redirect webpages using HTML
</div>
</a>
<div class="meta">
<div class="date">Aug 22, 2015</div>
<div class="word-count"><div class="middot"></div>200 words</div>
<div class="reading-time"><div class="middot"></div>1 minute read</div>
</div>
</div>
<div class="markdown">
<p>Webpage redirection is great for automatically redirecting people visiting an old URL to a new URL where the content has moved to. It can be done using JavaScript, but there is also a convenient HTML-only solution.</p>
<p>To redirect visitors reaching <code>yourwebsite.com/blog</code> to <code>yourwebsite.com/posts</code>, add this to the <code>&lt;head&gt;</code> section of the HTML at <code>yourwebsite.com/blog</code>:</p>
<p><div class="highlight"><pre><span class="nt">&lt;meta</span> <span class="na">http-equiv=</span><span class="s">&quot;refresh&quot;</span> <span class="na">content=</span><span class="s">&quot;0;url=&#39;/posts&#39;&quot;</span> <span class="nt">/&gt;</span>
<span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;canonical&quot;</span> <span class="na">href=</span><span class="s">&quot;/posts&quot;</span> <span class="nt">/&gt;</span>
</pre></div>
</p>
<h3 id="walkthrough:afdc852818bb97af4efb4d34b2fcce3b">walkthrough</h3>
<p>Setting <code>http-equiv=&quot;refresh&quot;</code> in the first line performs the actual redirect. The number in the <code>content</code> attribute specified in seconds tells the browser how long to wait before redirecting. In this example, <code>0</code> redirects immediately. Increasing the wait may be useful for briefly displaying a 404 page before automatically switching to the home page. The <code>url</code> specfies the destination for the redirect. In this example, we wanted to switch to <code>/posts</code>.</p>
<p>The second line is optional; it helps search engines know which the preferred version of the page is. Usually, this is the redirect destination.</p>
<br>
<p><a href="http://localhost:1313/posts">Back to posts</a></p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("\x3cGoogle-Analytics-ID\x3e");
pageTracker._trackPageview();
} catch(err) {}
</script>
<script>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>

View File

@@ -2,23 +2,23 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>http://localhost:1313/</loc> <loc>http://hugo.spf13.com/</loc>
<lastmod>2015-08-22T15:45:30-07:00</lastmod> <lastmod>2015-08-22T15:45:30-07:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>http://localhost:1313/posts/redirect-webpages-html/</loc> <loc>http://hugo.spf13.com/posts/redirect-webpages-html/</loc>
<lastmod>2015-08-22T15:45:30-07:00</lastmod> <lastmod>2015-08-22T15:45:30-07:00</lastmod>
</url> </url>
<url> <url>
<loc>http://localhost:1313/about/</loc> <loc>http://hugo.spf13.com/about/</loc>
<lastmod>2015-08-22T06:42:21-07:00</lastmod> <lastmod>2015-08-22T06:42:21-07:00</lastmod>
</url> </url>
<url> <url>
<loc>http://localhost:1313/code/</loc> <loc>http://hugo.spf13.com/code/</loc>
<lastmod>2015-08-19T20:29:37-07:00</lastmod> <lastmod>2015-08-19T20:29:37-07:00</lastmod>
</url> </url>

View File

@@ -7,7 +7,7 @@
// Less variables // Less variables
@base-font-size: 16px; @base-font-size: 18px;
@vspacing: @base-font-size*2; @vspacing: @base-font-size*2;
@monospace-font-stack: ~"'Ubuntu Mono', 'Menlo', monospace"; @monospace-font-stack: ~"'Ubuntu Mono', 'Menlo', monospace";
@@ -143,7 +143,7 @@ body {
@media (min-width: 550px) { @media (min-width: 550px) {
.section { .section {
padding: 0 20px; padding: 0 @vspacing/2;
margin-left: 100px; margin-left: 100px;
margin-right: 100px; margin-right: 100px;
max-width: 900px; max-width: 900px;
@@ -285,10 +285,10 @@ body {
} }
.icon { .icon {
font-size: 18px; font-size: 1rem;
&.larger { &.larger {
font-size: 20px; font-size: 1.2rem;
} }
} }
} }
@@ -313,7 +313,7 @@ body {
} }
.icon { .icon {
font-size: 16px; font-size: @base-font-size;
&.larger { &.larger {
font-size: 18px; font-size: 18px;
@@ -335,7 +335,7 @@ body {
.content { .content {
color: @black; color: @black;
font-size: 16px; font-size: @base-font-size;
.page-heading { .page-heading {
.heading(); .heading();
@@ -443,7 +443,7 @@ body {
.meta(); .meta();
min-width: 100px; min-width: 100px;
text-align: right; text-align: right;
margin-right: 20px; margin-right: @vspacing/2;
} }
} }
} }
@@ -453,7 +453,7 @@ body {
// Spacing // Spacing
.section { .section {
padding: 0 20px; padding: 0 @vspacing/2;
} }
.section.header { .section.header {
@@ -475,7 +475,7 @@ body {
@vspacing: 60px; @vspacing: 60px;
.container { .container {
margin: 0 20px; margin: 0 @vspacing/2;
} }
.section.header { .section.header {

View File

@@ -39,7 +39,7 @@ h4, h5, h6 {
code, pre { code, pre {
font-family: @monospace-font-stack; font-family: @monospace-font-stack;
font-size: 15px; font-size: 0.9rem;
background-color: @background-gray; background-color: @background-gray;
} }

View File

@@ -24,7 +24,7 @@ a:active {
} }
html { html {
height: 100%; height: 100%;
font-size: 16px; font-size: 18px;
} }
body { body {
display: -webkit-flex; display: -webkit-flex;
@@ -91,7 +91,7 @@ body {
} }
@media (min-width: 550px) { @media (min-width: 550px) {
.section { .section {
padding: 0 20px; padding: 0 18px;
margin-left: 100px; margin-left: 100px;
margin-right: 100px; margin-right: 100px;
max-width: 900px; max-width: 900px;
@@ -177,7 +177,7 @@ body {
} }
.section.header nav { .section.header nav {
font-size: 14px; font-size: 14px;
margin-bottom: 16px; margin-bottom: 18px;
} }
.section.header nav ul { .section.header nav ul {
list-style: none; list-style: none;
@@ -264,10 +264,10 @@ body {
color: #fefefe; color: #fefefe;
} }
.section.icons .content a .icon { .section.icons .content a .icon {
font-size: 18px; font-size: 1rem;
} }
.section.icons .content a .icon.larger { .section.icons .content a .icon.larger {
font-size: 20px; font-size: 1.2rem;
} }
@media (min-width: 550px) { @media (min-width: 550px) {
.section.icons { .section.icons {
@@ -287,7 +287,7 @@ body {
color: #333333; color: #333333;
} }
.section.icons .content a .icon { .section.icons .content a .icon {
font-size: 16px; font-size: 18px;
} }
.section.icons .content a .icon.larger { .section.icons .content a .icon.larger {
font-size: 18px; font-size: 18px;
@@ -305,7 +305,7 @@ body {
} }
.section.main .content { .section.main .content {
color: #333333; color: #333333;
font-size: 16px; font-size: 18px;
} }
.section.main .content .page-heading { .section.main .content .page-heading {
font-size: 18px; font-size: 18px;
@@ -317,7 +317,7 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-smoothing: antialiased; font-smoothing: antialiased;
color: #333333; color: #333333;
margin-bottom: 16px; margin-bottom: 18px;
} }
.section.main .content .front-matter .page-heading { .section.main .content .front-matter .page-heading {
margin-bottom: 0; margin-bottom: 0;
@@ -330,7 +330,7 @@ body {
display: -ms-flexbox; display: -ms-flexbox;
display: -ms-flex; display: -ms-flex;
display: flex; display: flex;
margin-bottom: 32px; margin-bottom: 36px;
} }
.section.main .content .front-matter .date, .section.main .content .front-matter .date,
.section.main .content .front-matter .word-count, .section.main .content .front-matter .word-count,
@@ -421,26 +421,26 @@ body {
color: #b7b7b7; color: #b7b7b7;
min-width: 100px; min-width: 100px;
text-align: right; text-align: right;
margin-right: 20px; margin-right: 18px;
} }
.section { .section {
padding: 0 20px; padding: 0 18px;
} }
.section.header { .section.header {
padding-top: 32px; padding-top: 36px;
padding-bottom: 16px; padding-bottom: 18px;
} }
.section.icons { .section.icons {
padding-top: 0; padding-top: 0;
padding-bottom: 32px; padding-bottom: 36px;
} }
.section.main { .section.main {
padding-top: 32px; padding-top: 36px;
padding-bottom: 32px; padding-bottom: 36px;
} }
@media (min-width: 550px) { @media (min-width: 550px) {
.container { .container {
margin: 0 20px; margin: 0 30px;
} }
.section.header { .section.header {
padding-top: 60px; padding-top: 60px;
@@ -501,7 +501,7 @@ a {
.section.main .content .markdown code, .section.main .content .markdown code,
.section.main .content .markdown pre { .section.main .content .markdown pre {
font-family: 'Ubuntu Mono', 'Menlo', monospace; font-family: 'Ubuntu Mono', 'Menlo', monospace;
font-size: 15px; font-size: 0.9rem;
background-color: #f9f9f9; background-color: #f9f9f9;
} }
.section.main .content .markdown code { .section.main .content .markdown code {