Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecated thing to css, post, blog #727

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 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
4 changes: 4 additions & 0 deletions src/_css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -631,3 +631,7 @@ pre mark .token.punctuation {
.highlight-line {
display: inline-block;
}

.deprecated {
background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='9em' width='16em' viewBox='0 0 16 9'><text transform='translate(4.77 8.58) rotate(-45)' font-size='2' font-weight='bold' fill='LightSalmon'>Deprecated</text></svg>");
}
2 changes: 1 addition & 1 deletion src/_includes/layouts/post.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: layouts/base.njk
---
<article itemscope itemtype="http://schema.org/BlogPosting">
<article itemscope itemtype="http://schema.org/BlogPosting" class="{{ 'deprecated' if deprecated }}">
<header>
<h1 itemprop="headline">{{ title | markdown | safe }}</h1>
<p class="meta">
Expand Down
4 changes: 3 additions & 1 deletion src/blog/test-the-future.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
title: 'Help us test the future of V8!'
author: 'Daniel Clifford ([@expatdanno](https://twitter.com/expatdanno)), Original Munich V8 Brewer'
author: 'Daniel Clifford ([@expatdanno](https://twitter.com/expatdanno)), Original Munich V8 Brewer, anlex N'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proposed changes don't qualify for adding yourself as an author. Please remove this change here.

date: 2017-02-14 13:33:37
updated: 2024-01-14 10:52:14
deprecated: true
tags:
- internals
description: 'Preview V8’s new compiler pipeline with Ignition and TurboFan in Chrome Canary today!'
Expand Down
Loading