Skip to content

Commit

Permalink
Hide shortcodes that will be removed (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Feb 28, 2024
1 parent 7e41678 commit de68809
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 122 deletions.
50 changes: 0 additions & 50 deletions layouts/shortcodes/card.html
Original file line number Diff line number Diff line change
@@ -1,53 +1,3 @@
{{/*

doc: Cards

{{< card >}}
title = 'Only title'
{{< /card >}}

{{< card >}}
body = '''
Only body.

But with multiple text paragraphs.
'''
{{< /card >}}

{{< card >}}
title = 'Heading and body'
body = '''
Content of the third card.

{{< badge primary >}}Sample badge{{< /badge >}}
'''
{{< /card >}}

{{< card >}}
title = 'A card with a dropdown menu'
body = '''
{{< dropdown >}}
title = 'Click to expand dropdown'
icon = 'fa-solid fa-eye'
body = 'Hidden content'
{{< /dropdown >}}
'''
{{< /card >}}

{{< card >}}
title = 'A clickable card'
link = 'https://example.com'
{{< /card >}}

{{< card >}}
header = 'Header'
title = 'Card Title'
body = 'Card content'
footer = 'Footer'
{{< /card >}}

*/}}

{{- $data := .Inner | transform.Unmarshal -}}
{{- with .Parent -}}
<div class="sd-col sd-d-flex-row">
Expand Down
54 changes: 0 additions & 54 deletions layouts/shortcodes/grid.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,3 @@
{{/*

doc: Grids.

{{< grid columns="1 2 2 3">}}

{{< card >}}
title = 'Only title'
{{< /card >}}

{{< card >}}
body = '''
Only body.

But with multiple text paragraphs.
'''
{{< /card >}}

{{< card >}}
title = 'Heading and body'
body = '''
Content of the third card.

{{< badge primary >}}Sample badge{{< /badge >}}
'''
{{< /card >}}

{{< card >}}
title = 'A card with a dropdown menu'
body = '''
{{< dropdown >}}
title = 'Click to expand dropdown'
icon = 'fa-solid fa-eye'
body = 'Hidden content'
{{< /dropdown >}}
'''
{{< /card >}}

{{< card >}}
title = 'A clickable card'
link = 'https://example.com'
{{< /card >}}

{{< card >}}
header = 'Header'
title = 'Card Title'
body = 'Card content'
footer = 'Footer'
{{< /card >}}

{{< /grid >}}

*/}}

<div class="sd-container-fluid sd-mb-4">
{{- with .Get "columns" -}}
{{ $columns := split . " " }}
Expand Down
18 changes: 0 additions & 18 deletions layouts/shortcodes/youtube.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
{{/*

doc: Embed YouTube videos, with foldable captions. The `levelOffset` parameter can be used to control the depth of the video heading and content. The shortcode can be invoked either with an `id` attribute, or by specifying `page`. In the latter case, that page's preamble should provide `youtube_id`, `title`, `venue`, and `date`, and its contents act as the video transcript. Remember the closing tag!

{{< youtube id="EmGSSbwdCZQ" class="talk" title="YouTube: Open Data Science" venue="CU Denver Data Science Symposium 2020" author="Stefan van der Walt" levelOffset=3 >}}

Here, I will give a transcript of the whole video, and say some things about it that you cannot know otherwise without watching the **video**.

### But what is it?

This is it!

{{< /youtube >}}

{{< youtube page="video-page" levelOffset=3 >}}{{< /youtube >}}

*/}}

{{- $id := .Get "id" -}}
{{- $title := "" -}}
{{- $about := "" -}}
Expand Down

0 comments on commit de68809

Please sign in to comment.