-
Notifications
You must be signed in to change notification settings - Fork 8
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 #8 from UniversityRadioYork/mw-template-blocks
Template blocks
- Loading branch information
Showing
11 changed files
with
76 additions
and
73 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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{template "header" .}} | ||
{{define "content"}} | ||
404: Not Found | ||
{{template "footer" .}} | ||
{{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
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,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<title>{{block "title" .}}{{.PageContext.LongName}}{{end}}</title> | ||
|
||
<!-- bower:css --> | ||
<link rel='stylesheet' href='/bower_components/bootstrap/dist/css/bootstrap.css' /> | ||
<!-- endbower --> | ||
|
||
<link href='/styles/main.css' rel='stylesheet' type='text/css'> | ||
|
||
<!-- @TODO: Move these into bower --> | ||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
</head> | ||
<body> | ||
|
||
{{template "header" .}} | ||
|
||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
|
||
{{block "content" .}} | ||
<div class="container"> | ||
<h1>Error</h1> | ||
<p>No content defined for this page.</p> | ||
</div> | ||
{{end}} | ||
|
||
{{template "footer" .}} | ||
|
||
<!-- bower:js --> | ||
<script src="/bower_components/modernizr/modernizr.js"></script> | ||
<script src="/bower_components/jquery/dist/jquery.js"></script> | ||
<script src="/bower_components/bootstrap/dist/js/bootstrap.js"></script> | ||
<script src="/bower_components/moment/moment.js"></script> | ||
<script src="/bower_components/jquery-ui/jquery-ui.js"></script> | ||
<!-- endbower --> | ||
|
||
<script src="scripts/main.min.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 |
---|---|---|
@@ -1,16 +1,2 @@ | ||
{{define "footer"}} | ||
|
||
<!-- bower:js --> | ||
<script src="/bower_components/modernizr/modernizr.js"></script> | ||
<script src="/bower_components/jquery/dist/jquery.js"></script> | ||
<script src="/bower_components/bootstrap/dist/js/bootstrap.js"></script> | ||
<script src="/bower_components/moment/moment.js"></script> | ||
<script src="/bower_components/jquery-ui/jquery-ui.js"></script> | ||
<!-- endbower --> | ||
|
||
<script src="scripts/main.min.js"></script> | ||
|
||
</body> | ||
</html> | ||
|
||
{{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 |
---|---|---|
@@ -1,38 +1,3 @@ | ||
{{define "header"}} | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<title>{{.PageContext.LongName}}</title> | ||
|
||
<!-- bower:css --> | ||
<link rel='stylesheet' href='/bower_components/bootstrap/dist/css/bootstrap.css' /> | ||
<!-- endbower --> | ||
|
||
<link href='styles/main.css' rel='stylesheet' type='text/css'> | ||
|
||
<!-- @TODO: Move these into bower --> | ||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
</head> | ||
<body> | ||
|
||
{{template "navbar" .}} | ||
|
||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
|
||
{{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
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