Put lastupdated in own id
This commit is contained in:
parent
9301c73095
commit
4fa1ffe3cb
|
@ -87,7 +87,10 @@
|
||||||
(let ((cleanline (md4tj-clean-multiline line)))
|
(let ((cleanline (md4tj-clean-multiline line)))
|
||||||
;; If this is a signal to include another file
|
;; If this is a signal to include another file
|
||||||
(cond ((string-match "^@@INCLUDE" line) (md4tj-parse-to-string (nth 1 (split-string line))))
|
(cond ((string-match "^@@INCLUDE" line) (md4tj-parse-to-string (nth 1 (split-string line))))
|
||||||
((string-match "^@@LASTUPDATED" line) (concat "Last updated: " (current-time-string)))
|
((string-match "^@@LASTUPDATED" line) (concat
|
||||||
|
(md4tj-begin-tag "p" (list (list "id" "lastupdated")))
|
||||||
|
"Last updated: " (current-time-string)
|
||||||
|
(md4tj-end-tag "p")))
|
||||||
;; If this is some other signal, ignore
|
;; If this is some other signal, ignore
|
||||||
((string-match "^@@" line) "")
|
((string-match "^@@" line) "")
|
||||||
;; Otherwise, process as normal
|
;; Otherwise, process as normal
|
||||||
|
|
|
@ -3,4 +3,9 @@ body {background-color: #00ff00;}
|
||||||
video {
|
video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
#lastupdated {
|
||||||
|
outline: dashed 1px black;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
@ -70,6 +70,6 @@ int main() {
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<p><a href="https://crawl.develz.org">Dungeon Crawl Stone Soup</a> - My favorite FOSS roguelike (Yes, I know the greatest roguelike of all time is NetHack, I don't care).</p>
|
<p><a href="https://crawl.develz.org">Dungeon Crawl Stone Soup</a> - My favorite FOSS roguelike (Yes, I know the greatest roguelike of all time is NetHack, I don't care).</p>
|
||||||
Last updated: Wed Jan 4 13:32:42 2023
|
<p id="lastupdated">Last updated: Wed Jan 4 13:40:47 2023</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue