1
0
mirror of https://github.com/bitwarden/help synced 2025-12-06 00:03:30 +00:00
Files
help/_layouts/article.html
fred_the_tech_writer 906e2ca0dd Promote to Master (#748)
* initial commit

* adding quotes for the array error

* Create Gemfile

* Create Gemfile.lock

* add .nvmrc and .node-version

* removed /article from URL

* update links to work with netlify

* more fixed links

* link fixes

* update bad links

* Update netlify.toml

toml test for redirects

* article redirect

* link fixes

* Update index.html

* Update netlify.toml

* Update _config.yml

* Update netlify.toml

* Update netlify.toml

* Update netlify.toml

* Update netlify.toml

* Update netlify.toml

* add article back into URL for launch

* Update netlify.toml

* Update netlify.toml

* add order to categories front matter

* Update netlify.toml

* update

* sidemenu update

* Revert "sidemenu update"

This reverts commit 5441c3d35c.

* update order prop

* Navbar updates per Gary and compiler warnings

* font/style tweaks

* Update sidebar.html

* Stage Release Documentation (#739)

* initial drafts

* rewrite Custom Fields article to prioritize new context-menu option & better organize ancillary information

* edit

* edit

* Custom Field Context Menu & CAPTCHA item in release notes

* SSO relink event

* update rn

* small edits

* improve release notes titles

* fix side menu

* Edits courtest of mportune!

* update order

* link fixes

* link cleanup

* image updates and a link

* fix trailing slash

Co-authored-by: DanHillesheim <79476558+DanHillesheim@users.noreply.github.com>
2021-09-21 13:21:11 -04:00

88 lines
2.6 KiB
HTML

---
layout: default
---
{% assign catSize = page.categories | size %}
<h1 class="article-header">
<i class="fa fa-file-text-o"></i>
{{page.title}}
</h1>
{% if catSize > 0 %}
<div class="breadcrumb article-breadcrumb">
{{ catSize | pluralize: 'Category', 'Categories' }}:
{% for category in site.categories %}
{% assign catFilename = category.path | filename %}
{% if page.categories contains catFilename %}
<span class="badge badge-pill badge-secondary">{{category.title}}</span>
{% endif %}
{% endfor %}
</div>
{% endif %}
<div class="card article-card">
<div class="card-body">
<div class="d-xl-none bd-toc">
{% include toc.html %}
</div>
{{content}}
</div>
{% assign tags_size = page.tags | size %}
{% if tags_size > 0 %}
<div class="card-footer">
<i class="fa fa-tags fa-fw"></i>
{{ page.tags | join: ', ' }}
</div>
{% endif %}
</div>
<div class="row">
<div class="col-sm-6">
<div class="card">
<h4 class="card-header">
<i class="fa fa-thumbs-o-up"></i>
Was this helpful?
</h4>
<div class="card-body">
<p>Rate this article:</p>
<div class="rw-ui-container"></div>
</div>
</div>
</div>
<div class="col-sm-6">
{% include contact.html %}
</div>
</div>
<script>
(function (d, t, e, m) {
// Async Rating-Widget initialization.
window.RW_Async_Init = function () {
RW.init({
huid: "340409",
uid: "1a448820f2de881574e56e07bffdd7e8",
source: "website",
options: {
"size": "medium",
"type": "nero",
"style": "thumbs",
"isDummy": false
}
});
RW.render();
};
// Append Rating-Widget JavaScript library.
var rw, s = d.getElementsByTagName(e)[0], id = "rw-js",
l = d.location, ck = "Y" + t.getFullYear() +
"M" + t.getMonth() + "D" + t.getDate(), p = l.protocol,
f = ((l.search.indexOf("DBG=") > -1) ? "" : ".min"),
a = ("https:" == p ? "secure." + m + "js/" : "js." + m);
if (d.getElementById(id)) return;
rw = d.createElement(e);
rw.id = id; rw.async = true; rw.type = "text/javascript";
rw.src = p + "//" + a + "external" + f + ".js?ck=" + ck;
s.parentNode.insertBefore(rw, s);
}(document, new Date(), "script", "rating-widget.com/"));
</script>