Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 20 additions & 28 deletions 3-news.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,23 @@ show_tile: true

<!-- markdownlint-disable MD033 -->

<div class='sk-ww-linkedin-page-post' data-embed-id='25538864'></div><script src='https://widgets.sociablekit.com/linkedin-page-posts/widget.js' defer></script>
<noscript>
<p>LinkedIn embeds require JavaScript. Browse the latest news cards below.</p>
</noscript>
<p id="linkedin-fallback" hidden>If the LinkedIn feed does not load, browse the latest news cards below.</p>
<script>
(function () {
var fallback = document.getElementById('linkedin-fallback');
if (!fallback) return;

function showIfEmbedEmpty() {
var container = document.querySelector('.sk-ww-linkedin-page-post');
if (!container) return;
var isEmpty = !container.hasChildNodes() || container.innerHTML.trim() === '';
if (isEmpty) {
fallback.hidden = false;
}
}

if (document.readyState === 'complete' || document.readyState === 'interactive') {
setTimeout(showIfEmbedEmpty, 4000);
} else {
window.addEventListener('DOMContentLoaded', function () {
setTimeout(showIfEmbedEmpty, 4000);
});
}
})();
</script>
<header class="major">
<h2>Latest updates</h2>
</header>
<p>
We now keep this page reliable by publishing SECQUOIA news directly on the
website instead of relying on an external LinkedIn widget. The news cards
below are the canonical archive for announcements, tutorials, and milestones.
</p>
<p>
We still share highlights on LinkedIn, so you can follow the group there for
social updates and then return here for the full website archive.
</p>
<ul class="actions">
<li><a href="{{ site.socials.LinkedIn }}" class="button next" target="_blank" rel="noopener noreferrer">Follow SECQUOIA on LinkedIn</a></li>
</ul>
<p>
To publish a new update on this page, add a dated post in <code>_posts/</code>
with a WebP image and run <code>./validate.sh</code> before opening a pull
request.
</p>
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,21 @@ Tips:
- Target WebP quality (~70–85) balancing size vs clarity.
- Keep typical member photos < 300KB; large hero/banner images ideally < 1MB.
- Original files can remain for future recompression or alternative formats if needed.

## News Page Maintenance

The news page at `3-news.md` intentionally uses the local Jekyll post archive
instead of a third-party LinkedIn embed. This keeps the page stable in GitHub
Pages builds and avoids broken or stale social widgets.

To publish a news update:

1. Add a new Markdown file under `_posts/` named
`YYYY-MM-DD-short-title.md`.
2. Include the usual front matter (`layout`, `title`, `description`, `date`,
and `image`).
3. Store the referenced image in `assets/images/` as a `.webp` file.
4. Run `./validate.sh` before opening a pull request.

If you also want the update on LinkedIn, publish the website post first and
then share the matching announcement on the SECQUOIA LinkedIn page.
Loading