Skip to content

Commit ef0ea16

Browse files
committed
Add outdated flag and alert
1 parent 4b407cc commit ef0ea16

File tree

4 files changed

+255
-0
lines changed

4 files changed

+255
-0
lines changed

content/docs/en/getting-started/3-templates.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Templates
33
contributors: [rigor789, tralves]
4+
outdated: true
45
---
56

67
You can use NativeScript's [template system](https://docs.nativescript.org/tooling/app-templates) to bootstrap your `nativescript-vue` app. All these templates generate a NativeScript app that uses the `nativescript-vue` plugin. Some templates are equipped with more features such as support for Vue.js Single File Components (`.vue`) and livereload.

layouts/docs.ejs

+11
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@
5252
</div>
5353
<% } %>
5454

55+
<% if (current.outdated) { %>
56+
<div class="bg-orange-lightest border-l-8 border-orange-dark
57+
text-orange-dark p-4 my-8">
58+
<p>
59+
This page contains outdated information. We are trying out best to update it to reflect
60+
the most recent changes, and we are also really happy to accept contributions.
61+
</p>
62+
</div>
63+
<% } %>
64+
65+
5566
<% if(current.authors) { %>
5667
<div class="text-blue-light mb-8">
5768
<%= meta.moment(date).format('MMMM DD, YYYY') %>

0 commit comments

Comments
 (0)