Compare commits
2 commits
5e04fec993
...
c0be71f113
Author | SHA1 | Date | |
---|---|---|---|
c0be71f113 | |||
5c8c8577ad |
5 changed files with 34 additions and 20 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 "Purposeful approaches"
|
:description "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."
|
||||||
: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,8 +275,10 @@
|
||||||
;; 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
|
||||||
(loop for article in *articles* collect
|
(prepare "templates/about.tpl"
|
||||||
(create-article article :tiny tiny :no-text no-text))))
|
(template "%%Description%%" (getf *config* :description)))
|
||||||
|
(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,10 +130,22 @@ 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,pre,img,hr,.mini-note,ul li,ol li {
|
p,table,blockquote,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;
|
||||||
|
@ -257,6 +269,7 @@ 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;
|
||||||
|
|
13
templates/about.tpl
Normal file
13
templates/about.tpl
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
<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,21 +12,7 @@
|
||||||
|
|
||||||
<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