meagancojocar 40d387dd79
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 15:23:52 +00:00

17 lines
395 B
HTML

{{ $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>