2 Commits

Author SHA1 Message Date
Dave Kerr
eaace27b1a fix(build): only deploy website on release 2025-03-31 08:32:14 +01:00
Dave Kerr
1974f53351 feat(website): linkedin share 2025-03-31 08:29:49 +01:00
4 changed files with 4 additions and 8 deletions

View File

@@ -1,12 +1,5 @@
# Changelog
## [0.2.1](https://github.com/dwmkerr/hacker-laws/compare/v0.2.0...v0.2.1) (2025-03-31)
### Bug Fixes
* remove frontmatter ([2140429](https://github.com/dwmkerr/hacker-laws/commit/2140429b959a8284b452c3fa05e1c9fd03e5ebab))
## [0.2.0](https://github.com/dwmkerr/hacker-laws/compare/v0.1.0...v0.2.0) (2025-03-31)

View File

@@ -1,3 +1,3 @@
{
".": "0.2.1"
".": "0.2.0"
}

View File

@@ -60,6 +60,7 @@
<div class="social-sharing">
<a href="https://twitter.com/intent/tweet?url=https://hacker-laws.com/#{{ section.id}}?hashtags=example" title="Share on Twitter" target="_blank"><i class="bi bi-twitter"></i></a>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://hacker-laws.com/&num;{{ section.id }}" title="Share on Facebook" target="_blank"><i class="bi bi-facebook"></i></a>
<a href="https://www.linkedin.com/feed/?shareActive=true&text={{ section.title}} https://hacker-laws.com/&num;{{ section.id }}" title="Share on LinkedIn" target="_blank"><i class="bi bi-linkedin"></i></a>
</div>
</section>
{% endfor %}

View File

@@ -87,6 +87,8 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
needs: release
if: ${{ needs.release.outputs.released }}
steps:
- name: Checkout
uses: actions/checkout@v4