Browse Source

Fix fonts.googleapis.com include for https

Put phrases in <p>
master
GeertJohan 10 years ago
parent
commit
151f2e6f7c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      interface.go

+ 4
- 4
interface.go View File

@@ -14,7 +14,7 @@ const tmplStrPackage = `<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>{{.Repo.PkgPath}}</title>
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu' rel='stylesheet' type='text/css'>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<style>
@@ -77,10 +77,10 @@ const tmplStrPackage = `<!DOCTYPE html>
<div class="col-sm-8 info" >
<div class="getting-started" >
<h2>Getting started</h2>
To get the package, execute:
<p>To get the package, execute:</p>
<pre>go get {{.Repo.PkgPath}}</pre>
To import this package, add the following line to your code:
<p>To import this package, add the following line to your code:</p>
<pre>import "{{.Repo.PkgPath}}"</pre>
</div>
</div>


Loading…
Cancel
Save