Compare commits
3 Commits
d66eebe67e
...
17accdaf84
Author | SHA1 | Date |
---|---|---|
Jez Cope | 17accdaf84 | |
Jez Cope | 444defc10d | |
Jez Cope | 8c88512735 |
|
@ -0,0 +1,82 @@
|
|||
/* Background */ .chroma { color: #93a1a1; background-color: #002b36 }
|
||||
/* Other */ .chroma .x { color: #cb4b16 }
|
||||
/* Error */ .chroma .err { }
|
||||
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
|
||||
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
|
||||
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #495050 }
|
||||
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #495050 }
|
||||
/* Keyword */ .chroma .k { color: #719e07 }
|
||||
/* KeywordConstant */ .chroma .kc { color: #cb4b16 }
|
||||
/* KeywordDeclaration */ .chroma .kd { color: #268bd2 }
|
||||
/* KeywordNamespace */ .chroma .kn { color: #719e07 }
|
||||
/* KeywordPseudo */ .chroma .kp { color: #719e07 }
|
||||
/* KeywordReserved */ .chroma .kr { color: #268bd2 }
|
||||
/* KeywordType */ .chroma .kt { color: #dc322f }
|
||||
/* Name */ .chroma .n { }
|
||||
/* NameAttribute */ .chroma .na { }
|
||||
/* NameBuiltin */ .chroma .nb { color: #b58900 }
|
||||
/* NameBuiltinPseudo */ .chroma .bp { color: #268bd2 }
|
||||
/* NameClass */ .chroma .nc { color: #268bd2 }
|
||||
/* NameConstant */ .chroma .no { color: #cb4b16 }
|
||||
/* NameDecorator */ .chroma .nd { color: #268bd2 }
|
||||
/* NameEntity */ .chroma .ni { color: #cb4b16 }
|
||||
/* NameException */ .chroma .ne { color: #cb4b16 }
|
||||
/* NameFunction */ .chroma .nf { color: #268bd2 }
|
||||
/* NameFunctionMagic */ .chroma .fm { }
|
||||
/* NameLabel */ .chroma .nl { }
|
||||
/* NameNamespace */ .chroma .nn { }
|
||||
/* NameOther */ .chroma .nx { }
|
||||
/* NameProperty */ .chroma .py { }
|
||||
/* NameTag */ .chroma .nt { color: #268bd2 }
|
||||
/* NameVariable */ .chroma .nv { color: #268bd2 }
|
||||
/* NameVariableClass */ .chroma .vc { }
|
||||
/* NameVariableGlobal */ .chroma .vg { }
|
||||
/* NameVariableInstance */ .chroma .vi { }
|
||||
/* NameVariableMagic */ .chroma .vm { }
|
||||
/* Literal */ .chroma .l { }
|
||||
/* LiteralDate */ .chroma .ld { }
|
||||
/* LiteralString */ .chroma .s { color: #2aa198 }
|
||||
/* LiteralStringAffix */ .chroma .sa { color: #2aa198 }
|
||||
/* LiteralStringBacktick */ .chroma .sb { color: #586e75 }
|
||||
/* LiteralStringChar */ .chroma .sc { color: #2aa198 }
|
||||
/* LiteralStringDelimiter */ .chroma .dl { color: #2aa198 }
|
||||
/* LiteralStringDoc */ .chroma .sd { }
|
||||
/* LiteralStringDouble */ .chroma .s2 { color: #2aa198 }
|
||||
/* LiteralStringEscape */ .chroma .se { color: #cb4b16 }
|
||||
/* LiteralStringHeredoc */ .chroma .sh { }
|
||||
/* LiteralStringInterpol */ .chroma .si { color: #2aa198 }
|
||||
/* LiteralStringOther */ .chroma .sx { color: #2aa198 }
|
||||
/* LiteralStringRegex */ .chroma .sr { color: #dc322f }
|
||||
/* LiteralStringSingle */ .chroma .s1 { color: #2aa198 }
|
||||
/* LiteralStringSymbol */ .chroma .ss { color: #2aa198 }
|
||||
/* LiteralNumber */ .chroma .m { color: #2aa198 }
|
||||
/* LiteralNumberBin */ .chroma .mb { color: #2aa198 }
|
||||
/* LiteralNumberFloat */ .chroma .mf { color: #2aa198 }
|
||||
/* LiteralNumberHex */ .chroma .mh { color: #2aa198 }
|
||||
/* LiteralNumberInteger */ .chroma .mi { color: #2aa198 }
|
||||
/* LiteralNumberIntegerLong */ .chroma .il { color: #2aa198 }
|
||||
/* LiteralNumberOct */ .chroma .mo { color: #2aa198 }
|
||||
/* Operator */ .chroma .o { color: #719e07 }
|
||||
/* OperatorWord */ .chroma .ow { color: #719e07 }
|
||||
/* Punctuation */ .chroma .p { }
|
||||
/* Comment */ .chroma .c { color: #586e75 }
|
||||
/* CommentHashbang */ .chroma .ch { color: #586e75 }
|
||||
/* CommentMultiline */ .chroma .cm { color: #586e75 }
|
||||
/* CommentSingle */ .chroma .c1 { color: #586e75 }
|
||||
/* CommentSpecial */ .chroma .cs { color: #719e07 }
|
||||
/* CommentPreproc */ .chroma .cp { color: #719e07 }
|
||||
/* CommentPreprocFile */ .chroma .cpf { color: #719e07 }
|
||||
/* Generic */ .chroma .g { }
|
||||
/* GenericDeleted */ .chroma .gd { color: #dc322f }
|
||||
/* GenericEmph */ .chroma .ge { font-style: italic }
|
||||
/* GenericError */ .chroma .gr { color: #dc322f; font-weight: bold }
|
||||
/* GenericHeading */ .chroma .gh { color: #cb4b16 }
|
||||
/* GenericInserted */ .chroma .gi { color: #719e07 }
|
||||
/* GenericOutput */ .chroma .go { }
|
||||
/* GenericPrompt */ .chroma .gp { }
|
||||
/* GenericStrong */ .chroma .gs { font-weight: bold }
|
||||
/* GenericSubheading */ .chroma .gu { color: #268bd2 }
|
||||
/* GenericTraceback */ .chroma .gt { }
|
||||
/* GenericUnderline */ .chroma .gl { }
|
||||
/* TextWhitespace */ .chroma .w { }
|
|
@ -31,6 +31,8 @@ $link: $turquoise
|
|||
|
||||
@import '../../node_modules/bulma/bulma.sass'
|
||||
|
||||
@import '_code.scss'
|
||||
|
||||
body
|
||||
font-size: 14px
|
||||
|
||||
|
@ -98,6 +100,12 @@ h6, .content h6
|
|||
@extend .px-3
|
||||
@extend .py-5
|
||||
|
||||
.link-summary
|
||||
@extend .has-background-link-light
|
||||
|
||||
.note-summary
|
||||
@extend .has-background-info-light
|
||||
|
||||
.single
|
||||
@extend .my-5
|
||||
@extend .px-3
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<time>{{ .Date.Format .Site.Params.DateFormat }}</time>
|
||||
{{ partial "tags.html" .Params.tags }}
|
|
@ -0,0 +1,4 @@
|
|||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
<a href="{{ .RelPermalink }}">Read more...</a>
|
||||
{{ end }}
|
|
@ -0,0 +1 @@
|
|||
[{{ .Type | upper }}] {{ .Title }}
|
|
@ -4,16 +4,12 @@
|
|||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-8 is-offset-2">
|
||||
<h1>
|
||||
{{ if ne .Type "posts" }}[{{ .Type | upper }}]{{ end }}
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<h1>{{ .Render "frag/title" }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="columns">
|
||||
<div class="column is-2">
|
||||
<time>{{ .Date.Format .Site.Params.DateFormat }}</time>
|
||||
{{ partial "tags.html" .Params.tags }}
|
||||
{{ .Render "frag/metadata" }}
|
||||
</div>
|
||||
<div class="column is-8">
|
||||
<div class="content">
|
||||
|
@ -21,7 +17,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "comments.html" . }}
|
||||
{{ partial "comments" . }}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
|
|
|
@ -1,20 +1,19 @@
|
|||
<article class="summary">
|
||||
<article class="summary {{ .Type }}-summary">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-8 is-offset-2">
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
|
||||
{{ if ne .Type "note" }}
|
||||
<div class="columns">
|
||||
<div class="column is-8 is-offset-2">
|
||||
<h2><a href="{{ with .Params.link }}{{.}}{{ else }}{{ .RelPermalink }}{{ end }}">
|
||||
{{ .Render "frag/title" }}</a></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="columns">
|
||||
<div class="column is-2">
|
||||
<time>{{ .Date.Format .Site.Params.DateFormat }}</time>
|
||||
{{ partial "tags.html" .Params.tags }}
|
||||
{{ .Render "frag/metadata" }}
|
||||
</div>
|
||||
<div class="column is-8">
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
<a href="{{ .RelPermalink }}">Read more...</a>
|
||||
{{ end }}
|
||||
<div class="column is-8 content">
|
||||
{{ .Render "frag/summary-content" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
{{ range $paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
{{ partial "pagination" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{{ .Content }}
|
||||
<p>
|
||||
<a href="{{ .Params.link }}">>>></a>
|
||||
</p>
|
|
@ -1,21 +0,0 @@
|
|||
<article class="summary link has-background-link-light">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-8 is-offset-2">
|
||||
<h2><a href="{{ .Params.link }}">[LINK] {{ .Title }}</a></h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="columns">
|
||||
<div class="column is-2">
|
||||
<time>{{ .Date.Format .Site.Params.DateFormat }}</time>
|
||||
{{ partial "tags.html" .Params.tags }}
|
||||
</div>
|
||||
<div class="column is-8 content">
|
||||
{{ .Content }}
|
||||
<p>
|
||||
<a href="{{ .Params.link }}">>>></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
|
@ -0,0 +1 @@
|
|||
{{ .Content }}
|
|
@ -1,15 +0,0 @@
|
|||
<article class="summary note has-background-info-light">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-2">
|
||||
<time>{{ .Date.Format .Site.Params.DateFormat }}</time>
|
||||
{{ partial "tags.html" .Params.tags }}
|
||||
</div>
|
||||
<div class="column is-8">
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
|
@ -0,0 +1 @@
|
|||
{{ partial "tags" .Params.tags }}
|
|
@ -0,0 +1 @@
|
|||
{{ .Title }}
|
|
@ -1,26 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<article class="single">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-8 is-offset-2">
|
||||
<h1>
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="columns">
|
||||
<div class="column is-2">
|
||||
{{ partial "tags.html" .Params.tags }}
|
||||
</div>
|
||||
<div class="column is-8">
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "comments.html" . }}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -1,3 +1,14 @@
|
|||
<div class="container">
|
||||
<div class="columns">
|
||||
<div class="column is-8 is-offset-2">
|
||||
<div class="message is-info">
|
||||
<div class="message-body">
|
||||
TODO: implement comments
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ with .Site.DisqusShortname }}
|
||||
<div>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="container">
|
||||
<div class="columns">
|
||||
<footer class="column is-8 is-offset-2 has-text-centered">
|
||||
{{ partial "social.html" . }}
|
||||
{{ partial "social" . }}
|
||||
<p>
|
||||
© {{ now.Year }}
|
||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Params.Author }}</a>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
{{ .Title }}
|
Loading…
Reference in New Issue