upgrade to 3.0
This commit is contained in:
@@ -4,11 +4,23 @@ const eleventyNavigation = {
|
||||
order: 1
|
||||
};
|
||||
|
||||
const numberOfLatestPostsToShow = 3;
|
||||
const numberOfLatestPostsToShow = 5;
|
||||
---
|
||||
|
||||
<h1>Kathleen Fitzpatrick</h1>
|
||||
<p style="padding-left:20px">Interim Associate Dean for Research and Graduate Studies, <a href="https://cal.msu.edu">College of Arts and Letters, Michigan State University</a>;
|
||||
Director, <a href="https://hcommons.org">Knowledge Commons</a>.</p>
|
||||
|
||||
<p style="padding-left:20px">Author, <a href="https://www.press.jhu.edu/books/title/12787/leading-generously"><em>Leading Generously: Tools for Transformation</em></a> (forthcoming from Hopkins Press, October 2024) and <a href="https://www.press.jhu.edu/books/title/12108/generous-thinking"><em>Generous Thinking: A Radical Approach to Saving the University</em></a> (Hopkins Press, 2019).</p>
|
||||
|
||||
<p>You can find me on <a rel="me" href="https://hcommons.social/@kfitz">hcommons.social</a> and on <a href="https://github.com/kfitz" rel="me">Github</a>.<br />
|
||||
Also here's the <a href="https://kfitz.info/feed/feed.xml">RSS feed</a> for this site, or the <a href="https://kfitz.info/feed/feed.json">json version</a>, if you prefer.</p>
|
||||
|
||||
<hr style="border-top: dashed 1px var(--color-gray-50); border-bottom: none" />
|
||||
|
||||
{% set postsCount = collections.posts | length %}
|
||||
{% set latestPostsCount = postsCount | min(numberOfLatestPostsToShow) %}
|
||||
<h1>Latest {{ latestPostsCount }} Post{% if latestPostsCount != 1 %}s{% endif %}</h1>
|
||||
<h2>Latest Post{% if latestPostsCount != 1 %}s{% endif %}</h2>
|
||||
|
||||
{% set postslist = collections.posts | head(-1 * numberOfLatestPostsToShow) %}
|
||||
{% set postslistCounter = postsCount %}
|
||||
|
||||
Reference in New Issue
Block a user