(defun hurricane/org-publish-sitemap (title list)
"Customized site map, as a string.
TITLE is the title of the site map. LIST is an internal
representation for the files to include, as returned by
`org-list-to-lisp'. PROJECT is the current project."
(concat "#+SETUPFILE: ../theme-rose.setup\n#+TITLE: " title "\n\n" "
#+HTML: <div class='container-fluid'>
#+HTML: <div class='row'>
#+HTML: <div class='col-xs-12 col-md-3'>
#+HTML: <div id='filter' class='input-group'>
#+HTML: <input type='text' id='filter-query' placeholder='Search file name or content.' class='form-control input-sm'>
#+HTML: <a id='filter-clear-query' title='Clear current search...' class='input-group-addon input-sm'>
#+HTML: <i class='glyphicon glyphicon-remove'>❌</i>
#+HTML: </a>
#+HTML: </div>
#+HTML: </div>
#+HTML: </div>
#+HTML: </div>
#+HTML: <ul class='unstyled' id='filter-results'></ul>
" "\n\n"
(org-list-to-org list)))
(defun hurricane/org-publish-sitemap (title list)
"Customized site map, as a string.
TITLE is the title of the site map. LIST is an internal
representation for the files to include, as returned by
`org-list-to-lisp'. PROJECT is the current project."
(concat "#+SETUPFILE: ../theme-w3.setup\n#+TITLE: " title "\n\n" "
#+HTML: <input oninput=\"w3.filterHTML('#filter7', 'li', this.value)\" class='w3-input w3-light-gray'>
#+HTML: <div id='filter7' class='w3-teal'>
\n\n"
(org-list-to-org list)
"#+HTML: </div>"
))