-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6ab25da
Showing
36 changed files
with
10,650 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/public | ||
/public |
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,3 @@ | ||
baseurl = "http://replace-this-with-your-hugo-site.com/" | ||
languageCode = "en-us" | ||
title = "My New Hugo Site" |
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 @@ | ||
+++ | ||
date = "2016-05-25T08:54:28-05:00" | ||
draft = false | ||
title = "about" | ||
|
||
+++ | ||
|
||
<h1>Watercut prediction </h1> |
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,7 @@ | ||
+++ | ||
date = "2016-05-25T08:53:10-05:00" | ||
draft = true | ||
title = "about" | ||
|
||
+++ | ||
|
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 @@ | ||
User-agent: *\nDisallow: |
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,79 @@ | ||
Herring Cove | ||
============ | ||
|
||
Herring Cove is a clean and responsive [Hugo](//gohugo.io) theme based on the [Jekyll](http://jekyllrb.com) theme of the same name. | ||
|
||
|
||
### Overview | ||
|
||
* Fixed Sidebar with social links | ||
* Minimal design | ||
* Comments by Disqus | ||
* Social Sharing abilities | ||
* Easy to configure | ||
* Based on Bootstrap | ||
|
||
### Screenshots | ||
|
||
 | ||
 | ||
 | ||
|
||
### Setup | ||
|
||
1. Install Hugo | ||
2. Fork or [download](//github.com/spf13/herring-cove/archive/master.zip) this theme repo | ||
3. Edit the config file in the root directory of your site | ||
|
||
### Download | ||
|
||
[download](//github.com/spf13/herring-cove/archive/master.zip) | ||
|
||
### License | ||
* [MIT](//opensource.org/licenses/MIT) | ||
|
||
## Author | ||
**Ravi Patel** | ||
- <https://github.com/arnp> | ||
|
||
## Ported By | ||
**Steve Francia** | ||
- <https://github.com/spf13> | ||
|
||
------------- | ||
Herring Cove is always a work in progress and as such, I hope to clean up the code and add features as time permits. Feel free to add your own additions. | ||
|
||
*What's with the name?* | ||
|
||
[Herring Cove](//www.capecodbeachchair.com/beachguide/index.cfm?page=3&BeachID=5) is a beach on Cape Cod in Provincetown, Massachusetts. If you're in the area, be sure to check it out! | ||
|
||
## Additional features by | ||
**Maikel Bollemeijer** | ||
- <https://github.com/mbollemeijer> | ||
|
||
------------- | ||
|
||
1. Profile picture parameter | ||
2. Links in the menus are generated through params in the config | ||
3. Landingpage | ||
|
||
Below an example of the yaml config | ||
```yaml | ||
params: | ||
ProfilePicture: "pathOrUrlToImage" | ||
links: | ||
Home : "/" | ||
Blog: "/blog/" | ||
About: "/about/" | ||
``` | ||
## Landing page | ||
If you want to enable the landing page make sure you have the following params in your config. | ||
```yaml | ||
params: | ||
ProfilePicture: "pathToImageOrUrlToImage" | ||
enableLandingPage: true | ||
landingPageRedirectUrl: "/about/" | ||
AuthorName: "John Doe" | ||
``` |
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,5 @@ | ||
+++ | ||
Description = "" | ||
Tags = [] | ||
Categories = [] | ||
+++ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,9 @@ | ||
{{ template "theme/partials/header.html" . }} | ||
<div id="article"> | ||
<h1>{{.Title}}</h1> | ||
<ul class="posts"> | ||
{{ range .Data.Pages }} | ||
<li><span><a href="{{ .RelPermalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li> | ||
{{ end }} | ||
</ul> | ||
{{ template "theme/partials/footer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{ template "theme/partials/header.html" . }} | ||
<div id="article"> | ||
<div class="article-title">{{ .Title }}</div> | ||
<p class="meta"><small> <i class="fa fa-calendar-o"></i> {{ .Date.Format "2006-01-02" }}</small></p> <hr/> | ||
<div class="post"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
|
||
|
||
<a href="https://twitter.com/share" class="twitter-share-button " data-size="small" data-count="none">Tweet</a> | ||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> | ||
|
||
<ul class="pager"> | ||
{{with .Prev}} <li class="previous"><a href="{{.Permalink}}"> {{.Title}}</a></li>{{end}} | ||
{{with .Next}} <li class="next"><a href="{{.Permalink}}"> {{.Title}}</a></li>{{end}} | ||
</ul> | ||
|
||
{{ template "_internal/disqus.html" . }} | ||
|
||
</ul> | ||
</div> | ||
{{ template "theme/partials/footer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<html> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>{{ .Title }}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="{{ .Description }}"> | ||
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> | ||
<link href="{{ .Site.BaseURL }}/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="{{ .Site.BaseURL }}/css/hc.css" rel="stylesheet"> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | ||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif] d--> | ||
</head> | ||
<body> | ||
{{ if eq .Site.Params.enableLandingPage true}} | ||
<div class="circular"> | ||
<img src="{{ .Site.Params.ProfilePicture }}" alt="" /> | ||
<div id="landing-about"> | ||
<a href="{{ .Site.Params.landingPageRedirectUrl }}">Find out more about <b>{{ .Site.Params.AuthorName }}</b> </a> | ||
</div> | ||
</div> | ||
{{ else }} | ||
{{ template "theme/partials/header.html" . }} | ||
<div id="article"> | ||
<h1>{{.Title}}</h1> | ||
<ul class="posts"> | ||
{{ range .Data.Pages }} | ||
<li><span><a href="{{ .RelPermalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li> | ||
{{ end }} | ||
</ul> | ||
{{ template "theme/partials/footer.html" }} | ||
{{ end }} | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<footer> | ||
|
||
<p class="text-muted credit">{{ with .Site.Params.Copyright }}{{.}}{{ else }}© {{.Now.Format "2006"}}. All rights reserved. {{end}}</p> | ||
</footer> | ||
<!-- Bootstrap core JavaScript--> | ||
<script src="{{ .Site.BaseURL }}/js/jquery-1.10.2.min.js"></script> | ||
<script src="{{ .Site.BaseURL }}/js/bootstrap.min.js"></script> | ||
<script src="{{ .Site.BaseURL }}/js/bootstrap.js"></script> | ||
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/hc.js"></script> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>{{ .Title }}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="{{ .Description }}"> | ||
{{ .Hugo.Generator }} | ||
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> | ||
<link href="{{ .Site.BaseURL }}/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="{{ .Site.BaseURL }}/css/hc.css" rel="stylesheet"> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | ||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif] d--> | ||
</head> | ||
<body> | ||
<div class="nav-toggle"><i class="fa fa-bars fa-2x"></i> Herring Cove </div> | ||
<div id = "wrapper"> | ||
|
||
|
||
<div class="navbar navbar-default" role="navigation"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a href="{{ .Site.BaseURL }}/"><p class="navbar-brand">{{ .Site.Title }}</p></a> | ||
</div> | ||
<div class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
{{ $baseUrl:= .Site.BaseURL }} | ||
{{range $key, $element := .Site.Params.links}} | ||
<li><a href="{{ $baseUrl}}{{ $element }}">{{title $key }} </a></li> | ||
{{ end }} | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<!-- Sidebar --> | ||
<div id="sidebar-wrapper"> | ||
<ul class="sidebar-nav"> | ||
<img src="{{ .Site.Params.ProfilePicture }}" /> | ||
<li class="sidebar-brand"><a href="{{ .Site.BaseURL }}/"><h1 class="brand">{{ .Site.Title }}</h1></a><h3>{{ .Site.Params.Description }}</h3></li> | ||
<hr /> | ||
{{range $key, $element := .Site.Params.links}} | ||
<li><a href="{{ $baseUrl }}{{ $element }}">{{title $key }} </a></li> | ||
{{ end }} | ||
<hr /> | ||
<div id="social-wrapper"> | ||
{{ with .Site.Params.twitter }}<li> <a href="{{.}}"><i class="fa fa-twitter-square"></i> @twitter</a></li>{{end}} | ||
{{ with .Site.Params.linkedin }}<li> <a href="{{ . }}"><i class="fa fa-linkedin-square"></i> linkedin</a> </li>{{end}} | ||
{{ with .Site.Params.facebook }}<li> <a href="{{ . }}"><i class="fa fa-facebook-square"></i> facebook</a></li>{{end}} | ||
{{ with .Site.Params.github }}<li> <a href="{{ . }}"><i class="fa fa-github-square"></i> github</a> </li>{{end}} | ||
</div> | ||
</ul> | ||
</div> | ||
|
||
|
||
|
||
<div class="container"> | ||
|
Oops, something went wrong.