master
王蔡艺鑫 2 years ago
parent e24db64bdc
commit 5a3a7cbbbf
  1. 106
      globalgolf/about.html
  2. 6
      globalgolf/config.json
  3. 122
      globalgolf/contact.html
  4. 7
      globalgolf/css/bootstrap.min.css
  5. 121
      globalgolf/css/main.min.css
  6. 147
      globalgolf/details.html
  7. 161
      globalgolf/index.html
  8. 7
      globalgolf/js/bootstrap.bundle.min.js
  9. 2
      globalgolf/js/jquery-3.6.0.slim.min.js
  10. 106
      globalgolf/policy.html

@ -0,0 +1,106 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="home blog wp-custom-logo hfeed">
<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">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{ lang "home" }}</a>&nbsp;&nbsp;/&nbsp;
<a href="#">{{ lang "about" }}</a>
</div>
<h1 id="page-title" style="margin: 20px 0;">{{ 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://blog.globalgolf.com/",
"devices": ["pc", "pad", "phone"]
}

@ -0,0 +1,122 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="home blog wp-custom-logo hfeed">
<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

@ -0,0 +1,147 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="home blog wp-custom-logo hfeed">
<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">
<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 style="margin: 20px 0;">
<span>{{timeFormat .PublishTime}}</span>
<span> / </span>
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
<div class="d-lg-flex" style="justify-content: center;">
<div id="article-container" 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,161 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="home blog wp-custom-logo hfeed">
<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 class="container">
<div class="main-post-area-wrapper main-post-area-layout-one">
<div class="main-post-area-inner">
<div class="row">
<div class="col-md-8 col-sm-12 col-xs-12 sticky_portion">
<div class="main-post-area-holder">
{{ range .Articles }}
<article class="post-details-holder wow fadeInUp">
<div class="post-image ">
<div class="post-image">
<a href="{{.Url}}"><img width="748" height="421"
src="{{getCover .Cover 300 180}}"
class="attachment-optimistic-blog-lite-thumbnail-3 size-optimistic-blog-lite-thumbnail-3 wp-post-image"/></a>
</div>
</div>
<div class="post-title">
<h2>
<a
href="{{.Url}}">{{.Title}}</a>
</h2>
</div>
<div class="postmeta">
<ul>
<li><a
href="{{.Url}}"
rel="bookmark"><time class="entry-date published"
datetime="2019-08-28T14:52:10-05:00">{{timeFormat .PublishTime}}</time></a></a></li>
<li><span
class="comments-link"><a
href="{{.Url}}">{{.Views}} {{lang "views"}}</a></span></a></ul>
</div>
<div class="post-the-content clearfix layout-one-first-letter">
<p>{{.Summary}}</p>
</div>
</article>
{{end}}
<div class="row clearfix">
<div class="col-sm-12">
<div>
{{$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>
</div>
</div>
<!-- // end of article -->
</div><!-- // main-post-area-holder -->
</div>
</div>
</div>
</div>
</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,106 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/main.min.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="home blog wp-custom-logo hfeed">
<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">
<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