Finish org first draft of org migration
This commit is contained in:
parent
253b3b0e26
commit
0d52ff0aa4
|
@ -18,3 +18,13 @@ pre.src {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.timestamp {
|
||||||
|
background: #161f27;
|
||||||
|
background: var(--background);
|
||||||
|
color: #ffbe85;
|
||||||
|
color: var(--code);
|
||||||
|
padding: 2.5px 5px;
|
||||||
|
border-radius: 6px;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
1
build.el
1
build.el
|
@ -312,6 +312,7 @@ Not pages."
|
||||||
:section-numbers nil
|
:section-numbers nil
|
||||||
:with-author t
|
:with-author t
|
||||||
:with-drawers t
|
:with-drawers t
|
||||||
|
:html-format-drawer-function custom-drawer-format
|
||||||
:with-properties t
|
:with-properties t
|
||||||
:with-tags t
|
:with-tags t
|
||||||
:with-timestamps t
|
:with-timestamps t
|
||||||
|
|
|
@ -132,6 +132,13 @@ call `org-html-render-tag-template' otherwise will call ORIG-FN."
|
||||||
(org-html-template contents info))))
|
(org-html-template contents info))))
|
||||||
|
|
||||||
|
|
||||||
|
(defun custom-drawer-format (name content)
|
||||||
|
(format "<section class='%s-drawer'><p>%s</p>%s</section>"
|
||||||
|
(downcase name)
|
||||||
|
(capitalize name)
|
||||||
|
content))
|
||||||
|
|
||||||
|
|
||||||
(defun org-html-publish-to-templated-html (plist filename pub-dir)
|
(defun org-html-publish-to-templated-html (plist filename pub-dir)
|
||||||
"Publish an org file to HTML.
|
"Publish an org file to HTML.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#+TITLE: lxsameer's nest
|
#+TITLE: lxsameer's nest
|
||||||
|
|
||||||
|
- [[file:thoughts.org][Inner world]]
|
||||||
- [[file:essays/serene-simple-version.org][Serene (simple versoin)]]
|
- [[file:essays/serene-simple-version.org][Serene (simple versoin)]]
|
||||||
- [[file:essays/choosing-the-target-platform.org][Choosing the target platform]]
|
- [[file:essays/choosing-the-target-platform.org][Choosing the target platform]]
|
||||||
- [[file:essays/rational-and-a-name.org][Rational and a name]]
|
- [[file:essays/rational-and-a-name.org][Rational and a name]]
|
||||||
|
|
Loading…
Reference in New Issue