cms系统的站点模板库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

185 lines
7.9 KiB

<!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/styles.css"}}" />
</head>
<body class="archive tax-written_type term-intern-blog term-993 wp-custom-logo wp-embed-responsive hfeed">
<div id="page" class="site">
<header id="masthead" class="site-header">
<nav id="site-navigation" class="main-navigation">
<div class="main-nav-inner">
<div class="site-branding">
</div><!-- .site-branding -->
<div class="menu-header-menu-container">
<ul id="menu-header-menu" class="menu">
<li id="menu-item-12575"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li id="menu-item-12575"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.AboutUrl}}">{{ lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li id="menu-item-12575"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.ContactUrl}}">{{ lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li id="menu-item-12575"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</nav><!-- #site-navigation -->
<div class="nav-search">
<form role="search" method="get" class="search-form" action="https://koreanamericanstory.org">
<label>
<span class="screen-reader-text">Search</span>
<input type="search" class="search-field" placeholder="type here" value="" name="s">
</label>
<input type="submit" class="search-submit" value="Search">
</form>
</div>
<nav id="mobile-nav" style="padding: 0;">
<div id="mobile-header" style="justify-content: center;">
<a href="{{.IndexUrl}}" style="height: 100%;"
class="mobile-home"><img style="height: 100%;" src="{{replaceImage .Logo}}" alt=""></a>
</div>
</nav>
</header><!-- #masthead -->
<div id="content" class="site-content">
<div id="primary" class="content-area">
<main id="main" style="padding-top: 0;" class="site-main top-padding">
<section class="all-articles footer-margin-padding" style="margin-top: 0;margin-bottom: 0;">
<div class="content-margins wide">
<div class="posts-feed">
{{ range .Articles }}
<a href="{{.Url}}">
<div class="post-feed-image">
<img width="1080" height="1080" alt=""
data-sizes="(max-width: 1080px) 100vw, 1080px"
class="attachment-post-thumbnail size-post-thumbnail wp-post-image lazyload"
src="{{getCover .Cover 300 180}}" />
</div>
<div class="post-feed-info">
<h6>{{.Title}}</h6>
<div class="short-desc">
<p>{{.Summary}}</p>
</div>
</div>
</a>
{{end}}
</div>
<div style="width: 100px;height: 50px;background-color: skyblue;border-radius: 25px;display: flex;justify-content: center;align-items: center;margin: auto;">
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<div style="float:left;">
<a style="color: #fff;text-decoration: none;font-weight: 700;" href="{{.PrevUrl}}">{{lang "prev"}}</a>
</div>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<div style="float:right;">
<a style="color: #fff;text-decoration: none;font-weight: 700;" href="{{.NextUrl}}">{{lang "next"}}</a>
</div>
{{ end }}
</div>
</section>
</main><!-- #main -->
</div><!-- #primary -->
<div id="guest-popup">
<div class="guest-close">×</div>
<div class="content-margins narrow">
<div class="flex">
<div class="guestpop-name"></div><span>|</span>
<div class="guestpop-type">
</div>
</div>
<div class="guest-description"></div>
</div>
</div>
</div><!-- #content -->
<footer id="colophon" class="site-footer">
<div class="site-info">
<div class="content-margins wide">
<div class="footer-menu">
<div class="menu-header-menu-container">
<ul id="menu-header-menu-2" class="menu">
{{if .HasAbout }}
<li
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-12575">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</div>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
</body>
</html>