- Timestamp:
- May 11, 2022, 5:49:15 AM (3 years ago)
- Branches:
- master
- Children:
- 5f1c100
- Parents:
- aaf50fc
- Location:
- content
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
content/articles.org
raaf50fc r1136777 27 27 (concat "<ul>" (mapconcat 'make-links list-of-posts "\n") "</ul>") 28 28 #+END_SRC 29 30 * Переводы 31 #+BEGIN_SRC emacs-lisp :exports results :results html 32 (defun read-lines (filePath) 33 "Return a list of lines of a file at filePath." 34 (with-temp-buffer 35 (insert-file-contents filePath) 36 (split-string (buffer-string) "\n" t))) 37 38 ;; Sort by modified date 39 (setq list-of-posts (sort (directory-files-and-attributes "./translations" nil ".org$") 40 #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) 41 42 (defun make-links (str) 43 (setq file-name (car str)) 44 (setq str-link (s-replace ".org" ".html" file-name)) 45 ;; We make an assumption, that #+TITLE is on first line 46 (setq article-title (s-replace "#+TITLE: " "" (car (read-lines (concat "translations/" file-name))))) 47 (concat "<li><a href=\"/translations/" str-link "\">" article-title "</a></li>")) 48 49 (concat "<ul>" (mapconcat 'make-links list-of-posts "\n") "</ul>") 50 #+END_SRC 29 51 30 52 * Authors from RSS feed … … 37 59 (org-webring-display-version 'nil) 38 60 (org-webring-display-generation-time 'nil) 39 (org-webring-urls '( "http://guix.trop.in/feeds/blog.atom"61 (org-webring-urls '(;;"http://guix.trop.in/feeds/blog.atom" 40 62 "https://drewdevault.com/blog/index.xml" 41 63 "https://wingolog.org/feed/atom" -
content/cv.org
raaf50fc r1136777 14 14 <div class="col-md" align="right" style="padding-top: 1em;"> 15 15 <mark style="background: #689f38 !important;">Available for hire</mark> 16 <p style="font-size: 1.3em;">€2 000 — ∞</p>16 <p style="font-size: 1.3em;">€2500 — ∞</p> 17 17 </div> 18 18 </div> -
content/music.org
raaf50fc r1136777 148 148 <td> 149 149 <audio controls> 150 <source src="/public/music/opus2. flac" type="audio/flac">151 <p><a href="/public/music/opus2. flac">Opus 2</a></p>150 <source src="/public/music/opus2.mp3" type="audio/flac"> 151 <p><a href="/public/music/opus2.mp3">Opus 2</a></p> 152 152 </audio> 153 153 <p>Opus 2</p> -
content/sitemap.org
raaf50fc r1136777 18 18 - [[file:posts/web.org][Свободное использование сети Интернет]] 19 19 - [[file:posts/unix-distros.org][Unix-подобные дистрибутивы]] 20 - translations 21 - [[file:translations/history-of-programming-languages.org][Мяу]]
Note:
See TracChangeset
for help on using the changeset viewer.