-
Notifications
You must be signed in to change notification settings - Fork 34
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 b0d0dbb
Showing
32 changed files
with
9,225 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 @@ | ||
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,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 YOUR_NAME_HERE | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,54 @@ | ||
# Github project landing page | ||
|
||
Github landing page is a theme for [Hugo](http://gohugo.io) to create landing pages for github projects. This theme is based on [landing-page-hugo](https://github.com/crakjie/landing-page-hugo) | ||
|
||
# Demo | ||
A demo can be find here [Swiftline](http://swiftline.github.io) | ||
|
||
# Screenshot | ||
![screenshot](https://raw.githubusercontent.com/swiftline/github-project-landing-page/master/images/screenshot.png) | ||
|
||
# Costumization | ||
Check [config.toml](https://github.com/swiftline/github-project-landing-page/blob/master/config.toml) for available configuration. | ||
Below is a description for each of them. | ||
|
||
Project description appears after project name | ||
``` | ||
description = "Amazing project." | ||
``` | ||
|
||
`author_url` a link of the project author. | ||
`project_url` link to project url | ||
`project_documentation` link to project documentation | ||
|
||
``` | ||
author_url = "http://nsomar.com" | ||
project_url = "http://github.com/swiftline/swiftline" | ||
project_documentation = "http://swiftline.github.io/docs" | ||
``` | ||
|
||
`github_user_name` github author account name | ||
`github_project_name` github project name | ||
``` | ||
github_project_name = "swiftline" | ||
github_user_name = "swiftline" | ||
``` | ||
|
||
Theme colors | ||
``` | ||
first_color="#f8f8f8" | ||
first_border_color="#e7e7e7" | ||
first_text_color="#333" | ||
second_color="white" | ||
second_text_color="#333" | ||
header_color="#f8f8f8" | ||
header_text_color="rgb(51, 51, 51)" | ||
header_link_color="#777" | ||
header_link_hover_color="rgb(51, 51, 51)" | ||
``` | ||
|
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 @@ | ||
0.1 |
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,6 @@ | ||
+++ | ||
Description = "" | ||
Keywords = [] | ||
Tags = [] | ||
Categories = [] | ||
+++ |
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,24 @@ | ||
baseurl = "http://swiftline.github.io" | ||
languageCode = "en-us" | ||
title = "Swiftline" | ||
|
||
[params] | ||
description = "Amazing project." | ||
author_url = "http://nsomar.com" | ||
project_url = "http://github.com/swiftline/swiftline" | ||
project_documentation = "http://swiftline.github.io/docs" | ||
github_project_name = "swiftline" | ||
github_user_name = "swiftline" | ||
|
||
first_color="#f8f8f8" | ||
first_border_color="#e7e7e7" | ||
first_text_color="#333" | ||
|
||
second_color="white" | ||
second_text_color="#333" | ||
|
||
header_color="#f8f8f8" | ||
header_text_color="rgb(51, 51, 51)" | ||
|
||
header_link_color="#777" | ||
header_link_hover_color="rgb(51, 51, 51)" |
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,13 @@ | ||
+++ | ||
date = "2015-12-2T14:10:00+03:00" | ||
draft = false | ||
title = "First Post" | ||
weight = 1 | ||
+++ | ||
|
||
First post | ||
Where you talk about how to install your project | ||
|
||
``` | ||
brew install amazing-tool | ||
``` |
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,19 @@ | ||
+++ | ||
date = "2015-12-2T14:10:00+03:00" | ||
draft = false | ||
title = "Second Post" | ||
weight = 2 | ||
+++ | ||
|
||
Second post | ||
Usage maybe? | ||
|
||
``` | ||
DoSomething() | ||
``` | ||
|
||
And the output would be: | ||
|
||
``` | ||
Something | ||
``` |
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 @@ | ||
+++ | ||
date = "2015-12-2T14:10:00+03:00" | ||
draft = false | ||
title = "Third Post" | ||
weight = 3 | ||
+++ | ||
|
||
Third post | ||
Get help | ||
|
||
- Ask questions here .... | ||
- Read this doc file | ||
- Concat me twitter [@ifnottrue](https://twitter.com/@ifnottrue) |
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,4 @@ | ||
{{ partial "head.html" . }} | ||
{{ partial "header.html" . }} | ||
{{ partial "services.html" . }} | ||
{{ partial "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,22 @@ | ||
{{ partial "head.html" . }} | ||
{{ partial "nav.html" . }} | ||
|
||
<section id="services"> | ||
<div class="content-section-a"> | ||
|
||
<div class="container"> | ||
|
||
<div class="row"> | ||
<div> | ||
<hr class="section-heading-spacer"> | ||
<div class="clearfix"></div> | ||
<h2 class="section-heading">{{ .Title }}</h2> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
</section> | ||
{{ partial "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,5 @@ | ||
{{ partial "head.html" . }} | ||
{{ partial "nav.html" . }} | ||
{{ partial "header.html" . }} | ||
{{ partial "services.html" . }} | ||
{{ partial "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,18 @@ | ||
<!-- Footer --> | ||
<footer> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-8"> | ||
<p class="copyright text-muted small">Copyright © {{ .Title }} All Rights Reserved</p> | ||
</div> | ||
<div class="col-md-4"> | ||
Built with <a href="http://gohugo.io">Hugo</a> and the | ||
<a href="https://github.com/swiftline/github-project-landing-page">Github project Page</a> | ||
theme. | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
{{ partial "js.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<base href="{{ .Site.BaseURL }}"> | ||
<title>{{ .Title }}</title> | ||
|
||
<!-- Bootstrap Core CSS --> | ||
<link href="/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Custom CSS --> | ||
<link href="/css/landing-page.css" rel="stylesheet"> | ||
|
||
<!-- Custom Fonts --> | ||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> | ||
|
||
<style> | ||
{{ printf "%v" (partial "template.css" . ) | safeCSS }} | ||
</style> | ||
|
||
</head> | ||
<body> |
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,29 @@ | ||
<section id="intro"> | ||
<!-- Header --> | ||
<div class="intro-header"> | ||
|
||
<div class="container header-container"> | ||
|
||
<div class="row"> | ||
<div class="intro-image col-md-4"></div> | ||
<div class="intro-message col-md-6"> | ||
<h1>{{ .Site.Title }}</h1> | ||
<h3>{{ .Site.Params.description }}</h3> | ||
|
||
{{ if (isset .Site.Params "github_project_name") }} | ||
{{ $user := .Site.Params.github_user_name }} | ||
{{ $repo := .Site.Params.github_project_name }} | ||
|
||
<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user={{ $user }}&repo={{ $repo }}&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> | ||
{{ end }} | ||
|
||
<hr class="intro-divider"> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<!-- /.container --> | ||
|
||
</div> | ||
<!-- /.intro-header --> | ||
</section> |
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 @@ | ||
<!-- jQuery Version 1.11.0 --> | ||
<script src="/js/jquery-1.11.0.js"></script> | ||
|
||
<!-- Plugin JavaScript --> | ||
<script src="/js/jquery.easing.min.js"></script> | ||
|
||
<!-- Bootstrap Core JavaScript --> | ||
<script src="/js/bootstrap.min.js"></script> | ||
|
||
<!-- Custom Theme JavaScript --> | ||
<script src="js/landing-page.js"></script> | ||
|
||
{{ if isset .Site.Params "googleAnalytics" }} | ||
|
||
<!-- Google Analytics --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new | ||
Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{ .Site.Params.googleAnalytics }}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> | ||
|
||
{{ 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,31 @@ | ||
<!-- Navigation --> | ||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation"> | ||
<div class="container"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header page-scroll"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="page-scroll navbar-brand" href="#intro">{{ .Site.Title }}</a> | ||
</div> | ||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li> | ||
<a class="page-scroll" href={{ .Site.Params.project_url }}>Github</a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href={{ .Site.Params.project_documentation }}>Docs</a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href={{ .Site.Params.author_url }}>NSOmar</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<!-- /.navbar-collapse --> | ||
</div> | ||
<!-- /.container --> | ||
</nav> |
Oops, something went wrong.