Skip to content

Commit dbec296

Browse files
authored
Drop mycplus.com iframe from Shortcode page (google#1475)
1 parent 29e1dec commit dbec296

File tree

1 file changed

+2
-13
lines changed
  • userguide/content/en/docs/adding-content/shortcodes

1 file changed

+2
-13
lines changed

userguide/content/en/docs/adding-content/shortcodes/index.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,9 @@ For announcement of latest features etc.
120120
### blocks/feature
121121

122122
```go-html-template
123-
124123
{{%/* blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/gohugoio/hugo" */%}}
125124
We do a [Pull Request](https://github.com/gohugoio/hugo/pulls) contributions workflow on **GitHub**. New users are always welcome!
126125
{{%/* /blocks/feature */%}}
127-
128126
```
129127

130128
| Parameter | Default | Description |
@@ -139,7 +137,6 @@ We do a [Pull Request](https://github.com/gohugoio/hugo/pulls) contributions wor
139137
The **blocks/link-down** shortcode creates a navigation link down to the next section. It's meant to be used in combination with the other blocks shortcodes.
140138

141139
```go-html-template
142-
143140
<div class="mx-auto mt-5">
144141
{{</* blocks/link-down color="info" */>}}
145142
</div>
@@ -179,7 +176,6 @@ The **pageinfo** shortcode creates a text box that you can use to add banner inf
179176
{{%/* pageinfo color="primary" */%}}
180177
This is placeholder content.
181178
{{%/* /pageinfo */%}}
182-
183179
```
184180

185181
Renders to:
@@ -197,7 +193,6 @@ This is placeholder content
197193

198194
The **imgproc** shortcode finds an image in the current [Page Bundle](/docs/adding-content/content/#page-bundles) and scales it given a set of processing instructions.
199195

200-
201196
```go-html-template
202197
{{</* imgproc spruce Fill "400x450" */>}}
203198
Norway Spruce <i>Picea abies</i> shoot with foliage buds.
@@ -388,9 +383,6 @@ object HelloWorld extends App {
388383
println("Hello world!")
389384
}
390385
{{< /tab >}}
391-
{{< tab header="Reference" right=true text=true >}}
392-
{{< iframe src="https://www.mycplus.com/featured-articles/hello-world-programs-in-300-programming-languages" >}}
393-
{{< /tab >}}
394386
{{< /tabpane >}}
395387

396388
The Docsy template provides two shortcodes `tabpane` and `tab` that let you easily create tabbed panes. To see how to use them, have a look at the following code block, which renders to a right aligned pane with one disabled and three active tabs:
@@ -606,7 +598,6 @@ Check system compatibility before proceeding.
606598
`sudo sh install.sh`
607599
608600
1. Test that your installation was successfully completed.
609-
610601
```
611602

612603
You can import this section into another document:
@@ -615,7 +606,6 @@ You can import this section into another document:
615606
The following section explains how to install the database:
616607
617608
{{%/* readfile "installation.md" */%}}
618-
619609
```
620610

621611
This is rendered as if the instructions were in the parent document. Hugo
@@ -650,7 +640,6 @@ To create a new pipeline, follow the next steps:
650640
{{</* readfile file="includes/config.yaml" code="true" lang="yaml" */>}}
651641
652642
1. Apply the file to your cluster `kubectl apply config.yaml`
653-
654643
```
655644

656645
This code automatically reads the content of `includes/config.yaml` and inserts it
@@ -660,11 +649,11 @@ into the document. The rendered text looks like this:
660649

661650
To create a new pipeline, follow the next steps:
662651

663-
1. Create a configuration file `config.yaml`:
652+
1. Create a configuration file `config.yaml`:
664653

665654
{{< readfile file="includes/config.yaml" code="true" lang="yaml" >}}
666655

667-
1. Apply the file to your cluster `kubectl apply config.yaml`
656+
1. Apply the file to your cluster `kubectl apply config.yaml`
668657

669658
---
670659

0 commit comments

Comments
 (0)