Compare commits
No commits in common. "c0be71f11317a3bf65f9ebfe92e04f230d1e0dbb" and "5e04fec993a09eb1d302830edcf0f6b79e76da5f" have entirely different histories.
c0be71f113
...
5e04fec993
5 changed files with 20 additions and 34 deletions
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
|
|
||||||
;; Define Your Webpage
|
;; Define Your Webpage
|
||||||
|
|
||||||
(defvar *config*
|
(defvar *config*
|
||||||
(list
|
(list
|
||||||
:webmaster "Tommy Skaug"
|
:webmaster "Tommy Skaug"
|
||||||
:title "Thoughts"
|
:title "Thoughts"
|
||||||
:description "Greetings. I am a cyber security professional with more than a decade of operational experience.
|
:description "Purposeful approaches"
|
||||||
I appreciate solving emerging and existing problems with novel and simple approaches."
|
|
||||||
:url "https://www.252.no/" ;; the trailing slash is mandatory! RSS links will fail without it. Notice the '~~' to produce a literal '~'
|
:url "https://www.252.no/" ;; the trailing slash is mandatory! RSS links will fail without it. Notice the '~~' to produce a literal '~'
|
||||||
:rss-item-number 20 ;; limit total amount of items in RSS feed to 10
|
:rss-item-number 20 ;; limit total amount of items in RSS feed to 10
|
||||||
:date-format "%MonthName %DayNumber %Year" ;; format for date %DayNumber %DayName %MonthNumber %MonthName %Year
|
:date-format "%MonthName %DayNumber %Year" ;; format for date %DayNumber %DayName %MonthNumber %MonthName %Year
|
||||||
|
|
|
@ -275,10 +275,8 @@
|
||||||
;; html generation of index homepage
|
;; html generation of index homepage
|
||||||
(defun generate-semi-mainpage(&key (tiny t) (no-text nil))
|
(defun generate-semi-mainpage(&key (tiny t) (no-text nil))
|
||||||
(apply #'concatenate 'string
|
(apply #'concatenate 'string
|
||||||
(prepare "templates/about.tpl"
|
(loop for article in *articles* collect
|
||||||
(template "%%Description%%" (getf *config* :description)))
|
(create-article article :tiny tiny :no-text no-text))))
|
||||||
(loop for article in *articles* collect
|
|
||||||
(create-article article :tiny tiny :no-text no-text))))
|
|
||||||
|
|
||||||
;; html generation of a tag homepage
|
;; html generation of a tag homepage
|
||||||
(defun generate-tag-mainpage(articles-in-tag)
|
(defun generate-tag-mainpage(articles-in-tag)
|
||||||
|
|
|
@ -130,22 +130,10 @@ h1 { font-size: 3.2rem; font-style: normal; margin-top: 2.6rem; }
|
||||||
h2 { font-size: 2.2rem; margin-top: 4.2rem; }
|
h2 { font-size: 2.2rem; margin-top: 4.2rem; }
|
||||||
h3 { font-size: 1.7rem; margin-top: 2.6rem; }
|
h3 { font-size: 1.7rem; margin-top: 2.6rem; }
|
||||||
|
|
||||||
p,table,blockquote,img,hr,.mini-note,ul li,ol li {
|
p,table,blockquote,pre,img,hr,.mini-note,ul li,ol li {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
max-width: 55%;
|
max-width: 55%;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
|
||||||
font-size: 1rem;
|
|
||||||
margin: 2rem 0 2rem 0 !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
overflow-x: auto;
|
|
||||||
min-width: 98%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
display: flex;
|
|
||||||
};
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 53rem;
|
max-width: 53rem;
|
||||||
|
@ -269,7 +257,6 @@ figcaption {
|
||||||
left: calc(100% + 4rem);
|
left: calc(100% + 4rem);
|
||||||
line-height: 1.3rem;
|
line-height: 1.3rem;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
word-wrap: break-word;
|
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
|
|
||||||
<nav class="sans">
|
|
||||||
<ul class="site-nav">
|
|
||||||
<li><a href="index-titles.html">All Posts</a></li>
|
|
||||||
<li><a href="rss.xml">RSS</a></li>
|
|
||||||
<li><a href="https://keyoxide.org/088194F806EBADEE1B48B1CBC0A38C49BB2258E8" target="_blank">Contact</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="intro">
|
|
||||||
%%Description%%
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -12,7 +12,21 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
<nav class="sans">
|
||||||
|
<ul class="site-nav">
|
||||||
|
<li><a href="index-titles.html">All Posts</a></li>
|
||||||
|
<li><a href="rss.xml">RSS</a></li>
|
||||||
|
<li><a href="https://keyoxide.org/088194F806EBADEE1B48B1CBC0A38C49BB2258E8" target="_blank">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<!--<div>All Tags: %%Tags%%</div>-->
|
||||||
|
|
||||||
|
<div class="intro">Greetings. I am a cyber security professional
|
||||||
|
with more than a decade of operational experience. I appreciate
|
||||||
|
solving emerging and existing problems with novel and simple
|
||||||
|
approaches.</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<main>%%Body%%</main>
|
<main>%%Body%%</main>
|
||||||
|
|
||||||
<footer><p>This blog is powered by cl-yag!</p></footer>
|
<footer><p>This blog is powered by cl-yag!</p></footer>
|
||||||
|
|
Loading…
Add table
Reference in a new issue