diff --git a/_config.yml b/_config.yml index fa4eba9..9747c04 100644 --- a/_config.yml +++ b/_config.yml @@ -174,8 +174,15 @@ collections: output: true permalink: /projects/:path/ -news_scrollable: true # adds a vertical scroll bar if there are more than 3 news items -news_limit: 5 # leave blank to include all the news in the `_news` folder +news: + enabled: true + scrollable: true # adds a vertical scroll bar if there are more than 3 news items + limit: 5 # leave blank to include all the news in the `_news` folder + +latest_posts: + enabled: true + scrollable: true # adds a vertical scroll bar if there are more than 3 new posts items + limit: 3 # leave blank to include all the blog posts # ----------------------------------------------------------------------------- # Jekyll settings diff --git a/_includes/latest_posts.html b/_includes/latest_posts.html new file mode 100644 index 0000000..c9fb643 --- /dev/null +++ b/_includes/latest_posts.html @@ -0,0 +1,26 @@ + +
| {{ item.date | date: "%b %-d, %Y" }} | ++ {{ item.title }} + | +
|---|
No posts so far...
+ {%- endif %} +| {{ item.date | date: "%b %-d, %Y" }} |
- {% if item.inline -%}
+ {% if item.inline -%}
{{ item.content | remove: ' ' | remove: ' ' | emojify }} - {%- else -%} + {%- else -%} {{ item.title }} - {%- endif %} + {%- endif %} |
|---|
No news so far...
- {%- endif %} + {%- endif %}Your City, State 12345
news: true # includes a list of news items +latest_posts: true # includes a list of the newest posts selected_papers: true # includes a list of papers marked as "selected={true}" social: true # includes social icons at the bottom of the page ---