<% const titleLink = (site?.base_uri) ? site.base_uri : '/'; const { entriesToList = [], pageCount, pageNum, year = '' } = page; -%> <%- include('partials/top') %>
<%- include('partials/embed_switch') %> <%- include('functions') -%> <% if (page?.title && (page.render_opts || '').indexOf('no_title') == -1) { -%>

Journal Entries By Year: <%= year %>

<% if (pageCount > 1) { -%>

(Page <%= pageNum %> of <%= pageCount %>)

<% } -%>

Assorted journal entries from <%= year %>.


<% } -%> <% if (entriesToList && year) { -%> <% entriesToList.forEach((entry) => { -%> <% if (entry?.content_type === 'journal') { -%> <% const { author = {}, content = '', date_pub = '', description = '', path = '', readTime = '', tags = [], title = '', tldr = '' } = entry; -%>

<% if (author?.site && author?.name) { -%> <% if (author?.photo) { -%> <% } -%> <% } else if (site?.author?.site && site?.author?.name) { -%> <% if (site?.author?.photo) { -%> <% } -%> <% } -%>

<%= title %>

<% if (tldr || description) { -%>

TL;DR — <%- tldr || description %>

<% } -%> <% if (readTime) { -%>

👓 <%= readTime %>

<% } -%> <% if (content) { -%>
<%- content %>
<% } -%>

<% } -%> <% }); -%> <% } -%> <%- include('partials/pageMenu') %>
<%- include('partials/journal/menusub') %> <%- include('partials/bio') %> <%- include('partials/footer') %>
<%- include('partials/bottom') %>