87 строки
3.6 KiB
Plaintext
87 строки
3.6 KiB
Plaintext
---
|
|
title: .NET Foundation news
|
|
description: Keep an eye on this page for news from us, news about .NET, and most important, updates from your peers. Contributors are commended.
|
|
permalink: /news
|
|
---
|
|
|
|
<section class="page-section page-section--purple">
|
|
<div class="page-section_container container">
|
|
<div class="page-section_row row">
|
|
<div class="page-section_column col-12 text-center">
|
|
<h1>
|
|
Chatter to keep up with.
|
|
</h1>
|
|
<p class="mx-auto">
|
|
This is the page to bookmark. Remember, you, your colleagues, your co-coders in arms — whether you know them yet or not — are the ones who make up the community and are the true innovators. So keep an eye on this page for news from us, news about .NET, and most important, updates from your peers. Contributors are commended.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="page-section page-section_column">
|
|
<div class="page-section_container container">
|
|
<div class="page-section_row row">
|
|
<article class="col-md-12">
|
|
<h2>Latest News and <a href="/blog">Blog</a></h2>
|
|
<div class="sign-up-to-newsletter">Sign up for the <a href="http://eepurl.com/dhL_qb">.NET Foundation newsletter</a> and always stay up to date!</div>
|
|
<div class="tabbed-index">
|
|
<a id="blog-tab" class="selected">Foundation Blog</a>
|
|
<a id="rss-tab">.NET Blog</a>
|
|
</div>
|
|
<div class="media-list" id="blog-feeds">
|
|
@Html.Partial("_partials/_blog-card.cshtml", Outputs
|
|
.FromPipeline(nameof(Statiq.Web.Pipelines.Content))
|
|
.FilterSources("blog/posts/*")
|
|
.OrderByDescending(doc => doc.GetDateTime("Published"))
|
|
.Take(5))
|
|
</div>
|
|
<div class="media-list" id="rss-feeds">
|
|
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<br />
|
|
<br />
|
|
</div>
|
|
</section>
|
|
|
|
<script src="js/rss.global.min.js"></script>
|
|
<script>
|
|
let layoutTemplate = '{entries}';
|
|
let newsTemplate = '<div class="latest_container latest_container--news">' +
|
|
'<div class="latest_date d-flex align-items-center justify-content-center text-center newstype-community"><span>.NET Blog</span></div>' +
|
|
'<div class="latest_meta d-flex flex-column justify-content-center">' +
|
|
'<h3 class="latest_title"><a href="{link}" title="{title}">{title}</a></h3>' +
|
|
'<p class="latest_copy">{description}</p></div></div>"';
|
|
new RSS(
|
|
document.querySelector("#rss-feeds"),
|
|
"https://devblogs.microsoft.com/dotnet/feed/?format=rss",
|
|
{
|
|
limit: 5,
|
|
ssl: true,
|
|
order: '-publishedDate',
|
|
layoutTemplate: layoutTemplate,
|
|
entryTemplate: newsTemplate,
|
|
tokens: {
|
|
link: function (entry, tokens) { return entry.link; },
|
|
description: function (entry, tokens) { return entry.contentSnippet + "..."; }
|
|
}
|
|
}
|
|
).render();
|
|
window.onload = function () {
|
|
$('#blog-tab').click(() => {
|
|
$('#rss-feeds').css('display', 'none');
|
|
$('#blog-feeds').css('display', 'block');
|
|
$('#blog-tab').addClass('selected');
|
|
$('#rss-tab').removeClass('selected');
|
|
})
|
|
$('#rss-tab').click(() => {
|
|
$('#rss-feeds').css('display', 'block');
|
|
$('#blog-feeds').css('display', 'none');
|
|
$('#blog-tab').removeClass('selected');
|
|
$('#rss-tab').addClass('selected');
|
|
})
|
|
};
|
|
</script>
|