master
王蔡艺鑫 2 years ago
parent fe4a93b42c
commit d3994b697f
  1. 128
      medicus/about.html
  2. 6
      medicus/config.json
  3. 144
      medicus/contact.html
  4. 7
      medicus/css/bootstrap.min.css
  5. 1
      medicus/css/style.min.css@ver=1.1.2.css
  6. 169
      medicus/details.html
  7. 197
      medicus/index.html
  8. 7
      medicus/js/bootstrap.bundle.min.js
  9. 2
      medicus/js/jquery-3.6.0.slim.min.js
  10. 128
      medicus/policy.html

@ -0,0 +1,128 @@
<!DOCTYPE html>
<html lang="en">
<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/style.min.css@ver=1.1.2.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="blog wp-custom-logo">
<div id="site" class="site">
<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" class="footer">
<div class="main-footer">
<div class="grid">
<div class="grid-item">
<div class="column flex-grow-1" style="color: #fff;">
<div class="title" style="text-align: center;font-size: 26px;">{{lang "related"}}</div>
<div class="links" style="list-style: none;margin: auto;text-align: center;">
<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>
</div>
</div>
<div class="footer-aside">
<div class="grid">
<div class="grid-item" style="justify-content: center;">
<p style="text-align: center;" class="disclaimer">{{.Copyright}}</p>
</div>
</div>
</div>
</footer>
</div>
<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://medicus.ca/en/blog/",
"devices": ["pc", "pad", "phone"]
}

@ -0,0 +1,144 @@
<!DOCTYPE html>
<html lang="en">
<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/style.min.css@ver=1.1.2.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="blog wp-custom-logo">
<div id="site" class="site">
<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" class="footer">
<div class="main-footer">
<div class="grid">
<div class="grid-item">
<div class="column flex-grow-1" style="color: #fff;">
<div class="title" style="text-align: center;font-size: 26px;">{{lang "related"}}</div>
<div class="links" style="list-style: none;margin: auto;text-align: center;">
<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>
</div>
</div>
<div class="footer-aside">
<div class="grid">
<div class="grid-item" style="justify-content: center;">
<p style="text-align: center;" class="disclaimer">{{.Copyright}}</p>
</div>
</div>
</div>
</footer>
</div>
<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,169 @@
<!DOCTYPE html>
<html lang="en">
<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/style.min.css@ver=1.1.2.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="blog wp-custom-logo">
<div id="site" class="site">
<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="max-width: none;flex: 1;" 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" class="footer">
<div class="main-footer">
<div class="grid">
<div class="grid-item">
<div class="column flex-grow-1" style="color: #fff;">
<div class="title" style="text-align: center;font-size: 26px;">{{lang "related"}}</div>
<div class="links" style="list-style: none;margin: auto;text-align: center;">
<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>
</div>
</div>
<div class="footer-aside">
<div class="grid">
<div class="grid-item" style="justify-content: center;">
<p style="text-align: center;" class="disclaimer">{{.Copyright}}</p>
</div>
</div>
</div>
</footer>
</div>
<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,197 @@
<!DOCTYPE html>
<html lang="en">
<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/style.min.css@ver=1.1.2.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="blog wp-custom-logo">
<div id="site" class="site">
<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>
<main id="main" class="main" style="padding-top: 0;">
<section class="section section--blog" style="padding-top: 0;">
<div class="grid">
<div class="grid-item">
<div class="articles-list">
{{ range .Articles }}
<article class="article">
<div class="picture">
<a class="image" href="{{.Url}}"
style="background-image:url({{getCover .Cover 300 180}});"></a>
</div>
<div class="content">
<div class="categories">
<i class="fas fa-tag"></i>
<ul class="post-categories">
<li><a href="{{.Url}}" rel="category tag">{{timeFormat .PublishTime}}</a></li>
</ul>
</div>
<h3 class="title">
<a href="{{.Url}}">{{.Title}}</a>
</h3>
</div>
</article>
{{end}}
</div>
<div class="grid-item" style="margin: 30px 0;">
<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>
</section>
</main>
<footer id="footer" class="footer">
<div class="main-footer">
<div class="grid">
<div class="grid-item">
<div class="column flex-grow-1" style="color: #fff;">
<div class="title" style="text-align: center;font-size: 26px;">{{lang "related"}}</div>
<div class="links" style="list-style: none;margin: auto;text-align: center;">
<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>
</div>
</div>
<div class="footer-aside">
<div class="grid">
<div class="grid-item" style="justify-content: center;">
<p style="text-align: center;" class="disclaimer">{{.Copyright}}</p>
</div>
</div>
</div>
</footer>
</div>
<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,128 @@
<!DOCTYPE html>
<html lang="en">
<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/style.min.css@ver=1.1.2.css"}}" />
<style>
.links a{
color: #fff;
}
</style>
</head>
<body class="blog wp-custom-logo">
<div id="site" class="site">
<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" class="footer">
<div class="main-footer">
<div class="grid">
<div class="grid-item">
<div class="column flex-grow-1" style="color: #fff;">
<div class="title" style="text-align: center;font-size: 26px;">{{lang "related"}}</div>
<div class="links" style="list-style: none;margin: auto;text-align: center;">
<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>
</div>
</div>
<div class="footer-aside">
<div class="grid">
<div class="grid-item" style="justify-content: center;">
<p style="text-align: center;" class="disclaimer">{{.Copyright}}</p>
</div>
</div>
</div>
</footer>
</div>
<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