add source link
This commit is contained in:
parent
d6b824d3f9
commit
1962c6414d
|
@ -73,13 +73,16 @@
|
||||||
(car date))))
|
(car date))))
|
||||||
" on "
|
" on "
|
||||||
(format " <a href=\"%s\">Yann Esposito's blog</a>" websiteorigin)
|
(format " <a href=\"%s\">Yann Esposito's blog</a>" websiteorigin)
|
||||||
" - "
|
|
||||||
(let ((permalink (format "%s%s"
|
(let ((permalink (format "%s%s"
|
||||||
websiteorigin
|
websiteorigin
|
||||||
(replace-regexp-in-string ".*/_site" ""
|
(replace-regexp-in-string ".*/_site" ""
|
||||||
(plist-get info :output-file)))))
|
(plist-get info :output-file)))))
|
||||||
(format " <a class=\"permalink\" href=\"%s\">§permalink</a>" permalink))
|
(concat
|
||||||
|
" - "
|
||||||
|
(let ((orgfile (replace-regexp-in-string "\.html$" ".org" permalink)))
|
||||||
|
(format " <a href=\"%s\">source</a>" orgfile))
|
||||||
|
" - "
|
||||||
|
(format " <a class=\"permalink\" href=\"%s\">§permalink</a>" permalink)))
|
||||||
"</div>"))
|
"</div>"))
|
||||||
"</div>"))
|
"</div>"))
|
||||||
|
|
||||||
|
|
BIN
project.el.sig
BIN
project.el.sig
Binary file not shown.
|
@ -5,16 +5,19 @@
|
||||||
:root {
|
:root {
|
||||||
--lh: 17px;
|
--lh: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
line-height: var(--lh);
|
line-height: var(--lh);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
code, pre, pre code {
|
code {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
pre {
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
font-family: monospace;
|
|
||||||
}
|
}
|
||||||
blockquote pre {
|
blockquote pre {
|
||||||
line-height: var(--lh);
|
line-height: var(--lh);
|
||||||
|
@ -160,9 +163,6 @@ pre:after,pre:before {
|
||||||
pre:before {
|
pre:before {
|
||||||
content: "~~~~~~~ " attr(class);
|
content: "~~~~~~~ " attr(class);
|
||||||
}
|
}
|
||||||
pre code {
|
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
nav {
|
nav {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
|
@ -231,6 +231,11 @@ figure, .figure {
|
||||||
label + pre {
|
label + pre {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
li .keywords {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* COLORS */
|
||||||
:root {
|
:root {
|
||||||
--b03: #2E3440;
|
--b03: #2E3440;
|
||||||
--b02: #3B4252;
|
--b02: #3B4252;
|
||||||
|
@ -269,10 +274,6 @@ body {
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
color: var(--rbg)
|
color: var(--rbg)
|
||||||
}
|
}
|
||||||
::selection {
|
|
||||||
color: white;
|
|
||||||
background: var(--v);
|
|
||||||
}
|
|
||||||
a {
|
a {
|
||||||
color: var(--hl);
|
color: var(--hl);
|
||||||
}
|
}
|
||||||
|
@ -288,8 +289,6 @@ sup > a {
|
||||||
background: var(--rbg);
|
background: var(--rbg);
|
||||||
}
|
}
|
||||||
|
|
||||||
body > input { display:none; }
|
|
||||||
|
|
||||||
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {
|
h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {
|
||||||
color: var(--fg0);
|
color: var(--fg0);
|
||||||
}
|
}
|
||||||
|
@ -298,15 +297,10 @@ h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {
|
||||||
color: var(--fg0);
|
color: var(--fg0);
|
||||||
}
|
}
|
||||||
|
|
||||||
li .keywords {
|
|
||||||
font-style: italic;
|
|
||||||
color: var(--fg0);
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a, nav a:visited {
|
nav a, nav a:visited {
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
}
|
}
|
||||||
|
li .keywords,
|
||||||
ol > li:before, pre::after,pre::before,hr:after, label, label a, label a:visited {
|
ol > li:before, pre::after,pre::before,hr:after, label, label a, label a:visited {
|
||||||
color: var(--fg0);
|
color: var(--fg0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue