Hugos Shortcodes

Hugos Shortcodes

Bootstrap tables


{{< bootstrap-table table_class="table 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 >}}

{{< bs-alert class="alert alert-primary" 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 >}}

{{< bs-alert class="alert alert-danger" 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 >}}

{{< bs-alert class="alert alert-warning" 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 >}}

{{< bs-alert class="alert alert-info" 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 >}}

{{< bs-alert class="alert alert-light" 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 >}}

{{< bs-alert class="alert alert-dark" 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 >}}

{{< bs-alert class="alert alert-secondary" 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


general file

{{% 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;
}

python

{{% mojtitletohighliht icon-image="fab fa-python" title="/etc/python/script.py" %}}
```python3
dict = {'x': 1, 'y': 2}                       # Dictionary example

dict.keys()                                   # Coll. of keys that reflects changes.
dict.values()                                 # Coll. of values that reflects changes.
dict.items()                                  # Coll. of key-value tuples that reflects ch
```
/etc/python/script.py
dict = {'x': 1, 'y': 2}                       # Dictionary example

dict.keys()                                   # Coll. of keys that reflects changes.
dict.values()                                 # Coll. of values that reflects changes.
dict.items()                                  # Coll. of key-value tuples that reflects ch

PHP

{{% mojtitletohighliht icon-image="fab fa-php" title="PHP" %}}
```php
<?php
phpinfo(INFO_VARIABLES);
?>
```
PHP
<?php
phpinfo(INFO_VARIABLES);
?>

HTML

{{% mojtitletohighliht icon-image="fas fa-code" title="HTML" %}}
```html
<link rel="stylesheet" href="{{ "css/bootstrap-table.css" | absURL }}">
<title>
```
HTML
<link rel="stylesheet" href="{{ "css/bootstrap-table.css" | absURL }}">
<title>

CSS/CSS3

{{% mojtitletohighliht icon-image="fab fa-css3" title="CSS" %}}
```css3
div {
  width: 300px;
  border: 15px solid green;
  padding: 50px;
  margin: 20px;
}
```
CSS
div {
  width: 300px;
  border: 15px solid green;
  padding: 50px;
  margin: 20px;
}

SSL/TLS

{{% mojtitletohighliht icon-image="fab fa-expeditedssl" title="SSL" %}}
```nginx
server {

        listen   443;
        server_name example.org;
}
```
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 >}}