Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
31e241eb
Commit
31e241eb
authored
Nov 17, 2016
by
David Haynes
Browse files
Comment up the base html
- also update fontawesome - also now use html5 (lol this wasen't the case)
parent
ce7969c6
Pipeline
#480
passed with stage
in 7 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go/templates/layouts/base.html
View file @
31e241eb
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<title>
{% block title %}
{% endblock %}
</title>
<meta
charset=
"UTF-8"
>
<meta
name=
"keywords"
content=
"George Mason, URL shortener, URL"
>
<meta
name=
"description"
content=
"University branded URL shortener."
>
<meta
name=
"author"
content=
"Mason SRCT"
>
<meta
name=
"robots"
content=
"all"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
href=
"https://fonts.googleapis.com/css?family=Carrois+Gothic"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootswatch.min.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
styles.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
style-link-box.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
style-link-box.css
"
%}"
/>
<link
rel=
"icon"
type=
"image/jpg"
href=
"{% static "
img
/
favicon.ico
"%}"
/>
<script
src=
"{% static "
js
/
jquery.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
clipboard.min.js
"
%}"
></script>
</head>
<body>
{% include 'layouts/navigation.html' %}
<div
class=
"container"
>
{% block content %}
{% endblock %}
</div>
{% include 'layouts/footer.html' %}
<script
src=
"{% static "
js
/
copy.js
"
%}"
></script>
</body>
<!-- HTML 5 definition -->
<!DOCTYPE html>
<!-- Start the HTML page for Go -->
<html>
<!-- -->
<head>
<title>
<!-- load in the title block defined on each html page -->
{% block title %}
{% endblock %}
</title>
<!-- Some metadata -->
<meta
charset=
"UTF-8"
>
<meta
name=
"keywords"
content=
"George Mason, URL shortener, URL"
>
<meta
name=
"description"
content=
"University branded URL shortener."
>
<meta
name=
"author"
content=
"Mason SRCT"
>
<meta
name=
"robots"
content=
"all"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- Load in our icon -->
<link
rel=
"icon"
type=
"image/ico"
href=
"{% static "
img
/
favicon.ico
"%}"
/>
<!-- Load in global CSS -->
<link
href=
"https://fonts.googleapis.com/css?family=Carrois+Gothic"
rel=
"stylesheet"
type=
"text/css"
>
<link
href=
"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootswatch.min.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
styles.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
style-link-box.css
"
%}"
/>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
style-link-box.css
"
%}"
/>
<!-- Load in global js -->
<script
src=
"{% static "
js
/
jquery.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap.min.js
"
%}"
></script>
<script
src=
"{% static "
js
/
clipboard.min.js
"
%}"
></script>
</head>
<!-- Load in the body of a Go page -->
<body>
<!-- Load in the navbar template -->
{% include 'layouts/navigation.html' %}
<!-- Wrap the page content in a container -->
<div
class=
"container"
>
<!-- Load in the main page content -->
{% block content %}
{% endblock %}
</div>
<!-- Load in the footer template -->
{% include 'layouts/footer.html' %}
<!-- Load in js that relies on page elements -->
<script
src=
"{% static "
js
/
copy.js
"
%}"
></script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment