From dbec2962f400da4f01d12f39d57981364525b5a4 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 4 May 2023 10:25:54 -0400 Subject: [PATCH] Drop mycplus.com iframe from Shortcode page (#1475) --- .../en/docs/adding-content/shortcodes/index.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/userguide/content/en/docs/adding-content/shortcodes/index.md b/userguide/content/en/docs/adding-content/shortcodes/index.md index c3a2cb16a7..ef7de03c97 100644 --- a/userguide/content/en/docs/adding-content/shortcodes/index.md +++ b/userguide/content/en/docs/adding-content/shortcodes/index.md @@ -120,11 +120,9 @@ For announcement of latest features etc. ### blocks/feature ```go-html-template - {{%/* blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/gohugoio/hugo" */%}} We do a [Pull Request](https://github.com/gohugoio/hugo/pulls) contributions workflow on **GitHub**. New users are always welcome! {{%/* /blocks/feature */%}} - ``` | Parameter | Default | Description | @@ -139,7 +137,6 @@ We do a [Pull Request](https://github.com/gohugoio/hugo/pulls) contributions wor 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. ```go-html-template -
{{}}
@@ -179,7 +176,6 @@ The **pageinfo** shortcode creates a text box that you can use to add banner inf {{%/* pageinfo color="primary" */%}} This is placeholder content. {{%/* /pageinfo */%}} - ``` Renders to: @@ -197,7 +193,6 @@ This is placeholder content 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. - ```go-html-template {{}} Norway Spruce Picea abies shoot with foliage buds. @@ -388,9 +383,6 @@ object HelloWorld extends App { println("Hello world!") } {{< /tab >}} -{{< tab header="Reference" right=true text=true >}} -{{< iframe src="https://www.mycplus.com/featured-articles/hello-world-programs-in-300-programming-languages" >}} -{{< /tab >}} {{< /tabpane >}} 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. `sudo sh install.sh` 1. Test that your installation was successfully completed. - ``` You can import this section into another document: @@ -615,7 +606,6 @@ You can import this section into another document: The following section explains how to install the database: {{%/* readfile "installation.md" */%}} - ``` 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: {{}} 1. Apply the file to your cluster `kubectl apply config.yaml` - ``` 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: To create a new pipeline, follow the next steps: -1. Create a configuration file `config.yaml`: +1. Create a configuration file `config.yaml`: {{< readfile file="includes/config.yaml" code="true" lang="yaml" >}} -1. Apply the file to your cluster `kubectl apply config.yaml` +1. Apply the file to your cluster `kubectl apply config.yaml` ---