master
王蔡艺鑫 2 years ago
parent 3aec6e801a
commit dae3c70b20
  1. 98
      dailylogochallenge/about.html
  2. 6
      dailylogochallenge/config.json
  3. 114
      dailylogochallenge/contact.html
  4. 16
      dailylogochallenge/css/1597e.css
  5. 7
      dailylogochallenge/css/bootstrap.min.css
  6. 134
      dailylogochallenge/details.html
  7. 149
      dailylogochallenge/index.html
  8. 7
      dailylogochallenge/js/bootstrap.bundle.min.js
  9. 2
      dailylogochallenge/js/jquery-3.6.0.slim.min.js
  10. 98
      dailylogochallenge/policy.html

@ -0,0 +1,98 @@
<!DOCTYPE html>
<html lang=en-US class=no-js>
<head>
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/1597e.css"}}" />
</head>
<body data-rsssl=1 class="home blog custom-background wp-embed-responsive">
<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">
<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.dailylogochallenge.com/",
"devices": ["pc", "pad", "phone"]
}

@ -0,0 +1,114 @@
<!DOCTYPE html>
<html lang=en-US class=no-js>
<head>
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/1597e.css"}}" />
</head>
<body data-rsssl=1 class="home blog custom-background wp-embed-responsive">
<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">
<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,134 @@
<!DOCTYPE html>
<html lang=en-US class=no-js>
<head>
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/1597e.css"}}" />
</head>
<body data-rsssl=1 class="home blog custom-background wp-embed-responsive">
<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" style="justify-content: center;">
<div id="article-container" style="width: auto;max-width: none;flex: 1;" class="col-lg-8 col-md-12">
<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">
<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,149 @@
<!DOCTYPE html>
<html lang=en-US class=no-js>
<head>
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/1597e.css"}}" />
</head>
<body data-rsssl=1 class="home blog custom-background wp-embed-responsive">
<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=row>
<div class=col-md-12>
<div class=post-list id=content role=main>
{{ range .Articles }}
<div class=row>
<div
class="post-item clearfix post-1555 post type-post status-publish format-standard has-post-thumbnail hentry category-tips">
<div class=col-sm-4>
<a href={{.Url}}>
<div class=post-item__img
style="background-image: url({{getCover .Cover 300 180}});">
</div>
</a>
</div>
<div class=col-sm-8>
<h3 class="post-item__title"><a href={{.Url}}
rel=bookmark>{{.Title}}</a></h3>
<p>{{.Summary}}</p>
<p><div class="info">
<span>{{timeFormat .PublishTime}}</span>
/
<span>{{.Views}} {{lang "views"}}</span>
</div></p>
</div>
</div>
</div>
{{end}}
</div>
<div>
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<div style="float:left;">
<a style=" width: 85px;
height: 40px;
background-color: orange;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;" href="{{.PrevUrl}}">{{lang "prev"}}</a>
</div>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<div style="float:right;">
<a style=" width: 85px;
height: 40px;
background-color: orange;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;" href="{{.NextUrl}}">{{lang "next"}}</a>
</div>
{{ end }}
</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">
<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,98 @@
<!DOCTYPE html>
<html lang=en-US class=no-js>
<head>
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Title}}</title>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/1597e.css"}}" />
</head>
<body data-rsssl=1 class="home blog custom-background wp-embed-responsive">
<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">
<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