Hugos Shortcodes

Hugos Shortcodes

Bootstrap tables


{{< bootstrap-table table_class="table table-responsive table-dark table-striped table-bordered" >}}
| Restart settings/Exit causes  | no | always | on-success | on-failure | on-abnormal | on-abort | on-watchdog |
|:------------------------------|:--:|:------:|:----------:|:----------:|:-----------:|:--------:|:-----------:|
| Clean exit code or signal     |    |   X    |      X     |            |             |          |             |
| Unclean exit code             |    |   X    |            |      X     |             |          |             |
| Unclean signal                |    |   X    |            |      X     |      X      |    X     |             |
| Timeout                       |    |   X    |            |      X     |      X      |          |             |
| Watchdog                      |    |   X    |            |      X     |      X      |          |      X      |
{{< /bootstrap-table >}}
Tag Name Purpose Sample
v Protocol version v=DMARC1
pct Percentage of messages subjected to filtering pct=20
ruf Reporting URI for forensic reports ruf=mailto:authfail@example.com
rua Reporting URI of aggregate reports rua=mailto:aggrep@example.com
p Policy for organizational domain p=quarantine
sp Policy for subdomains sp=reject
adkim Alignment mode for DKIM adkim=s/adkim=r
aspf Alignment mode for SPF aspf=r/aspf=s

Bootstrap alerts


{{< bs-alert class="alert alert-success" header="Well done!" >}}
**Aww yeah**, you successfully read this important alert message. [This example](https://myblulinux.com/#) text is going to ```run a bit longer so that you``` can see how spacing within an alert works with this kind of content.

---

Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
{{< /bs-alert >}}

Syntax highlight with title


{{% mojtitletohighliht title="/etc/nginx/sites-enabled/example.com.ssl" %}}
```nginx
server {

        listen   443;
        server_name example.org;
}
```
/etc/nginx/sites-enabled/example.com.ssl
server {

        listen   443;
        server_name example.org;
}
{{% mojtitletohighliht title="PHP" %}}
```php
<?php
phpinfo(INFO_VARIABLES);
?>
```
PHP
<?php
phpinfo(INFO_VARIABLES);
?>

Syntas highlight with title and icon image


{{% mojtitletohighliht icon-image="fas fa-file-alt" title="/etc/nginx/sites-enabled/example.com.ssl" %}}
```nginx
server {

        listen   443;
        server_name example.org;
}
```
/etc/nginx/sites-enabled/example.com.ssl
server {

        listen   443;
        server_name example.org;
}

MyStar style


{{% mojanote2 subclass="mystar" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="mystar" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

MyInfo style


{{% mojanote2 subclass="myinfo" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="myinfo" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

MyWarning style


{{% mojanote2 subclass="mywarning" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="mywarning" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

MyUnreleased style


{{% mojanote2 subclass="myunreleased" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="myunreleased" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

Modals

{{< modal-button name="modal01" class="btn-bp5 btn-primary btn-lg btn-block" button-text="button text" modal-title="Moj modal title" sticky="YES" >}}

**Hola Hola** _laska vola_
{{< /modal-button >}}