diff --git a/docs/embed.md b/docs/embed.md deleted file mode 100644 index 0251dddc..00000000 --- a/docs/embed.md +++ /dev/null @@ -1,100 +0,0 @@ ---- -layout: default -title: Embed events in webpages -permalink: /usage/embed -nav_order: 1 -parent: Usage ---- - - - -## Embed a single event or a list of events in your webpage -{: .no_toc } - -You can embed a list of filtered events or a specific event card in your webpage using a classic old-school `iframe` or a shiny new webcomponent. - -1. TOC -{:toc} -## Webcomponents -[Webcomponents](https://www.webcomponents.org/introduction) usage requires a small (~5kB gzipped) js script to be loaded in your page (note that you should use your instance name): -```html - -``` - -### Embed a single event -To embed an event in webpages you use `` custom element, you can copy the required code in **event's page > Embed > Copy**, should be like the following: - -```html - -``` - - - - - -### Embed event lists -You can also embed a list of events using `` custom element, you can copy the required code in **Export > List > Copy** - - -```html - - Gancio Events - -``` - - - - - - - - -Gancio Events - -> info "Customize" -> Note that you can modify the title (or completely remove it using an empty `title` param), -> you can limit the list to a maximum number of events using the `maxlength` parameter and filter events by `tags` or `places` using that parameters (it's easier using **gancio** than to explain it here) - - -## IFrame -You can also use the old iframe method - - -```html - -``` - - -## Wordpress -To embed an event or a list of events into a [WordPress](https://wordpress.com) website you can use the [WPGancio](https://wordpress.org/plugins/wpgancio/) plugin, this allows you to use webcomponents and shortcodes and automatically includes the needed script in each page and post. \ No newline at end of file diff --git a/docs/install/docker.md b/docs/install/docker.md index 4ad3be13..aa031432 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -65,7 +65,7 @@ You'll need to [setup nginx as a proxy]({% link install/nginx.md %}) then you ca ```bash -cd /opt/gancio +cd /opt/gancio # or where your installation is wget https://gancio.org/docker/Dockerfile -O Dockerfile docker-compose up -d --no-deps --build ``` diff --git a/locales/it.json b/locales/it.json index e63155d9..1164e944 100644 --- a/locales/it.json +++ b/locales/it.json @@ -278,6 +278,6 @@ "completed_description": "

Puoi entrare con le seguenti credenziali:

Utente: {email}
Password: {password}

", "copy_password_dialog": "Sì, devi copiare la password!", "start": "Inizia", - "https_warning": "Stai visitando il setup da HTTP, ricorda di cambiare il baseurl nel config.json quando passarai ad HTTPS!" + "https_warning": "Stai visitando il setup da HTTP, ricorda di cambiare il baseurl nel config.json quando passerai ad HTTPS!" } }