-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change how project name is displayed (#6)
As seen with @adyanth, project fork will be broken from original project, to allow users to fork mine etc. Project name remains the same, but its display change to reduce confusion between the to project.
- Loading branch information
Showing
6 changed files
with
157 additions
and
88 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,39 +1,42 @@ | ||
<!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.0"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" | ||
/> | ||
<title>File {{ .Name }}</title> | ||
<style> | ||
body { | ||
text-align: center; | ||
font-family: Roboto, sans-serif !important; | ||
} | ||
body { | ||
text-align: center; | ||
font-family: Roboto, sans-serif !important; | ||
} | ||
|
||
.title { | ||
font-size: 1.25rem !important; | ||
font-weight: 500; | ||
line-height: 2rem; | ||
letter-spacing: 0.0125em !important; | ||
color: #2c3e50; | ||
} | ||
.title { | ||
font-size: 1.25rem !important; | ||
font-weight: 500; | ||
line-height: 2rem; | ||
letter-spacing: 0.0125em !important; | ||
color: #2c3e50; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
</head> | ||
|
||
<h1 class="title" style="margin: 2em;"> | ||
<a href="/" style="color: inherit;text-decoration: inherit;">Short{Paste}</a> | ||
<body> | ||
<h1 class="title" style="margin: 2em"> | ||
<a href="/" style="color: inherit; text-decoration: inherit" | ||
>ShortPaste</a | ||
> | ||
</h1> | ||
Click here to download: <a href="{{ .Src }}">"{{ .Name }}"</a> (Size: {{ .Size }}) | ||
Click here to download: <a href="{{ .Src }}">"{{ .Name }}"</a> (Size: {{ | ||
.Size }}) | ||
<br /> | ||
{{ if .Image }} | ||
<h3 class="title">Preview</h3> | ||
<img src="{{ .Src }}" style="border: 3px solid black;"> | ||
<img src="{{ .Src }}" style="border: 3px solid black" /> | ||
{{ end }} | ||
</body> | ||
|
||
</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 |
---|---|---|
@@ -1,38 +1,44 @@ | ||
<!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.0"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Text {{ .ID }}</title> | ||
<link rel="stylesheet" href="//unpkg.com/@highlightjs/[email protected]/styles/default.min.css"> | ||
<link | ||
rel="stylesheet" | ||
href="//unpkg.com/@highlightjs/[email protected]/styles/default.min.css" | ||
/> | ||
<script src="//unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script> | ||
<script>hljs.highlightAll();</script> | ||
<script> | ||
hljs.highlightAll(); | ||
</script> | ||
<style> | ||
body { | ||
font-family: Roboto, sans-serif !important; | ||
} | ||
body { | ||
font-family: Roboto, sans-serif !important; | ||
} | ||
|
||
.title { | ||
font-size: 1.25rem !important; | ||
font-weight: 500; | ||
line-height: 2rem; | ||
letter-spacing: 0.0125em !important; | ||
color: #2c3e50; | ||
} | ||
.title { | ||
font-size: 1.25rem !important; | ||
font-weight: 500; | ||
line-height: 2rem; | ||
letter-spacing: 0.0125em !important; | ||
color: #2c3e50; | ||
} | ||
</style> | ||
</head> | ||
</head> | ||
|
||
<body> | ||
<h1 class="title" style="text-align: center; margin: 2em;"> | ||
<a href="/" style="color: inherit;text-decoration: inherit;">Short{Paste}</a> | ||
<body> | ||
<h1 class="title" style="text-align: center; margin: 2em"> | ||
<a href="/" style="color: inherit; text-decoration: inherit" | ||
>ShortPaste</a | ||
> | ||
</h1> | ||
<h3 class="title" style="text-align: left;">Contents of {{ .ID }}</h3> | ||
Click here to download: <a href="{{ .Src }}">"{{ .Name }}"</a> (Size: {{ .Size }}) | ||
<h3 class="title" style="text-align: left">Contents of {{ .ID }}</h3> | ||
Click here to download: <a href="{{ .Src }}">"{{ .Name }}"</a> (Size: {{ | ||
.Size }}) | ||
<pre> | ||
<code class="{{ .Class }}">{{ .Text }}</code> | ||
</pre> | ||
</body> | ||
|
||
</html> | ||
</body> | ||
</html> |