fixed title
This commit is contained in:
parent
ef2986c5db
commit
fcd532fa45
|
@ -4,8 +4,12 @@
|
||||||
#+KEYWORDS: programming
|
#+KEYWORDS: programming
|
||||||
#+DESCRIPTION: css demonstration
|
#+DESCRIPTION: css demonstration
|
||||||
#+OPTIONS: H:5
|
#+OPTIONS: H:5
|
||||||
|
#+OPTIONS: auto-id:t
|
||||||
|
|
||||||
* Level 1 in org-mode
|
* Level 1 in org-mode
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: level-1-in-org-mode-e308
|
||||||
|
:END:
|
||||||
|
|
||||||
This is a text I write so we can test many different details of a web page.
|
This is a text I write so we can test many different details of a web page.
|
||||||
The text can be *bold*, /italic/, +strikethrough+ or =keyword=.
|
The text can be *bold*, /italic/, +strikethrough+ or =keyword=.
|
||||||
|
@ -23,6 +27,9 @@ But if I use a double space
|
||||||
There should be a forced newline.
|
There should be a forced newline.
|
||||||
|
|
||||||
** Level 2
|
** Level 2
|
||||||
|
:PROPERTIES:
|
||||||
|
:CUSTOM_ID: level-2-85fc
|
||||||
|
:END:
|
||||||
|
|
||||||
There should be whitespace between paragraphs.
|
There should be whitespace between paragraphs.
|
||||||
GitHub is a code hosting platform for version control and collaboration.
|
GitHub is a code hosting platform for version control and collaboration.
|
||||||
|
|
|
@ -87,7 +87,7 @@ I write all the content with [[http://orgmode.org][org-mode]].
|
||||||
"<div class=\"content\">"
|
"<div class=\"content\">"
|
||||||
(menu '("<a href=\"#postamble\">↓ bottom ↓</a>"))
|
(menu '("<a href=\"#postamble\">↓ bottom ↓</a>"))
|
||||||
"<h1>"
|
"<h1>"
|
||||||
(format "%s" (plist-get info :title))
|
(format "%s" (car (plist-get info :title)))
|
||||||
(when-let ((date (get-from-info info :date)))
|
(when-let ((date (get-from-info info :date)))
|
||||||
(format " - <span class=\"article-date\">%s</span>" date))
|
(format " - <span class=\"article-date\">%s</span>" date))
|
||||||
"</h1>"
|
"</h1>"
|
||||||
|
|
Loading…
Reference in a new issue