master
王蔡艺鑫 2 years ago
parent 0d9ade9dfa
commit 40a4064f39
  1. 103
      nosleeplessnights/about.html
  2. 6
      nosleeplessnights/config.json
  3. 119
      nosleeplessnights/contact.html
  4. 7
      nosleeplessnights/css/bootstrap.min.css
  5. 1
      nosleeplessnights/css/global.css@ver=1669579173.css
  6. 1
      nosleeplessnights/css/main.min.css@ver=1669579173.css
  7. 144
      nosleeplessnights/details.html
  8. 153
      nosleeplessnights/index.html
  9. 7
      nosleeplessnights/js/bootstrap.bundle.min.js
  10. 2
      nosleeplessnights/js/jquery-3.6.0.slim.min.js
  11. 103
      nosleeplessnights/policy.html

@ -0,0 +1,103 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/global.css@ver=1669579173.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css@ver=1669579173.css"}}" />
</head>
<body class="home page-template-default page page-id-30 wp-custom-logo wp-embed-responsive ct-loading"
data-link="type-1" data-prefix="single_page" data-header="type-1" data-footer="type-1">
<header id="header">
<div class="container">
<nav id="nav" class="navbar navbar-expand-md navbar-light">
<div class="logo-container">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</nav>
</div>
</header>
<section id="content" class="container" style="margin-bottom: 20px;">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{ lang "home" }}</a>&nbsp;&nbsp;/&nbsp;
<a href="#">{{ lang "about" }}</a>
</div>
<h1 style="margin: 20px 0;" id="page-title">{{ lang "about"}} </h1>
<div>
{{.About}}
</div>
</section>
<footer id="footer">
<div class="container d-md-flex justify-content-md-between" style="flex-wrap: wrap;text-align: center;">
<div class="column flex-grow-1">
<div class="title">{{lang "related"}}</div>
<div class="links" style="list-style: none;">
<li class="nav-item" >
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
<div class="column d-md-flex flex-column" style="width: 100%;">
<div class="copyright">{{.Copyright}}</div>
</div>
</div>
</footer>
<script src="{{staticFile "/js/jquery-3.6.0.slim.min.js"}}"></script>
<script src="{{staticFile "/js/bootstrap.bundle.min.js"}}"></script>
</body>
</html>

@ -0,0 +1,6 @@
{
"creator": "王蔡艺鑫",
"version": "1.0",
"origin_website": "https://www.nosleeplessnights.com/",
"devices": ["pc", "pad", "phone"]
}

@ -0,0 +1,119 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/global.css@ver=1669579173.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css@ver=1669579173.css"}}" />
</head>
<body class="home page-template-default page page-id-30 wp-custom-logo wp-embed-responsive ct-loading"
data-link="type-1" data-prefix="single_page" data-header="type-1" data-footer="type-1">
<header id="header">
<div class="container">
<nav id="nav" class="navbar navbar-expand-md navbar-light">
<div class="logo-container">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</nav>
</div>
</header>
<section id="content" class="container" style="margin-bottom: 20px;">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{lang "home"}}</a>&nbsp;&nbsp;/&nbsp;
<a href="#">{{lang "contact"}}</a>
</div>
<h1 style="margin: 20px 0;" id="page-title">{{lang "contact"}}</h1>
<div>
{{.Contact}}
<form class="col-12 col-lg-6" style="padding: 0;">
<div class="form-group">
<label for="emailInput">{{lang "about_email"}}</label>
<input type="email" class="form-control" id="emailInput" placeholder="name@example.com">
</div>
<div class="form-group">
<label for="nameInput">{{lang "about_name"}}</label>
<input type="name" class="form-control" id="nameInput" placeholder="your name">
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">{{lang "about_message"}}</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"
placeholder="what do you want to say"></textarea>
</div>
<button type="submit" class="btn btn-primary" style="width: 100%;">{{lang "about_send"}}</button>
</form>
</div>
</section>
<footer id="footer">
<div class="container d-md-flex justify-content-md-between" style="flex-wrap: wrap;text-align: center;">
<div class="column flex-grow-1">
<div class="title">{{lang "related"}}</div>
<div class="links" style="list-style: none;">
<li class="nav-item" >
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
<div class="column d-md-flex flex-column" style="width: 100%;">
<div class="copyright">{{.Copyright}}</div>
</div>
</div>
</footer>
<script src="{{staticFile "/js/jquery-3.6.0.slim.min.js"}}"></script>
<script src="{{staticFile "/js/bootstrap.bundle.min.js"}}"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,144 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/global.css@ver=1669579173.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css@ver=1669579173.css"}}" />
</head>
<body class="home page-template-default page page-id-30 wp-custom-logo wp-embed-responsive ct-loading"
data-link="type-1" data-prefix="single_page" data-header="type-1" data-footer="type-1">
<header id="header">
<div class="container">
<nav id="nav" class="navbar navbar-expand-md navbar-light">
<div class="logo-container">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</nav>
</div>
</header>
<section id="content" class="container" style="margin-bottom: 20px;">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{lang "home"}}</a>&nbsp;&nbsp;/&nbsp;
<a href="#">{{.Title}}</a>
</div>
<div id="article-head">
<h1 id="title">{{.Title}}</h1>
<div>
<span>{{timeFormat .PublishTime}}</span>
<span> / </span>
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
<div class="d-lg-flex" >
<div id="article-container" style="flex: 1;max-width: none;" class="col-lg-8 col-md-12">
<!-- article content start -->
<!-- span class="link"
section="shortcodeLink"><a
href="/tech/mobile/the-next-iphone-moment-will-arrive-eventually-hurry-up-already/">the
iPhone</a></span> -->
<article id="article">
<img width="100%" src="{{getCover .Article.Pictures}}" />
<p class="speakableTextP1">{{.Article.Summary}}</p>
{{range .Article.Topics}}
<p><strong>{{.Topic}}</strong></p>
{{$tlen := len .Pictures}}
{{if ne $tlen 0}}
{{range .Pictures}}
<img width="100%" src="{{replaceImage .}}" />
{{end}}
{{end}}
<p>{{.Content}}</p>
{{end}}
</article>
<!-- article content end -->
<div class="article-page">
{{ if .Prev }}
<div class="hidden-text">
<a href="{{.Prev.Url}}">{{lang "prev_article"}}:{{.Prev.Title}}</a>
</div>
{{ end }}
{{ if .Next }}
<div class="hidden-text">
<a href="{{.Next.Url}}">{{lang "next_article"}}:{{.Next.Title}}</a>
</div>
{{ end }}
</div>
</div>
</div>
</section>
<footer id="footer">
<div class="container d-md-flex justify-content-md-between" style="flex-wrap: wrap;text-align: center;">
<div class="column flex-grow-1">
<div class="title">{{lang "related"}}</div>
<div class="links" style="list-style: none;">
<li class="nav-item" >
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
<div class="column d-md-flex flex-column" style="width: 100%;">
<div class="copyright">{{.Copyright}}</div>
</div>
</div>
</footer>
<script src="{{staticFile "/js/jquery-3.6.0.slim.min.js"}}"></script>
<script src="{{staticFile "/js/bootstrap.bundle.min.js"}}"></script>
</body>
</html>

@ -0,0 +1,153 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/global.css@ver=1669579173.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css@ver=1669579173.css"}}" />
</head>
<body class="home page-template-default page page-id-30 wp-custom-logo wp-embed-responsive ct-loading"
data-link="type-1" data-prefix="single_page" data-header="type-1" data-footer="type-1">
<header id="header">
<div class="container">
<nav id="nav" class="navbar navbar-expand-md navbar-light">
<div class="logo-container">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</nav>
</div>
</header>
<div id="main-container">
<main id="main" class="site-main">
<div class="ct-container-full" data-content="normal" data-vertical-spacing="bottom">
<article id="post-30" class="post-30 page type-page status-publish has-post-thumbnail hentry">
<div class="entry-content">
<div class="ct-posts-shortcode" data-prefix="blog">
<div class="entries" data-archive="default" data-layout="grid" data-cards="boxed">
{{ range .Articles }}
<article id="post-20168"
class="entry-card post-20168 post type-post status-publish format-standard has-post-thumbnail hentry category-sleep-products">
<a class="ct-image-container boundless-image"
href="{{.Url}}" tabindex="-1"><img width="400"
height="400"
src="{{getCover .Cover 300 180}}"
class="attachment-medium_large size-medium_large wp-post-image"/></a>
<h2 class="entry-title">
<a href="{{.Url}}"
rel="bookmark">{{.Title}}</a>
</h2>
<ul class="entry-meta" data-type="icons:line">
<li class="meta-updated-date"><time class="ct-meta-element-date">{{timeFormat .PublishTime}}</time></li>
<li class="meta-categories" data-type="simple"><a href="{{.Url}}" rel="tag"
class="ct-term-38">{{.Views}} {{lang "views"}}</a></li>
</ul>
</article>
{{end}}
</div>
</div>
</div>
</article>
</div>
</main>
</div>
<footer id="footer">
<div class="container d-md-flex justify-content-md-between" style="flex-wrap: wrap;text-align: center;">
<div class="column flex-grow-1">
<div class="title">{{lang "related"}}</div>
<div class="links" style="list-style: none;">
<li class="nav-item" >
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
<div class="column d-md-flex flex-column" style="width: 100%;">
<div class="copyright">{{.Copyright}}</div>
</div>
</div>
</footer>
<script src="{{staticFile "/js/jquery-3.6.0.slim.min.js"}}"></script>
<script src="{{staticFile "/js/bootstrap.bundle.min.js"}}"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,103 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/global.css@ver=1669579173.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css@ver=1669579173.css"}}" />
</head>
<body class="home page-template-default page page-id-30 wp-custom-logo wp-embed-responsive ct-loading"
data-link="type-1" data-prefix="single_page" data-header="type-1" data-footer="type-1">
<header id="header">
<div class="container">
<nav id="nav" class="navbar navbar-expand-md navbar-light">
<div class="logo-container">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</nav>
</div>
</header>
<section id="content" class="container" style="margin-bottom: 20px;">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{lang "home"}}</a>&nbsp;&nbsp;/&nbsp;
<a href="#">{{lang "policy"}}</a>
</div>
<h1 style="margin: 20px 0;" id="page-title">{{lang "policy"}}</h1>
<div>
{{.Policy}}
</div>
</section>
<footer id="footer">
<div class="container d-md-flex justify-content-md-between" style="flex-wrap: wrap;text-align: center;">
<div class="column flex-grow-1">
<div class="title">{{lang "related"}}</div>
<div class="links" style="list-style: none;">
<li class="nav-item" >
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
<div class="column d-md-flex flex-column" style="width: 100%;">
<div class="copyright">{{.Copyright}}</div>
</div>
</div>
</footer>
<script src="{{staticFile "/js/jquery-3.6.0.slim.min.js"}}"></script>
<script src="{{staticFile "/js/bootstrap.bundle.min.js"}}"></script>
</body>
</html>
Loading…
Cancel
Save