-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from IamShubhamGupto/master
added resources content pages
- Loading branch information
Showing
7 changed files
with
94 additions
and
168 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: 'Resources' | ||
heroHeading: 'Resources' | ||
heroSubHeading: '' | ||
heroBackground: '/images/SouthAtlantic.A2002157.1055.250m.jpg' | ||
--- | ||
|
||
🚧 Under Development 🚧 |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{{ define "header_css" }}{{ end }} | ||
{{ define "body_classes" }}page-work-list{{ end }} | ||
{{ define "header_classes" }}{{ end }} | ||
|
||
{{ define "main" }} | ||
|
||
{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "content" .)}} | ||
{{ if .Content }} | ||
<div class="container pt-6 pt-md-10"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="page-intro"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
|
||
<div class="container pb-6 pt-6 pb-md-10 pt-md-10"> | ||
<div class="row"> | ||
{{ range .Pages.ByWeight }} | ||
<div class="col-12 col-md-6 mb-2 ">{{ .Render "summary" }}</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
{{ 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{{ define "header_css" }}{{ end }} | ||
{{ define "body_classes" }}page-work-single{{ end }} | ||
{{ define "header_classes" }}{{ end }} | ||
|
||
{{ define "main" }} | ||
{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "section" .Section "content" .)}} | ||
<div class="container pt-4 pt-md-10 pb-4 pb-md-10"> | ||
<div class="row justify-content-start"> | ||
<div class="col-12 col-md-8"> | ||
<div class="work work-single"> | ||
<div class="text text-justify mx-auto">{{.Content}}</div> | ||
</div> | ||
</div> | ||
{{ if .Params.images }} | ||
<div class="col-12 pt-4 pt-md-10"> | ||
<h2 class="mb-2 text-uppercase">Gallery</h2> | ||
<div class="masonry"> | ||
{{ range .Params.images }} | ||
<div class="work-image item"> | ||
<img src="{{ . | relURL }}"/> | ||
</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
{{ end }} | ||
|
||
{{ define "footer_js" }} | ||
{{ $library := resources.Get "js/libs/library.js" }} | ||
{{ $services := resources.Get "js/pages/services.js" }} | ||
{{ $servicesJS := slice $library $services |resources.Concat "js/services.js" }} | ||
{{ if .Site.IsServer }} | ||
<script type="text/javascript" src="{{ $servicesJS.RelPermalink }}"></script> | ||
{{ else }} | ||
<script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script> | ||
{{ end }} | ||
{{ 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="work work-summary"> | ||
{{ if .Params.thumbnail }} | ||
<div class="work-image"> | ||
<a href="{{ .RelPermalink }}"><img src="{{ .Params.thumbnail | relURL }}"/></a> | ||
</div> | ||
{{ end }} | ||
<div class="work-content"> | ||
<h2 class="work-title"> | ||
<a href="{{ .Permalink }}">{{ .Title }}</a> | ||
</h2> | ||
{{ .Content | truncate 120 "..." }} | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.