Skip to content

Commit

Permalink
Merge pull request #7 from StevenPG/jdk23-gather-post
Browse files Browse the repository at this point in the history
Jdk23 gather post
  • Loading branch information
StevenPG authored Sep 29, 2024
2 parents 4e5fee7 + c0e0b7e commit bfcc3cc
Show file tree
Hide file tree
Showing 9 changed files with 337 additions and 77 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ description: >- # this means to ignore newlines until "baseurl:"
At the very least, it's an outlet for writing about tech and things
I find interesting!
include: ["_includes"]

github_username: StevenPG
linkedin_username: test

Expand Down
73 changes: 0 additions & 73 deletions _drafts/2024-09-17-Java-Streams-Gather-Jdk-23.markdown

This file was deleted.

35 changes: 35 additions & 0 deletions _includes/custom_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<footer class="site-footer h-card">


<data class="u-url" href="/"></data>

<div class="wrapper">

<div style="display: flex; justify-content: center; align-items: center; margin-bottom: 2em">
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="codingsteve" data-color="#FFDD00" data-emoji="💡" data-font="Bree" data-text="Help Keep This Site Running" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script>
</div>

<div class="footer-col-wrapper">
<div class="footer-col">
<p class="feed-subscribe">
<a href="http://localhost:4000/feed.xml">
<svg class="svg-icon orange">
<use xlink:href="/assets/minima-social-icons.svg#rss"></use>
</svg>
<span>Subscribe</span>
</a>
</p>
</div>
<div class="footer-col">
<p>My first blog, the place where I plan on writing some things down. At the very least, it&#39;s an
outlet for writing about tech and things I find interesting!</p>
</div>
</div>

<div class="social-links">
<ul class="social-media-list"></ul>
</div>

</div>

</footer>
20 changes: 20 additions & 0 deletions _layouts/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{%- include head.html -%}

<body>

{%- include header.html -%}

<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>

{%- include custom_footer.html -%}

</body>

</html>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</main>

<div class="no-print">
{%- include footer.html -%}
{%- include custom_footer.html -%}
</div>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9553425410079173"
Expand Down
38 changes: 38 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: base
---
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">

<header class="post-header">
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
<p class="post-meta">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{{ page.date | date: date_format }}
</time>
{%- if page.modified_date -%}
~
{%- assign mdate = page.modified_date | date_to_xmlschema -%}
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
{{ mdate | date: date_format }}
</time>
{%- endif -%}
{%- if page.author -%}
• {% for author in page.author %}
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
{%- if forloop.last == false %}, {% endif -%}
{% endfor %}
{%- endif -%}</p>
</header>

<div class="post-content e-content" itemprop="articleBody">
{{ content }}
</div>

{%- if site.disqus.shortname -%}
{%- include disqus_comments.html -%}
{%- endif -%}

<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
</article>
5 changes: 4 additions & 1 deletion _layouts/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
</main>

<div class="no-print">
{%- include footer.html -%}
<div style="display: flex; justify-content: center; align-items: center; margin-bottom: 2em">
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="codingsteve" data-color="#FFDD00" data-emoji="💡" data-font="Bree" data-text="Keep This Site Running" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script>
</div>
{%- include custom_footer.html -%}
</div>
</body>

Expand Down
Loading

0 comments on commit bfcc3cc

Please sign in to comment.