master
孙艺岭 2 years ago
parent 39a2228dc7
commit 3a03d2cb24
  1. 93
      shaunpoore/about.html
  2. 6
      shaunpoore/config.json
  3. 109
      shaunpoore/contact.html
  4. 7
      shaunpoore/css/bootstrap.min.css
  5. 2838
      shaunpoore/css/index.css
  6. 137
      shaunpoore/details.html
  7. 156
      shaunpoore/index.html
  8. 93
      shaunpoore/policy.html

@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{.Title}}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="unsafe-url">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/index.css"}}" />
</head>
<body>
<nav class="container-fluid nav-down" id="navbar">
<div class="row">
<div class="col-sm-12 col-xl-9 col-md-9">
<a style="text-decoration: none !important;" href="{{.IndexUrl}}" class="logo">
<img src="{{replaceImage .Logo}}" alt="logo" class="fmLogo aspect" style="max-width:250px;max-height:70px; display: inline !important;" width="250" />
</a>
<span class="navLinks">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a> |
{{if .HasAbout }}
<a href="{{.AboutUrl}}">{{ lang "about" }}</a> |
{{end}}
{{if .HasContact }}
<a href="{{.ContactUrl}}">{{ lang "contact" }}</a> |
{{end}}
{{if .HasPolicy }}
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</span>
</div>
</div>
</nav>
<div class="container largeContainer">
<div class="row" style="padding: 15px;">
<div class="col text-center">
<h1 id="page-title">{{lang "about"}}</h1>
<div>
{{.About}}
</div>
</div>
</div>
</div>
<footer class="footer" id="mainFooter">
<div class="container">
<div class="row">
<div class="col text-center">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" class="fontello fontello-youtube" /></a>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6 text-center text-lg-left padding-top ">
<a class="footerFont" href="{{.IndexUrl}}">{{ lang "home"}}</a>
{{if .HasAbout }}
<a class="footerFont" href="{{.AboutUrl}}">{{ lang "about" }}</a>
{{end}}
{{if .HasContact }}
<a class="footerFont" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
{{end}}
{{if .HasPolicy }}
<a class="footerFont" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</div>
</div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="row" style="padding-top:50px;padding-bottom:50px;">
<div class="col text-center">
{{range .Friendship}}
<a style="text-decoration: none;" href="{{.Url}}">{{.Name}}</a>
{{end}}
</div>
</div>
{{end}}
<div class="row">
<div class="col footerCopyText">
{{.Copyright}}
<div id="fbPixel"></div>
</div>
</div>
</div>
</footer>
</body>
</html>

@ -0,0 +1,6 @@
{
"creator": "孙艺岭",
"version": "1.0",
"origin_website": "https://www.shaunpoore.com/blog/",
"devices": ["pc", "pad", "phone"]
}

@ -0,0 +1,109 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{.Title}}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="unsafe-url">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/index.css"}}" />
</head>
<body>
<nav class="container-fluid nav-down" id="navbar">
<div class="row">
<div class="col-sm-12 col-xl-9 col-md-9">
<a style="text-decoration: none !important;" href="{{.IndexUrl}}" class="logo">
<img src="{{replaceImage .Logo}}" alt="logo" class="fmLogo aspect" style="max-width:250px;max-height:70px; display: inline !important;" width="250" />
</a>
<span class="navLinks">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a> |
{{if .HasAbout }}
<a href="{{.AboutUrl}}">{{ lang "about" }}</a> |
{{end}}
{{if .HasContact }}
<a href="{{.ContactUrl}}">{{ lang "contact" }}</a> |
{{end}}
{{if .HasPolicy }}
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</span>
</div>
</div>
</nav>
<div class="container largeContainer">
<div class="row" style="padding: 15px;">
<div class="col text-center">
<h1 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>
</div>
</div>
</div>
<footer class="footer" id="mainFooter">
<div class="container">
<div class="row">
<div class="col text-center">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" class="fontello fontello-youtube" /></a>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6 text-center text-lg-left padding-top ">
<a class="footerFont" href="{{.IndexUrl}}">{{ lang "home"}}</a>
{{if .HasAbout }}
<a class="footerFont" href="{{.AboutUrl}}">{{ lang "about" }}</a>
{{end}}
{{if .HasContact }}
<a class="footerFont" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
{{end}}
{{if .HasPolicy }}
<a class="footerFont" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</div>
</div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="row" style="padding-top:50px;padding-bottom:50px;">
<div class="col text-center">
{{range .Friendship}}
<a style="text-decoration: none;" href="{{.Url}}">{{.Name}}</a>
{{end}}
</div>
</div>
{{end}}
<div class="row">
<div class="col footerCopyText">
{{.Copyright}}
<div id="fbPixel"></div>
</div>
</div>
</div>
</footer>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,137 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{.Title}}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="unsafe-url">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/index.css"}}" />
</head>
<body>
<nav class="container-fluid nav-down" id="navbar">
<div class="row">
<div class="col-sm-12 col-xl-9 col-md-9">
<a style="text-decoration: none !important;" href="{{.IndexUrl}}" class="logo">
<img src="{{replaceImage .Logo}}" alt="logo" class="fmLogo aspect" style="max-width:250px;max-height:70px; display: inline !important;" width="250" />
</a>
<span class="navLinks">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a> |
{{if .HasAbout }}
<a href="{{.AboutUrl}}">{{ lang "about" }}</a> |
{{end}}
{{if .HasContact }}
<a href="{{.ContactUrl}}">{{ lang "contact" }}</a> |
{{end}}
{{if .HasPolicy }}
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</span>
</div>
</div>
</nav>
<div class="container largeContainer">
<div class="row" style="padding: 15px;">
<div class="col text-center">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
<span>\ {{.Title}}</span>
</div>
<div id="article-head">
<h3 id="title">{{.Title}}</h3>
<div>
<span>{{timeFormat .PublishTime}}</span>
<span> / </span>
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
<div class="d-lg-flex">
<div id="article-container" class="col-lg-12 col-md-12" style="padding: 0 20px;">
<!-- 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%" style="padding: 0 20px;" 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>
</div>
</div>
</div>
<footer class="footer" id="mainFooter">
<div class="container">
<div class="row">
<div class="col text-center">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" class="fontello fontello-youtube" /></a>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6 text-center text-lg-left padding-top ">
<a class="footerFont" href="{{.IndexUrl}}">{{ lang "home"}}</a>
{{if .HasAbout }}
<a class="footerFont" href="{{.AboutUrl}}">{{ lang "about" }}</a>
{{end}}
{{if .HasContact }}
<a class="footerFont" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
{{end}}
{{if .HasPolicy }}
<a class="footerFont" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</div>
</div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="row" style="padding-top:50px;padding-bottom:50px;">
<div class="col text-center">
{{range .Friendship}}
<a style="text-decoration: none;" href="{{.Url}}">{{.Name}}</a>
{{end}}
</div>
</div>
{{end}}
<div class="row">
<div class="col footerCopyText">
{{.Copyright}}
<div id="fbPixel"></div>
</div>
</div>
</div>
</footer>
</body>
</html>

@ -0,0 +1,156 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{.Title}}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="unsafe-url">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/index.css"}}" />
</head>
<body>
<nav class="container-fluid nav-down" id="navbar">
<div class="row">
<div class="col-sm-12 col-xl-9 col-md-9">
<a style="text-decoration: none !important;" href="{{.IndexUrl}}" class="logo">
<img src="{{replaceImage .Logo}}" alt="logo" class="fmLogo aspect" style="max-width:250px;max-height:70px; display: inline !important;" width="250" />
</a>
<span class="navLinks">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a> |
{{if .HasAbout }}
<a href="{{.AboutUrl}}">{{ lang "about" }}</a> |
{{end}}
{{if .HasContact }}
<a href="{{.ContactUrl}}">{{ lang "contact" }}</a> |
{{end}}
{{if .HasPolicy }}
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</span>
</div>
</div>
</nav>
<div class="container largeContainer">
<div class="row" style="padding: 15px;">
<div class="col text-center">
<h1 class="indexPageHeader">{{lang "latest"}}</h1>
</div>
</div>
<div class="row" style="margin-bottom: 15px;">
{{ range .Articles }}
<div class="col-12 col-md-6 col-lg-4 previewHover">
<a href="{{.Url}}" class="indexTitle">
<div style="height: 100%;">
<img width="450" height="253" alt="Vr Emulate Games Cover article preview image"
src="{{getCover .Cover}}"
style="max-width: 100%;" class="sp-no-webp img-responsive" />
<div class="row">
<div class="col">
<div>
<span class="indexDate">{{timeFormat .PublishTime}}</span>
</div>
<div style="padding-top: 25px; padding-bottom: 5px;">
<span class="homePageTitleSpan" style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:2;">{{.Title}}</span>
</div>
<div class="text-secondary" style="padding-top: 5px; ">
<p style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:3;">{{.Summary}}</p>
</div>
</div>
</div>
</div>
</a>
</div>
{{end}}
</div>
<div class="row">
<div class="col">
<nav class="text-center" style="margin-bottom:30px">
<div class="postNumbers">
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<div style="float:left;">
<a href="{{.PrevUrl}}">{{lang "prev"}}</a>
</div>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<div style="float:right;">
<a href="{{.NextUrl}}">{{lang "next"}}</a>
</div>
{{ end }}
</div>
</nav>
</div>
</div>
</div>
<footer class="footer" id="mainFooter">
<div class="container">
<div class="row">
<div class="col text-center">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" class="fontello fontello-youtube" /></a>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6 text-center text-lg-left padding-top ">
<a class="footerFont" href="{{.IndexUrl}}">{{ lang "home"}}</a>
{{if .HasAbout }}
<a class="footerFont" href="{{.AboutUrl}}">{{ lang "about" }}</a>
{{end}}
{{if .HasContact }}
<a class="footerFont" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
{{end}}
{{if .HasPolicy }}
<a class="footerFont" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</div>
</div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="row" style="padding-top:50px;padding-bottom:50px;">
<div class="col text-center">
{{range .Friendship}}
<a style="text-decoration: none;" href="{{.Url}}">{{.Name}}</a>
{{end}}
</div>
</div>
{{end}}
<div class="row">
<div class="col footerCopyText">
{{.Copyright}}
<div id="fbPixel"></div>
</div>
</div>
</div>
</footer>
</body>
</html>

@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{.Title}}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="unsafe-url">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/index.css"}}" />
</head>
<body>
<nav class="container-fluid nav-down" id="navbar">
<div class="row">
<div class="col-sm-12 col-xl-9 col-md-9">
<a style="text-decoration: none !important;" href="{{.IndexUrl}}" class="logo">
<img src="{{replaceImage .Logo}}" alt="logo" class="fmLogo aspect" style="max-width:250px;max-height:70px; display: inline !important;" width="250" />
</a>
<span class="navLinks">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a> |
{{if .HasAbout }}
<a href="{{.AboutUrl}}">{{ lang "about" }}</a> |
{{end}}
{{if .HasContact }}
<a href="{{.ContactUrl}}">{{ lang "contact" }}</a> |
{{end}}
{{if .HasPolicy }}
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</span>
</div>
</div>
</nav>
<div class="container largeContainer">
<div class="row" style="padding: 15px;">
<div class="col text-center">
<h1 id="page-title">{{lang "policy"}}</h1>
<div>
{{.Policy}}
</div>
</div>
</div>
</div>
<footer class="footer" id="mainFooter">
<div class="container">
<div class="row">
<div class="col text-center">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" class="fontello fontello-youtube" /></a>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6 text-center text-lg-left padding-top ">
<a class="footerFont" href="{{.IndexUrl}}">{{ lang "home"}}</a>
{{if .HasAbout }}
<a class="footerFont" href="{{.AboutUrl}}">{{ lang "about" }}</a>
{{end}}
{{if .HasContact }}
<a class="footerFont" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
{{end}}
{{if .HasPolicy }}
<a class="footerFont" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
{{end}}
</div>
</div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="row" style="padding-top:50px;padding-bottom:50px;">
<div class="col text-center">
{{range .Friendship}}
<a style="text-decoration: none;" href="{{.Url}}">{{.Name}}</a>
{{end}}
</div>
</div>
{{end}}
<div class="row">
<div class="col footerCopyText">
{{.Copyright}}
<div id="fbPixel"></div>
</div>
</div>
</div>
</footer>
</body>
</html>
Loading…
Cancel
Save