如果想要生成静态网站文件,则必须使用hugo命令生成public文件夹,而不是使用hugo server
This commit is contained in:
parent
e015fdeed3
commit
f326a504b3
@ -1 +1 @@
|
||||
<script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script><p>找不到页面</p>
|
||||
<p>找不到页面</p>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
|
||||
<meta name="viewport"
|
||||
@ -14,20 +14,20 @@
|
||||
<meta name="baidu-site-verification" content="codeva-cCAOSG8MBO" />
|
||||
|
||||
<link rel="stylesheet" id="block-library-css"
|
||||
href="http://localhost:1313/assets/css/block-library.min-5.6.2.css" type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="iconfont-css" href="http://localhost:1313/assets/css/iconfont-3.03029.1.css"
|
||||
href="https://suqingyu.com/assets/css/block-library.min-5.6.2.css" type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="iconfont-css" href="https://suqingyu.com/assets/css/iconfont-3.03029.1.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="bootstrap-css" href="http://localhost:1313/assets/css/bootstrap.min-4.3.1.css"
|
||||
<link rel="stylesheet" id="bootstrap-css" href="https://suqingyu.com/assets/css/bootstrap.min-4.3.1.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="fancybox-css" href="http://localhost:1313/assets/css/fancybox.min-3.5.7.css"
|
||||
<link rel="stylesheet" id="fancybox-css" href="https://suqingyu.com/assets/css/fancybox.min-3.5.7.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="iowen-css" href="http://localhost:1313/assets/css/style-3.03029.1.css"
|
||||
<link rel="stylesheet" id="iowen-css" href="https://suqingyu.com/assets/css/style-3.03029.1.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="custom-css" href="http://localhost:1313/assets/css/custom-style.css"
|
||||
<link rel="stylesheet" id="custom-css" href="https://suqingyu.com/assets/css/custom-style.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="fortawesome-css" href="http://localhost:1313/assets/fontawesome-5.15.4/css/all.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="http://localhost:1313/assets/js/jquery.min-3.2.1.js" id="jquery-js"></script>
|
||||
<script type="text/javascript" src="http://localhost:1313/assets/js/content-search.js" id="content-search-js"></script>
|
||||
<link rel="stylesheet" id="fortawesome-css" href="https://suqingyu.com/assets/fontawesome-5.15.4/css/all.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="https://suqingyu.com/assets/js/jquery.min-3.2.1.js" id="jquery-js"></script>
|
||||
<script type="text/javascript" src="https://suqingyu.com/assets/js/content-search.js" id="content-search-js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
@ -52,8 +52,8 @@
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" id="fancybox-css" href="http://localhost:1313/assets/css/fancybox.min-3.5.7.css"/>
|
||||
<script type="text/javascript" id="fancybox-js" src="http://localhost:1313/assets/js/fancybox.min-3.5.7.js"></script>
|
||||
<link rel="stylesheet" id="fancybox-css" href="https://suqingyu.com/assets/css/fancybox.min-3.5.7.css"/>
|
||||
<script type="text/javascript" id="fancybox-js" src="https://suqingyu.com/assets/js/fancybox.min-3.5.7.js"></script>
|
||||
|
||||
|
||||
|
||||
@ -219,21 +219,21 @@
|
||||
</div>
|
||||
|
||||
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/jquery.ui.touch-punch.min-0.2.2.js' id='jqueryui-touch-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/clipboard.min-5.6.2.js' id='clipboard-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/tooltip-extend.js' id='iplaycode-nav-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/jquery.ui.touch-punch.min-0.2.2.js' id='jqueryui-touch-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/clipboard.min-5.6.2.js' id='clipboard-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/tooltip-extend.js' id='iplaycode-nav-js'></script>
|
||||
<script type='text/javascript' id='popper-js-extra'>
|
||||
|
||||
var theme = {"ajaxurl":"","addico":"https:\/\/nav.baidu.cn\/wp-content\/themes\/onenav\/images\/add.png","order":"asc","formpostion":"top","defaultclass":"io-grey-mode","isCustomize":"1","icourl":"","icopng":".png","urlformat":"1","customizemax":"10","newWindow":"0","lazyload":"1","minNav":"1","loading":"1","hotWords":"baidu","classColumns":" col-sm-6 col-md-4 col-xl-5a col-xxl-6a ","apikey":"TWpBeU1UVTNOekk1TWpVMEIvZ1M2bFVIQllUMmxsV1dZelkxQTVPVzB3UW04eldGQmxhM3BNWW14bVNtWk4="};
|
||||
|
||||
</script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/popper.min.js' id='popper-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/bootstrap.min-4.3.1.js' id='bootstrap-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/theia-sticky-sidebar-1.5.0.js' id='sidebar-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/lazyload.min-12.4.0.js' id='lazyload-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/popper.min.js' id='popper-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/bootstrap.min-4.3.1.js' id='bootstrap-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/theia-sticky-sidebar-1.5.0.js' id='sidebar-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/lazyload.min-12.4.0.js' id='lazyload-js'></script>
|
||||
|
||||
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/app-anim.js' id='appanim-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/app-anim.js' id='appanim-js'></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Categories on 苏青羽的导航小站</title>
|
||||
<link>http://localhost:1313/categories/</link>
|
||||
<link>https://suqingyu.com/categories/</link>
|
||||
<description>Recent content in Categories on 苏青羽的导航小站</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>zh-CN</language>
|
||||
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="https://suqingyu.com/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.144.0"><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta name="generator" content="Hugo 0.144.0">
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
|
||||
<meta name="viewport"
|
||||
@ -15,20 +15,20 @@
|
||||
<meta name="baidu-site-verification" content="codeva-cCAOSG8MBO" />
|
||||
|
||||
<link rel="stylesheet" id="block-library-css"
|
||||
href="http://localhost:1313/assets/css/block-library.min-5.6.2.css" type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="iconfont-css" href="http://localhost:1313/assets/css/iconfont-3.03029.1.css"
|
||||
href="https://suqingyu.com/assets/css/block-library.min-5.6.2.css" type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="iconfont-css" href="https://suqingyu.com/assets/css/iconfont-3.03029.1.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="bootstrap-css" href="http://localhost:1313/assets/css/bootstrap.min-4.3.1.css"
|
||||
<link rel="stylesheet" id="bootstrap-css" href="https://suqingyu.com/assets/css/bootstrap.min-4.3.1.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="fancybox-css" href="http://localhost:1313/assets/css/fancybox.min-3.5.7.css"
|
||||
<link rel="stylesheet" id="fancybox-css" href="https://suqingyu.com/assets/css/fancybox.min-3.5.7.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="iowen-css" href="http://localhost:1313/assets/css/style-3.03029.1.css"
|
||||
<link rel="stylesheet" id="iowen-css" href="https://suqingyu.com/assets/css/style-3.03029.1.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="custom-css" href="http://localhost:1313/assets/css/custom-style.css"
|
||||
<link rel="stylesheet" id="custom-css" href="https://suqingyu.com/assets/css/custom-style.css"
|
||||
type="text/css" media="all" />
|
||||
<link rel="stylesheet" id="fortawesome-css" href="http://localhost:1313/assets/fontawesome-5.15.4/css/all.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="http://localhost:1313/assets/js/jquery.min-3.2.1.js" id="jquery-js"></script>
|
||||
<script type="text/javascript" src="http://localhost:1313/assets/js/content-search.js" id="content-search-js"></script>
|
||||
<link rel="stylesheet" id="fortawesome-css" href="https://suqingyu.com/assets/fontawesome-5.15.4/css/all.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="https://suqingyu.com/assets/js/jquery.min-3.2.1.js" id="jquery-js"></script>
|
||||
<script type="text/javascript" src="https://suqingyu.com/assets/js/content-search.js" id="content-search-js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
@ -53,8 +53,8 @@
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" id="fancybox-css" href="http://localhost:1313/assets/css/fancybox.min-3.5.7.css"/>
|
||||
<script type="text/javascript" id="fancybox-js" src="http://localhost:1313/assets/js/fancybox.min-3.5.7.js"></script>
|
||||
<link rel="stylesheet" id="fancybox-css" href="https://suqingyu.com/assets/css/fancybox.min-3.5.7.css"/>
|
||||
<script type="text/javascript" id="fancybox-js" src="https://suqingyu.com/assets/js/fancybox.min-3.5.7.js"></script>
|
||||
|
||||
|
||||
|
||||
@ -2331,21 +2331,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/jquery.ui.touch-punch.min-0.2.2.js' id='jqueryui-touch-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/clipboard.min-5.6.2.js' id='clipboard-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/tooltip-extend.js' id='iplaycode-nav-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/jquery.ui.touch-punch.min-0.2.2.js' id='jqueryui-touch-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/clipboard.min-5.6.2.js' id='clipboard-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/tooltip-extend.js' id='iplaycode-nav-js'></script>
|
||||
<script type='text/javascript' id='popper-js-extra'>
|
||||
|
||||
var theme = {"ajaxurl":"","addico":"https:\/\/nav.baidu.cn\/wp-content\/themes\/onenav\/images\/add.png","order":"asc","formpostion":"top","defaultclass":"io-grey-mode","isCustomize":"1","icourl":"","icopng":".png","urlformat":"1","customizemax":"10","newWindow":"0","lazyload":"1","minNav":"1","loading":"1","hotWords":"baidu","classColumns":" col-sm-6 col-md-4 col-xl-5a col-xxl-6a ","apikey":"TWpBeU1UVTNOekk1TWpVMEIvZ1M2bFVIQllUMmxsV1dZelkxQTVPVzB3UW04eldGQmxhM3BNWW14bVNtWk4="};
|
||||
|
||||
</script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/popper.min.js' id='popper-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/bootstrap.min-4.3.1.js' id='bootstrap-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/theia-sticky-sidebar-1.5.0.js' id='sidebar-js'></script>
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/lazyload.min-12.4.0.js' id='lazyload-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/popper.min.js' id='popper-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/bootstrap.min-4.3.1.js' id='bootstrap-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/theia-sticky-sidebar-1.5.0.js' id='sidebar-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/lazyload.min-12.4.0.js' id='lazyload-js'></script>
|
||||
|
||||
|
||||
<script type='text/javascript' src='http://localhost:1313/assets/js/app-anim.js' id='appanim-js'></script>
|
||||
<script type='text/javascript' src='https://suqingyu.com/assets/js/app-anim.js' id='appanim-js'></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
@ -2,17 +2,17 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>苏青羽的导航小站</title>
|
||||
<link>http://localhost:1313/</link>
|
||||
<link>https://suqingyu.com/</link>
|
||||
<description>Recent content on 苏青羽的导航小站</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>zh-CN</language>
|
||||
<lastBuildDate>Tue, 28 Jul 2020 19:27:08 +0800</lastBuildDate>
|
||||
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="https://suqingyu.com/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>关于网站</title>
|
||||
<link>http://localhost:1313/about/</link>
|
||||
<link>https://suqingyu.com/about/</link>
|
||||
<pubDate>Tue, 28 Jul 2020 19:27:08 +0800</pubDate>
|
||||
<guid>http://localhost:1313/about/</guid>
|
||||
<guid>https://suqingyu.com/about/</guid>
|
||||
<description><h4 id="这是-hugo-版-webstack-主题">这是 Hugo 版 WebStack 主题</h4>
<p>本项目是基于<strong>纯静态</strong>的网址导航网站 <a href="https://github.com/WebStackPage/WebStackPage.github.io">webstack.cc</a> 制作的 <a href="https://gohugo.io/">Hugo</a> 主题,其中部分代码参考了以下几个开源项目:<br/><br/></p>
<ul>
<li><a href="https://github.com/liutongxu/liutongxu.github.io">https://github.com/liutongxu/liutongxu.github.io</a></li>
<li><a href="https://github.com/iplaycode/webstack-hugo">https://github.com/iplaycode/webstack-hugo</a></li>
</ul>
<br/>
<p>主题安装后,将 exampleSite 目录下的文件复制到 hugo 站点根目录,根据需要把 config.toml 的一些信息改成自己的,导航的网址信息可通过 data 目录下 webstack.yml 修改。</p></description>
|
||||
</item>
|
||||
</channel>
|
||||
|
||||
@ -2,14 +2,14 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>http://localhost:1313/about/</loc>
|
||||
<loc>https://suqingyu.com/about/</loc>
|
||||
<lastmod>2020-07-28T19:27:08+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/</loc>
|
||||
<loc>https://suqingyu.com/</loc>
|
||||
<lastmod>2020-07-28T19:27:08+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/categories/</loc>
|
||||
<loc>https://suqingyu.com/categories/</loc>
|
||||
</url><url>
|
||||
<loc>http://localhost:1313/tags/</loc>
|
||||
<loc>https://suqingyu.com/tags/</loc>
|
||||
</url>
|
||||
</urlset>
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Tags on 苏青羽的导航小站</title>
|
||||
<link>http://localhost:1313/tags/</link>
|
||||
<link>https://suqingyu.com/tags/</link>
|
||||
<description>Recent content in Tags on 苏青羽的导航小站</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>zh-CN</language>
|
||||
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="https://suqingyu.com/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user