Skip to content

Commit

Permalink
fix baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
pettyalex committed Apr 25, 2017
1 parent 2a5e7d0 commit 1e686e6
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 39 deletions.
16 changes: 8 additions & 8 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="generator" content="Hugo 0.19" />

<link rel="canonical" href="http://example.org/404/">
<base href="http://example.org/" />
<link rel="canonical" href="https://pettyalex.github.io/404/">
<base href="https://pettyalex.github.io/" />
<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://example.org/404/" />
<meta property="og:url" content="https://pettyalex.github.io/404/" />



Expand Down Expand Up @@ -64,7 +64,7 @@

<nav>
<div class="siteTitle">
<a href="http://example.org/">My New Hugo Site</a>
<a href="https://pettyalex.github.io/">My New Hugo Site</a>
</div>


Expand Down Expand Up @@ -101,7 +101,7 @@ <h2>Pages</h2>
<ul>

<li><article itemscope itemtype="http://schema.org/Blog">
<a href="http://example.org/">My New Hugo Site</a>
<a href="https://pettyalex.github.io/">My New Hugo Site</a>
</article></li>

</ul>
Expand All @@ -110,11 +110,11 @@ <h2>Posts</h2>
<ul>

<li><article itemscope itemtype="http://schema.org/Blog">
<a href="http://example.org/post/">Posts</a>
<a href="https://pettyalex.github.io/post/">Posts</a>
</article></li>

<li><article itemscope itemtype="http://schema.org/Blog">
<a href="http://example.org/post/test/">test</a>
<a href="https://pettyalex.github.io/post/test/">test</a>
</article></li>

</ul>
Expand All @@ -135,7 +135,7 @@ <h2>Posts</h2>


<div class="social-link">
<a href="http://example.org/index.xml" target="_blank">RSS</a>
<a href="https://pettyalex.github.io/index.xml" target="_blank">RSS</a>
</div>

</div>
Expand Down
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="generator" content="Hugo 0.19" />

<link rel="canonical" href="http://example.org/">
<base href="http://example.org/" />
<link rel="canonical" href="https://pettyalex.github.io/">
<base href="https://pettyalex.github.io/" />
<meta property="og:title" content="My New Hugo Site" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://example.org/" />
<meta property="og:url" content="https://pettyalex.github.io/" />



Expand Down Expand Up @@ -65,7 +65,7 @@

<nav>
<div class="siteTitle">
<a href="http://example.org/">My New Hugo Site</a>
<a href="https://pettyalex.github.io/">My New Hugo Site</a>
</div>


Expand Down Expand Up @@ -100,7 +100,7 @@
<article class="post-preview">

<header>
<h2 class="title"> <a href='http://example.org/post/test/'> test</a> </h2>
<h2 class="title"> <a href='https://pettyalex.github.io/post/test/'> test</a> </h2>
<div class="meta">
Apr 25, 2017 - 0 minutes
</div>
Expand All @@ -115,7 +115,7 @@ <h2 class="title"> <a href='http://example.org/post/test/'> test</a> </h2>

<footer>
<div class="rmore">
<a href='http://example.org/post/test/'><nobr>Read more ...</nobr></a>
<a href='https://pettyalex.github.io/post/test/'><nobr>Read more ...</nobr></a>
</div>
</footer>

Expand Down Expand Up @@ -156,7 +156,7 @@ <h2 class="title"> <a href='http://example.org/post/test/'> test</a> </h2>


<div class="social-link">
<a href="http://example.org/index.xml" target="_blank">RSS</a>
<a href="https://pettyalex.github.io/index.xml" target="_blank">RSS</a>
</div>

</div>
Expand Down
8 changes: 4 additions & 4 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>My New Hugo Site</title>
<link>http://example.org/index.xml</link>
<link>https://pettyalex.github.io/index.xml</link>
<description>Recent content on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 25 Apr 2017 15:04:41 -0500</lastBuildDate>
<atom:link href="http://example.org/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="https://pettyalex.github.io/index.xml" rel="self" type="application/rss+xml" />

<item>
<title>test</title>
<link>http://example.org/post/test/</link>
<link>https://pettyalex.github.io/post/test/</link>
<pubDate>Tue, 25 Apr 2017 15:04:41 -0500</pubDate>

<guid>http://example.org/post/test/</guid>
<guid>https://pettyalex.github.io/post/test/</guid>
<description></description>
</item>

Expand Down
2 changes: 1 addition & 1 deletion page/1/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><title>http://example.org/</title><link rel="canonical" href="http://example.org/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=http://example.org/" /></head></html>
<!DOCTYPE html><html><head><title>https://pettyalex.github.io/</title><link rel="canonical" href="https://pettyalex.github.io/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=https://pettyalex.github.io/" /></head></html>
14 changes: 7 additions & 7 deletions post/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="generator" content="Hugo 0.19" />

<link rel="canonical" href="http://example.org/post/">
<base href="http://example.org/" />
<link rel="canonical" href="https://pettyalex.github.io/post/">
<base href="https://pettyalex.github.io/" />
<meta property="og:title" content="Posts" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://example.org/post/" />
<meta property="og:url" content="https://pettyalex.github.io/post/" />



Expand Down Expand Up @@ -64,7 +64,7 @@

<nav>
<div class="siteTitle">
<a href="http://example.org/">My New Hugo Site</a>
<a href="https://pettyalex.github.io/">My New Hugo Site</a>
</div>


Expand Down Expand Up @@ -93,15 +93,15 @@


<h2 class="content-list-title">
<a href="http://example.org/post/" class="linktopost">Posts</a>
<a href="https://pettyalex.github.io/post/" class="linktopost">Posts</a>
</h2>

<div class="content-list">

<div class="content-list-date">2017</div>

<div class="content-item">
<a href="http://example.org/post/test/">
<a href="https://pettyalex.github.io/post/test/">
<div class="post-list"> <h3 class="title"> test </h3> </div>
</a>

Expand Down Expand Up @@ -132,7 +132,7 @@ <h2 class="content-list-title">


<div class="social-link">
<a href="http://example.org/index.xml" target="_blank">RSS</a>
<a href="https://pettyalex.github.io/index.xml" target="_blank">RSS</a>
</div>

</div>
Expand Down
8 changes: 4 additions & 4 deletions post/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on My New Hugo Site</title>
<link>http://example.org/post/index.xml</link>
<link>https://pettyalex.github.io/post/index.xml</link>
<description>Recent content in Posts on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 25 Apr 2017 15:04:41 -0500</lastBuildDate>
<atom:link href="http://example.org/post/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="https://pettyalex.github.io/post/index.xml" rel="self" type="application/rss+xml" />

<item>
<title>test</title>
<link>http://example.org/post/test/</link>
<link>https://pettyalex.github.io/post/test/</link>
<pubDate>Tue, 25 Apr 2017 15:04:41 -0500</pubDate>

<guid>http://example.org/post/test/</guid>
<guid>https://pettyalex.github.io/post/test/</guid>
<description></description>
</item>

Expand Down
10 changes: 5 additions & 5 deletions post/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="generator" content="Hugo 0.19" />

<link rel="canonical" href="http://example.org/post/test/">
<base href="http://example.org/" />
<link rel="canonical" href="https://pettyalex.github.io/post/test/">
<base href="https://pettyalex.github.io/" />
<meta property="og:title" content="test" />
<meta property="og:description" content="" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://example.org/post/test/" />
<meta property="og:url" content="https://pettyalex.github.io/post/test/" />



Expand Down Expand Up @@ -83,7 +83,7 @@

<nav>
<div class="siteTitle">
<a href="http://example.org/">My New Hugo Site</a>
<a href="https://pettyalex.github.io/">My New Hugo Site</a>
</div>


Expand Down Expand Up @@ -149,7 +149,7 @@ <h1 class="title"> test </h1>


<div class="social-link">
<a href="http://example.org/index.xml" target="_blank">RSS</a>
<a href="https://pettyalex.github.io/index.xml" target="_blank">RSS</a>
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

<url>
<loc>http://example.org/post/test/</loc>
<loc>https://pettyalex.github.io/post/test/</loc>
<lastmod>2017-04-25T15:04:41-05:00</lastmod>
</url>

<url>
<loc>http://example.org/</loc>
<loc>https://pettyalex.github.io/</loc>
<lastmod>2017-04-25T15:04:41-05:00</lastmod>
<priority>0</priority>
</url>

<url>
<loc>http://example.org/post/</loc>
<loc>https://pettyalex.github.io/post/</loc>
<lastmod>2017-04-25T15:04:41-05:00</lastmod>
<priority>0</priority>
</url>
Expand Down

0 comments on commit 1e686e6

Please sign in to comment.