diff options
author | runningstream <runningstreamllc@gmail.com> | 2020-01-19 08:40:29 +0300 |
---|---|---|
committer | runningstream <runningstreamllc@gmail.com> | 2020-01-19 08:45:02 +0300 |
commit | 43c3187fce95d45a3e9e5d13a3af5c4167e2dc14 (patch) | |
tree | 82b559ffb9c58c9543b568977177ea847eb160e2 | |
parent | 37140466ce87f61f4533b922d469471ae6662246 (diff) |
Added a little makefile to build quick, fixed url
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | docs/index.html | 14 | ||||
-rw-r--r-- | docs/sitemap.xml | 10 | ||||
-rw-r--r-- | exampleSite/content/_index.md | 2 |
4 files changed, 24 insertions, 15 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..757f6f0 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CONFIG_GH_PAGES := exampleSite/config_for_github_pages.toml +CONFIG := exampleSite/config.toml +CONTENT := exampleSite/content +THEMES := ../ +OUTPUT := docs + +docs: + hugo --config ${CONFIG_GH_PAGES} -c ${CONTENT} --themesDir ${THEMES} -d ${OUTPUT} + +server: + hugo --config ${CONFIG} -c ${CONTENT} --themesDir ${THEMES} server + +.PHONY: docs diff --git a/docs/index.html b/docs/index.html index c420116..de6c603 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,7 @@ <!doctype html> -<html lang="en-us"> <meta charset="utf-8"> +<html lang="en-us"> + <head> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="A port of the Grayscale theme to Hugo"> <meta name="author" content="RunningStream"> @@ -10,7 +12,7 @@ <meta name="robots" content="index,follow"> <meta name="referrer" content="origin-when-cross-origin"> - <meta name="generator" content="Hugo 0.47.1"> + <meta name="generator" content="Hugo 0.58.3"> <link href="/hugograyscale/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> @@ -22,7 +24,11 @@ <link href="/hugograyscale/css/grayscale.min.css" rel="stylesheet"> -<body id="page-top"> + + + + </head> + <body id="page-top"> <nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav"> <div class="container"> <a class="navbar-brand js-scroll-trigger improve-contrast-box" href="#page-top">Hugo Grayscale Theme</a> @@ -38,7 +44,7 @@ </li><li class="nav-item"> <a class="nav-link js-scroll-trigger improve-contrast-box" href="#contact">contact</a> </li><li class="nav-item"> - <a class="nav-link js-scroll-trigger improve-contrast-box" href="http://startbootstrap.com/template-overviews/grayscale/">Original</a> + <a class="nav-link js-scroll-trigger improve-contrast-box" href="https://startbootstrap.com/themes/grayscale/">Original</a> </li></ul> </div> </div> diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 0e11039..5a8f324 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -7,14 +7,4 @@ <lastmod>2018-09-09T00:00:00+00:00</lastmod> </url> - <url> - <loc>https://runningstream.github.io/hugograyscale/categories/</loc> - <priority>0</priority> - </url> - - <url> - <loc>https://runningstream.github.io/hugograyscale/tags/</loc> - <priority>0</priority> - </url> - </urlset>
\ No newline at end of file diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 268782a..d11514e 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -22,7 +22,7 @@ socialhandles: menu: - - url: "http://startbootstrap.com/template-overviews/grayscale/" + url: "https://startbootstrap.com/themes/grayscale/" name: "Original" intro: |