Last active
October 21, 2019 02:49
-
-
Save lucassimon/2cb79e206ea8b86734669a3567a9ddd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html class="no-js" lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}"> | |
<head> | |
{{ "<!-- Basic Page Needs -->" | safeHTML }} | |
{{ block "schema-dot-org" . }} | |
<!-- schema.org metadata differs for Nodes and Pages --> | |
{{ end }} | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}"> | |
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} | |
{{ template "_internal/opengraph.html" . }} | |
{{ template "_internal/twitter_cards.html" . }} | |
{{ template "_internal/schema.html" . }} | |
{{- with .Site.Params.google_verify_meta -}} | |
<meta name="google-site-verification" content="{{ . }}" /> | |
{{ end }} | |
{{- with .Site.Params.bing_verify_meta -}} | |
<meta name="msvalidate.01" content="{{ . }}" /> | |
{{ end }} | |
{{- with .Site.Params.yandex_verify_meta -}} | |
<meta name="yandex-verification" content="{{ . }}" /> | |
{{ end }} | |
{{- with .Site.Params.gtag -}} | |
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
})(window,document,'script','dataLayer','{{ . }}');</script> | |
{{ end }} | |
{{ .Hugo.Generator }} | |
{{ "<!-- Mobile Specific Metas -->" | safeHTML }} | |
<meta name="format-detection" content="telephone=no"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{{ .Title }}</title> | |
<link rel="icon" href="{{ "images/favicon.ico" | absURL }}"> | |
{{ "<!-- Twitter Bootstrs CSS -->" | safeHTML }} | |
<link rel="stylesheet" href="{{ "plugins/bootstrap/bootstrap.min.css" | absURL }}"> | |
{{ "<!-- Ionicons Fonts Css -->" | safeHTML }} | |
<link rel="stylesheet" href="{{ "plugins/ionicons/ionicons.min.css" | absURL }}"> | |
{{ "<!-- Hero area slider css-->" | safeHTML }} | |
<link rel="stylesheet" href="{{ "plugins/slider/slider.css" | absURL }}"> | |
{{ "<!-- slick slider -->" | safeHTML }} | |
<link rel="stylesheet" href="{{ "plugins/slick/slick.css" | absURL }}"> | |
{{ "<!-- Fancybox -->" | safeHTML }} | |
<link rel="stylesheet" href="{{ "plugins/facncybox/jquery.fancybox.css" | absURL }}"> | |
{{ "<!-- hover -->" | safeHTML }} | |
<link rel="stylesheet" href="{{ "plugins/hover/hover-min.css" | absURL }}"> | |
{{ "<!-- template main css file -->" | safeHTML }} | |
{{ $styles := resources.Get "css/style.css" | minify}} | |
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen"> | |
{{ if .RSSLink }} | |
{{ "<!-- RSS 2.0 feed -->" | safeHTML }} | |
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> | |
{{ end }} | |
</head> | |
<body> | |
{{ partial "header.html" . }} | |
{{- block "main" . }}{{- end }} | |
{{- partial "footer.html" . -}} | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ define "main" }} | |
{{ partial "page-title.html" . }} | |
<h1>CUSTOMIZING THE LIST POST WORKS</h1> | |
<section id="blog-full-width"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
{{ range .Data.Pages }} | |
<article class="wow fadeInDown" data-wow-delay=".3s" data-wow-duration="500ms"> | |
<div class="blog-post-image"> | |
<a href="{{ .Permalink }}"> | |
{{ with .Params.image }}<img class="img-fluid" src="{{ . | absURL }}" alt="post-image"/>{{ end }} | |
</a> | |
</div> | |
<div class="blog-content"> | |
<h2 class="blogpost-title"> | |
<a href="{{ .Permalink }}">{{ .Title }}</a> | |
</h2> | |
<div class="blog-meta"> | |
<span>{{ dateFormat "Monday, Jan 2, 2006" .Date }}</span> | |
{{ with .Params.author }}<span>by | |
{{ . }} | |
</span> | |
{{ end }} | |
{{ with .Params.tags }} | |
<span> | |
{{ delimit . ", " }} | |
</span> | |
{{ end }} | |
</div> | |
<p> | |
{{ .Summary }} | |
</p> | |
{{ with .Permalink }}<a href="{{ . }}" class="btn btn-dafault btn-details hvr-bounce-to-right">Continue Reading</a>{{ end }} | |
</div> | |
</article> | |
{{ end }} | |
</div> | |
</div> | |
</div> | |
</section> | |
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ define "main" }} | |
{{ partial "header.html" . }} | |
<h1>CUSTOMIZING THE SINGLE POST DIDNOT WORK</h1> | |
<section class="global-page-header"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="block"> | |
<h2>{{ .Title }}</h2> | |
<div class="portfolio-meta"> | |
<span>{{ dateFormat "Monday, Jan 2, 2006" .Date }}</span>| | |
<span> Tags: | |
{{ delimit .Params.tags ", " }} | |
</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
asd | |
<section class="single-post"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
{{ with .Params.image }} | |
<div class="post-img"> | |
<img class="img-fluid" alt="" src="{{ . | absURL }}"> | |
</div> | |
{{ end }} | |
<div class="post-content"> | |
{{ .Content }} | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment