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,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">
<channel>
<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>
<generator>Hugo -- gohugo.io</generator>
<language>en-US</language>
<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>
<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>
<guid>http://localhost:1313/posts/redirect-webpages-html/</guid>
<guid>http://hugo.spf13.com/posts/redirect-webpages-html/</guid>
<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;

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>