Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
395 B
HTML
Raw Permalink Normal View History

Slack integration - first draft of blog post (#2938) * first draft of blog post * Final touches, ready for review * Add code samples * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Komal <komal@pulumi.com> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Komal <komal@pulumi.com> * Update themes/default/content/blog/slack-integration/index.md * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Komal <komal@pulumi.com> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Komal <komal@pulumi.com> * Clean up grammer * Update index.md * Fix missing closing choosable * Add a CTA shortcode * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md Co-authored-by: Christian Nunciato <c@nunciato.org> * Update themes/default/content/blog/slack-integration/index.md * final changes --------- Co-authored-by: Komal <komal@pulumi.com> Co-authored-by: Christian Nunciato <chris@nunciato.org> Co-authored-by: Christian Nunciato <c@nunciato.org>
2023-05-31 08:23:52 -07:00
{{ $label := .Get 0 }}
{{ $url := .Get 1 }}
{{ $target := .Get 2 }}
<a
href="{{ $url }}"
class="btn btn-secondary whitespace-nowrap"
{{ if $target }}target="{{ $target }}"{{ end }}
{{ if eq $target "_blank" }}rel="noopener noreferrer"{{ end }}
>
{{ $label }}
{{ if eq $target "_blank" }}
<i class="text-sm ml-2 fas fa-external-link-alt"></i>
{{ end }}
</a>