/usr/share/publican/templates/books_menu.tmpl is in publican 4.2.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <script>
if(current_book != 'Books') {
$('<div>'+labels[current_product][current_version][current_book]["label"]+'</div>').insertBefore("#book_menu_list");
} else {
$('<div>[% trans_strings.Books %]</div>').insertBefore("#book_menu_list");
}
</script>
<ul id="book_menu_list" class="hidden">
[%- FOREACH book_name = books %]
<li [% IF lang != book_list.${book_name}.lang %]class="untranslated [% lang %]"[% END %]>
[% INCLUDE anchor.tmpl host=host lang=lang booklang=book_list.${book_name}.lang product=product version=book_list.${book_name}.version format=book_list.${book_name}.base_format book=book_list.${book_name}.book name=book_list.${book_name}.book_clean srcnewer=book_list.${book_name}.srcnewer %]
</li>
[%- END %]
</ul>
|