diff --git a/exampleSite/public/404/index.html b/exampleSite/public/404/index.html index 6e1c6bf..e69de29 100644 --- a/exampleSite/public/404/index.html +++ b/exampleSite/public/404/index.html @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - 404 Page not found · Hugo Themes - - - - - - - - - - - - - - - - - - - -
-
-
- -
map[]
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
-
404
-
Sorry, this page does not exist.
- -
-
-
- - - - - - - - - - diff --git a/exampleSite/public/about/index.html b/exampleSite/public/about/index.html index 67abd7d..e69de29 100644 --- a/exampleSite/public/about/index.html +++ b/exampleSite/public/about/index.html @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - about · Hugo Themes - - - - - - - - - - - - - - - - - - - -
-
-
- -
map[]
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
-
- - about - -
- - -
-

TODO: Page not complete yet.

- -

Information about you.

- -

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.

- -
-
-
-
- - - - - - - - - - diff --git a/exampleSite/public/code/index.html b/exampleSite/public/code/index.html index fbdf084..e69de29 100644 --- a/exampleSite/public/code/index.html +++ b/exampleSite/public/code/index.html @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - code · Hugo Themes - - - - - - - - - - - - - - - - - - - -
-
-
- -
map[]
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
-
- - code - -
- - -
-

TODO: Page not complete yet.

- -

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.

- -
-
-
-
- - - - - - - - - - diff --git a/exampleSite/public/fixed/index.html b/exampleSite/public/fixed/index.html index 7d0f29b..e69de29 100644 --- a/exampleSite/public/fixed/index.html +++ b/exampleSite/public/fixed/index.html @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - Fixeds · Hugo Themes - - - - - - - - - - - - - - - - - - - -
-
-
- -
map[]
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
-
- - Fixeds - -
- - - -
  • -
    Aug 22, 2015
    -
    about
    -
  • - - -
  • -
    Aug 19, 2015
    -
    code
    -
  • - - -
    -
    -
    - - - - - - - - - - - diff --git a/exampleSite/public/fixed/index.xml b/exampleSite/public/fixed/index.xml index dd7c382..5c7755f 100644 --- a/exampleSite/public/fixed/index.xml +++ b/exampleSite/public/fixed/index.xml @@ -2,19 +2,19 @@ Fixeds on Hugo Themes - http://localhost:1313/fixed/ + http://hugo.spf13.com/fixed/ Recent content in Fixeds on Hugo Themes Hugo -- gohugo.io en-US Sat, 22 Aug 2015 06:42:21 -0700 - + - about - http://localhost:1313/about/ + About + http://hugo.spf13.com/about/ Sat, 22 Aug 2015 06:42:21 -0700 - http://localhost:1313/about/ + http://hugo.spf13.com/about/ <p>TODO: Page not complete yet.</p> <p>Information about you.</p> @@ -29,11 +29,11 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p&g - code - http://localhost:1313/code/ + Code + http://hugo.spf13.com/code/ Wed, 19 Aug 2015 20:29:37 -0700 - http://localhost:1313/code/ + http://hugo.spf13.com/code/ <p>TODO: Page not complete yet.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod diff --git a/exampleSite/public/index.html b/exampleSite/public/index.html index b98c2e6..e69de29 100644 --- a/exampleSite/public/index.html +++ b/exampleSite/public/index.html @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - Hugo Themes · Hugo Themes - - - - - - - - - - - - - - - - - - - -
    -
    -
    - -
    map[]
    -
    -
    -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    - -
    -
    -
    -
    Posts
    - - -
  • -
    Aug 22, 2015
    -
    Redirect webpages using HTML
    -
  • - - - - - - - -
    -
    -
    - - - - - - - - - - - diff --git a/exampleSite/public/index.xml b/exampleSite/public/index.xml index d4df392..29dc018 100644 --- a/exampleSite/public/index.xml +++ b/exampleSite/public/index.xml @@ -2,19 +2,19 @@ Hugo Themes - http://localhost:1313/ + http://hugo.spf13.com/ Recent content on Hugo Themes Hugo -- gohugo.io en-US Sat, 22 Aug 2015 15:45:30 -0700 - + Redirect webpages using HTML - http://localhost:1313/posts/redirect-webpages-html/ + http://hugo.spf13.com/posts/redirect-webpages-html/ Sat, 22 Aug 2015 15:45:30 -0700 - http://localhost:1313/posts/redirect-webpages-html/ + http://hugo.spf13.com/posts/redirect-webpages-html/ <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> @@ -35,11 +35,11 @@ - about - http://localhost:1313/about/ + About + http://hugo.spf13.com/about/ Sat, 22 Aug 2015 06:42:21 -0700 - http://localhost:1313/about/ + http://hugo.spf13.com/about/ <p>TODO: Page not complete yet.</p> <p>Information about you.</p> @@ -54,11 +54,11 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p&g - code - http://localhost:1313/code/ + Code + http://hugo.spf13.com/code/ Wed, 19 Aug 2015 20:29:37 -0700 - http://localhost:1313/code/ + http://hugo.spf13.com/code/ <p>TODO: Page not complete yet.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod diff --git a/exampleSite/public/posts/index.html b/exampleSite/public/posts/index.html index 1bf1f61..e69de29 100644 --- a/exampleSite/public/posts/index.html +++ b/exampleSite/public/posts/index.html @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - Posts · Hugo Themes - - - - - - - - - - - - - - - - - - - -
    -
    -
    - -
    map[]
    -
    -
    -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    - -
    -
    -
    -
    - - Posts - -
    - - - -
  • -
    Aug 22, 2015
    -
    Redirect webpages using HTML
    -
  • - - -
    -
    -
    - - - - - - - - - - - diff --git a/exampleSite/public/posts/index.xml b/exampleSite/public/posts/index.xml index 44f25e9..c64e608 100644 --- a/exampleSite/public/posts/index.xml +++ b/exampleSite/public/posts/index.xml @@ -2,19 +2,19 @@ Posts on Hugo Themes - http://localhost:1313/posts/ + http://hugo.spf13.com/posts/ Recent content in Posts on Hugo Themes Hugo -- gohugo.io en-US Sat, 22 Aug 2015 15:45:30 -0700 - + Redirect webpages using HTML - http://localhost:1313/posts/redirect-webpages-html/ + http://hugo.spf13.com/posts/redirect-webpages-html/ Sat, 22 Aug 2015 15:45:30 -0700 - http://localhost:1313/posts/redirect-webpages-html/ + http://hugo.spf13.com/posts/redirect-webpages-html/ <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> diff --git a/exampleSite/public/posts/redirect-webpages-html/index.html b/exampleSite/public/posts/redirect-webpages-html/index.html index ef6b32e..e69de29 100644 --- a/exampleSite/public/posts/redirect-webpages-html/index.html +++ b/exampleSite/public/posts/redirect-webpages-html/index.html @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - Redirect webpages using HTML · Hugo Themes - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - - Redirect webpages using HTML - -
    - -
    -
    -
    Aug 22, 2015
    -
    200 words
    -
    1 minute read
    -
    -
    -
    - - -

    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.

    - -

    To redirect visitors reaching yourwebsite.com/blog to yourwebsite.com/posts, add this to the <head> section of the HTML at yourwebsite.com/blog:

    - -

    <meta http-equiv="refresh" content="0;url='/posts'" />
    -<link rel="canonical" href="/posts" />
    -
    -

    - -

    walkthrough

    - -

    Setting http-equiv="refresh" in the first line performs the actual redirect. The number in the content attribute specified in seconds tells the browser how long to wait before redirecting. In this example, 0 redirects immediately. Increasing the wait may be useful for briefly displaying a 404 page before automatically switching to the home page. The url specfies the destination for the redirect. In this example, we wanted to switch to /posts.

    - -

    The second line is optional; it helps search engines know which the preferred version of the page is. Usually, this is the redirect destination.

    - -
    -

    Back to posts

    -
    -
    -
    -
    - - - - - - - - - - - diff --git a/exampleSite/public/sitemap.xml b/exampleSite/public/sitemap.xml index 2289135..d2b3480 100644 --- a/exampleSite/public/sitemap.xml +++ b/exampleSite/public/sitemap.xml @@ -2,23 +2,23 @@ - http://localhost:1313/ + http://hugo.spf13.com/ 2015-08-22T15:45:30-07:00 0 - http://localhost:1313/posts/redirect-webpages-html/ + http://hugo.spf13.com/posts/redirect-webpages-html/ 2015-08-22T15:45:30-07:00 - http://localhost:1313/about/ + http://hugo.spf13.com/about/ 2015-08-22T06:42:21-07:00 - http://localhost:1313/code/ + http://hugo.spf13.com/code/ 2015-08-19T20:29:37-07:00 diff --git a/main.less b/main.less index c34dffb..f71c8ec 100644 --- a/main.less +++ b/main.less @@ -7,7 +7,7 @@ // Less variables -@base-font-size: 16px; +@base-font-size: 18px; @vspacing: @base-font-size*2; @monospace-font-stack: ~"'Ubuntu Mono', 'Menlo', monospace"; @@ -143,7 +143,7 @@ body { @media (min-width: 550px) { .section { - padding: 0 20px; + padding: 0 @vspacing/2; margin-left: 100px; margin-right: 100px; max-width: 900px; @@ -285,10 +285,10 @@ body { } .icon { - font-size: 18px; + font-size: 1rem; &.larger { - font-size: 20px; + font-size: 1.2rem; } } } @@ -313,7 +313,7 @@ body { } .icon { - font-size: 16px; + font-size: @base-font-size; &.larger { font-size: 18px; @@ -335,7 +335,7 @@ body { .content { color: @black; - font-size: 16px; + font-size: @base-font-size; .page-heading { .heading(); @@ -443,7 +443,7 @@ body { .meta(); min-width: 100px; text-align: right; - margin-right: 20px; + margin-right: @vspacing/2; } } } @@ -453,7 +453,7 @@ body { // Spacing .section { - padding: 0 20px; + padding: 0 @vspacing/2; } .section.header { @@ -475,7 +475,7 @@ body { @vspacing: 60px; .container { - margin: 0 20px; + margin: 0 @vspacing/2; } .section.header { diff --git a/markdown.less b/markdown.less index 403fd52..89224b0 100644 --- a/markdown.less +++ b/markdown.less @@ -39,7 +39,7 @@ h4, h5, h6 { code, pre { font-family: @monospace-font-stack; - font-size: 15px; + font-size: 0.9rem; background-color: @background-gray; } diff --git a/static/css/main.css b/static/css/main.css index 90fe718..54e1eba 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -24,7 +24,7 @@ a:active { } html { height: 100%; - font-size: 16px; + font-size: 18px; } body { display: -webkit-flex; @@ -91,7 +91,7 @@ body { } @media (min-width: 550px) { .section { - padding: 0 20px; + padding: 0 18px; margin-left: 100px; margin-right: 100px; max-width: 900px; @@ -177,7 +177,7 @@ body { } .section.header nav { font-size: 14px; - margin-bottom: 16px; + margin-bottom: 18px; } .section.header nav ul { list-style: none; @@ -264,10 +264,10 @@ body { color: #fefefe; } .section.icons .content a .icon { - font-size: 18px; + font-size: 1rem; } .section.icons .content a .icon.larger { - font-size: 20px; + font-size: 1.2rem; } @media (min-width: 550px) { .section.icons { @@ -287,7 +287,7 @@ body { color: #333333; } .section.icons .content a .icon { - font-size: 16px; + font-size: 18px; } .section.icons .content a .icon.larger { font-size: 18px; @@ -305,7 +305,7 @@ body { } .section.main .content { color: #333333; - font-size: 16px; + font-size: 18px; } .section.main .content .page-heading { font-size: 18px; @@ -317,7 +317,7 @@ body { -webkit-font-smoothing: antialiased; font-smoothing: antialiased; color: #333333; - margin-bottom: 16px; + margin-bottom: 18px; } .section.main .content .front-matter .page-heading { margin-bottom: 0; @@ -330,7 +330,7 @@ body { display: -ms-flexbox; display: -ms-flex; display: flex; - margin-bottom: 32px; + margin-bottom: 36px; } .section.main .content .front-matter .date, .section.main .content .front-matter .word-count, @@ -421,26 +421,26 @@ body { color: #b7b7b7; min-width: 100px; text-align: right; - margin-right: 20px; + margin-right: 18px; } .section { - padding: 0 20px; + padding: 0 18px; } .section.header { - padding-top: 32px; - padding-bottom: 16px; + padding-top: 36px; + padding-bottom: 18px; } .section.icons { padding-top: 0; - padding-bottom: 32px; + padding-bottom: 36px; } .section.main { - padding-top: 32px; - padding-bottom: 32px; + padding-top: 36px; + padding-bottom: 36px; } @media (min-width: 550px) { .container { - margin: 0 20px; + margin: 0 30px; } .section.header { padding-top: 60px; @@ -501,7 +501,7 @@ a { .section.main .content .markdown code, .section.main .content .markdown pre { font-family: 'Ubuntu Mono', 'Menlo', monospace; - font-size: 15px; + font-size: 0.9rem; background-color: #f9f9f9; } .section.main .content .markdown code {