Demo content updated

This commit is contained in:
pmoreno.rodriguez 2023-09-29 13:50:47 +02:00
parent 484749a3df
commit c871b4d5a1
76 changed files with 208 additions and 41 deletions

View file

@ -18,7 +18,7 @@ custom_logo_mobile: { }
footer:
title: ABOUT
description: 'Mauris neque quam, fermentum ut nisl vitae, convallis maximus nisl. Sed mattis nunc id lorem euismod amet placerat. Vivamus porttitor magna enim, ac accumsan tortor cursus at phasellus sed ultricies.'
copyright_text: 'DESIGN: <a href="https://html5up.net/" target="_blank">HTML5 UP</a>. IMAGES: <a href="http://wallpaperswide.com/" target="_blank">WALLPAPESWIDE</a>.'
copyright_text: 'DESIGN: <a href="https://html5up.net/" target="_blank">HTML5 UP</a>. IMAGES by <a href="https://unsplash.com/es/@davealmine" target="_blank">Dawid Zawiła</a>.'
button_url: about
button_text: 'Show more'
social:

View file

@ -1,10 +1,10 @@
---
title: 'About me'
media_order: 'undraw_polaroid_re_481f.svg,pic07.jpg,undraw_Video_call_re_4p26.png'
media_order: 'pic07.jpg'
subtitle: 'Who am I?'
buttontext: 'Read more'
buttonurl: 'https://github.com/pmoreno-rodriguez'
image: undraw_Video_call_re_4p26.png
image: pic07.jpg
---
My name is Pedro, I am Spanish and I discovered Grav CMS back in 2020. I like to learn and play with CMS to create simple websites. When I discovered Grav, I thought it could be a good system for building simple websites. Over time I discovered its potential and decided to actively help the Grav community.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,5 +1,5 @@
---
title: 'Item one'
title: 'Page one'
visible: true
media_order: juan_avataaars.jpg
primaryImage: pic02.jpg

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View file

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View file

@ -1,9 +1,9 @@
---
title: 'Subitem Item two'
title: 'Subpage two'
visible: true
media_order: 'daily (6)_&_ae7dd5e9-2081-4fe1-93b3-9da2f162ddfe.jpg,ana_avataaars.jpg'
primaryImage: 'daily (6)_&_ae7dd5e9-2081-4fe1-93b3-9da2f162ddfe.jpg'
subtitle: 'Subtitle Item two'
media_order: 'pic01.jpg,ana_avataaars.jpg'
primaryImage: 'pic01.jpg'
subtitle: 'Subtitle subpage two'
avatarImage: ana_avataaars.jpg
taxonomy:
category:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

@ -0,0 +1,8 @@
---
title: 'Page two'
visible: true
taxonomy:
tag:
- tag3
---

View file

@ -1,9 +0,0 @@
---
title: 'Item two'
visible: true
primaryImage: WhitePocket_EN-US11956274200_1920x1200.jpg
taxonomy:
tag:
- tag3
---

View file

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

@ -1,5 +1,5 @@
---
title: 'Item three'
title: 'Page three'
visible: true
media_order: 'pedro_avataaars.png,Elements14-c1.svg'
primaryImage: Elements14-c1.svg
@ -21,9 +21,9 @@ show_sidebar: true
| Cell A | Cell B | Cell C | Cell D | Cell E |
|--------|--------|--------|--------|--------|
| Pedro | Ana | Juan | Pablo | Silvia |
| Pedro | Ana | Juan | Pablo | Silvia |
| Pedro | Ana | Juan | Pablo | Silvia |
| Data1 | Data2 | Data3 | Data4 | Data5 |
| Data1 | Data2 | Data3 | Data4 | Data5 |
| Data1 | Data2 | Data3 | Data4 | Data5 |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin imperdiet aliquet nunc, in dapibus ante gravida sed. Nulla facilisi. Integer ac finibus justo. Aenean scelerisque sollicitudin dui ut aliquet. Aliquam porta arcu magna, a interdum tortor consequat id. Cras fringilla luctus erat eget dictum. Etiam auctor sit amet risus nec volutpat. Integer bibendum interdum nisi non tincidunt. Morbi sed finibus nisi, et maximus orci. Duis luctus, dui in sodales aliquet, nisl mauris tristique diam, eget aliquet odio lectus sit amet eros. Quisque ex augue, convallis non aliquet aliquet, feugiat vitae lorem.

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.8 KiB

View file

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

@ -13,6 +13,9 @@ taxonomy:
- tag1
author:
- 'Pedro Moreno'
publish_date: '13-03-2023 22:28'
feed:
limit: 10
---
Aenean luctus elit at pharetra faucibus. Morbi ex dui, lobortis nec massa ac, facilisis hendrerit libero. Vestibulum aliquet est ut urna ultrices, vel rhoncus ex bibendum. Nam tempus at arcu ac aliquet. Aliquam dolor nisl, dignissim sed ante eleifend, malesuada semper lorem. Duis lacinia erat ut elit porta finibus. Aenean volutpat suscipit nunc, ut vestibulum augue malesuada sed. Quisque ultrices nec nisi ut ornare. Sed tortor sem, eleifend sit amet tincidunt in, viverra at velit.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View file

@ -1,6 +1,6 @@
---
title: 'Post three'
media_order: 'juan_avataaars.jpg,pic10.jpg'
media_order: 'juan_avataaars.jpg,pic03.jpg'
taxonomy:
tag:
- tag2
@ -9,10 +9,14 @@ taxonomy:
- 'Juan Villén'
avatarImage: juan_avataaars.jpg
subtitle: 'Donec dolor velit, posuere eget metus at, hendrerit malesuada magna'
primaryImage: pic10.jpg
primaryImage: pic03.jpg
show_pageimage: true
image_width: 1038
image_height: 437
date: '01-11-2022 22:27'
feed:
limit: 10
visible: false
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt diam at tortor volutpat placerat. Duis a dolor pharetra neque euismod porttitor. Ut pellentesque neque a odio pretium, eu feugiat lorem efficitur. Nunc pulvinar, dolor non facilisis semper, libero nisl auctor dolor, vitae dictum justo elit aliquet arcu. Curabitur quis posuere libero. Phasellus auctor purus turpis, non fringilla arcu scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo tempus nisi, nec euismod augue commodo in.

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

View file

@ -1,6 +1,6 @@
---
title: 'Post four'
media_order: 'juan_avataaars.jpg,pic07.jpg'
media_order: 'juan_avataaars.jpg,pic04.jpg'
taxonomy:
category:
- minipost
@ -9,13 +9,17 @@ taxonomy:
- tag4
author:
- 'Juan Villén'
primaryImage: pic07.jpg
primaryImage: pic04.jpg
avatarImage: juan_avataaars.jpg
subtitle: 'Nulla consequat auctor odio non vehicula'
order: 4
show_pageimage: true
image_width: 1038
image_height: 437
publish_date: '09-04-2023 22:27'
feed:
limit: 10
visible: false
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt diam at tortor volutpat placerat. Duis a dolor pharetra neque euismod porttitor. Ut pellentesque neque a odio pretium, eu feugiat lorem efficitur. Nunc pulvinar, dolor non facilisis semper, libero nisl auctor dolor, vitae dictum justo elit aliquet arcu. Curabitur quis posuere libero. Phasellus auctor purus turpis, non fringilla arcu scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo tempus nisi, nec euismod augue commodo in.

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View file

@ -1,6 +1,6 @@
---
title: 'Post five'
media_order: 'ana_avataaars.jpg,pic01.jpg'
media_order: 'ana_avataaars.jpg,pic05.jpg'
taxonomy:
category:
- minipost
@ -10,13 +10,17 @@ taxonomy:
author:
- 'Juan Villén'
- 'Ana Fernández'
primaryImage: pic01.jpg
primaryImage: pic05.jpg
avatarImage: ana_avataaars.jpg
subtitle: 'Morbi ultricies interdum turpis, nec tincidunt nulla gravida varius'
order: 3
show_pageimage: true
image_width: 1038
image_height: 437
publish_date: '04-07-2023 22:27'
feed:
limit: 10
visible: false
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt diam at tortor volutpat placerat. Duis a dolor pharetra neque euismod porttitor. Ut pellentesque neque a odio pretium, eu feugiat lorem efficitur. Nunc pulvinar, dolor non facilisis semper, libero nisl auctor dolor, vitae dictum justo elit aliquet arcu. Curabitur quis posuere libero. Phasellus auctor purus turpis, non fringilla arcu scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo tempus nisi, nec euismod augue commodo in.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

View file

@ -1,7 +1,7 @@
---
title: 'Post six'
media_order: 'pedro_avataaars.png,pic08.jpg'
primaryImage: pic08.jpg
media_order: 'pedro_avataaars.png,pic01.jpg,pic02.jpg,pic06.jpg'
primaryImage: pic06.jpg
avatarImage: pedro_avataaars.png
taxonomy:
tag:
@ -12,6 +12,10 @@ subtitle: 'Cras ac dolor sit amet mi convallis lacinia non non massa'
show_pageimage: true
image_width: 1038
image_height: 437
publish_date: '13-08-2023 22:27'
feed:
limit: 10
visible: false
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt diam at tortor volutpat placerat. Duis a dolor pharetra neque euismod porttitor. Ut pellentesque neque a odio pretium, eu feugiat lorem efficitur. Nunc pulvinar, dolor non facilisis semper, libero nisl auctor dolor, vitae dictum justo elit aliquet arcu. Curabitur quis posuere libero. Phasellus auctor purus turpis, non fringilla arcu scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo tempus nisi, nec euismod augue commodo in.
@ -20,8 +24,11 @@ Vivamus egestas feugiat pellentesque. Donec eu est bibendum, fermentum mauris et
Sed eleifend ligula nec leo efficitur iaculis. Integer a vulputate dui, sit amet blandit dui. In lacinia congue nisl nec congue. Suspendisse ornare, dui non tincidunt iaculis, justo lorem viverra urna, sed vestibulum enim risus vitae nunc. Proin pretium faucibus libero. Sed vulputate commodo risus, semper varius lectus auctor quis. Aliquam a ex a augue ultricies dignissim. Vivamus est tellus, consequat vitae tempus ac, tempus id leo.
## Owl-carousel sample
! Owl-carousel plugin is required to see the next images
[owl-carousel items=1 margin=10 loop=true autoplay=true autoplayHoverPause=true nav=true]
![](pic01.jpg?cropZoom=1024,400)
![](pic02.jpg?cropZoom=1024,400)
![](pic03.jpg?cropZoom=1024,400)
![](pic06.jpg?cropZoom=1024,400)
[/owl-carousel]

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View file

@ -1,7 +1,7 @@
---
title: 'Post Seven'
media_order: 'pedro_avataaars.png,home.jpg'
primaryImage: home.jpg
media_order: 'pedro_avataaars.png,pic07.jpg'
primaryImage: pic07.jpg
avatarImage: pedro_avataaars.png
taxonomy:
category:
@ -17,6 +17,10 @@ show_pagination: true
show_pageimage: true
image_width: 1038
image_height: 437
date: '10-09-2023 22:27'
feed:
limit: 10
visible: false
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt diam at tortor volutpat placerat. Duis a dolor pharetra neque euismod porttitor. Ut pellentesque neque a odio pretium, eu feugiat lorem efficitur. Nunc pulvinar, dolor non facilisis semper, libero nisl auctor dolor, vitae dictum justo elit aliquet arcu. Curabitur quis posuere libero. Phasellus auctor purus turpis, non fringilla arcu scelerisque in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo tempus nisi, nec euismod augue commodo in.

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

14
_demo/pages/04.portfolio/portfolio.md Executable file → Normal file
View file

@ -9,35 +9,35 @@ content:
dir: desc
pagination: true
url_taxonomy_filters: true
media_order: 'headphones_black_and_white-wallpaper-1920x1080.jpg,deep_sea_monster-wallpaper-1920x1080.jpg,howls_moving_castle-wallpaper-1920x1080.jpg,mushroom_forest-wallpaper-1920x1080.jpg,magic_butterfly-wallpaper-1920x1080.jpg,the_forest_house-wallpaper-1920x1080.jpg,thumb_headphones_black_and_white-wallpaper-1920x1080.jpg,thumb_deep_sea_monster-wallpaper-1920x1080.jpg,thumb_howls_moving_castle-wallpaper-1920x1080.jpg,thumb_magic_butterfly-wallpaper-1920x1080.jpg,thumb_mushroom_forest-wallpaper-1920x1080.jpg,thumb_the_forest_house-wallpaper-1920x1080.jpg'
media_order: 'pic01.jpg,pic02.jpg,pic03.jpg,pic04.jpg,pic05.jpg,pic06.jpg,thumb_pic01.jpg,thumb_pic02.jpg,thumb_pic03.jpg,thumb_pic04.jpg,thumb_pic05.jpg,thumb_pic06.jpg'
images:
-
image: headphones_black_and_white-wallpaper-1920x1080.jpg
image: pic01.jpg
title: 'Title 1'
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae vulputate risus. Aliquam sed mi vel nisi luctus scelerisque a quis est. Morbi ac ligula sit amet risus gravida sollicitudin nec et urna.'
descPosition: top
-
image: the_forest_house-wallpaper-1920x1080.jpg
image: pic02.jpg
title: 'Title 2'
description: 'Aliquam erat volutpat. Phasellus malesuada eu orci quis malesuada. Sed sit amet suscipit ligula, et pellentesque mauris. '
descPosition: bottom
-
image: deep_sea_monster-wallpaper-1920x1080.jpg
image: pic03.jpg
title: 'Title 3'
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae vulputate risus. Aliquam sed mi vel nisi luctus scelerisque a quis est. Morbi ac ligula sit amet risus gravida sollicitudin nec et urna.'
descPosition: left
-
image: howls_moving_castle-wallpaper-1920x1080.jpg
image: pic04.jpg
title: 'Title 4'
description: 'Donec hendrerit leo tincidunt diam pharetra venenatis. Nullam at venenatis ex. Mauris nisi quam, mattis vel sem vitae, ultrices ullamcorper augue'
descPosition: right
-
image: mushroom_forest-wallpaper-1920x1080.jpg
image: pic05.jpg
title: 'Title 5'
description: 'Donec eu orci libero. Integer est arcu, malesuada quis tincidunt vel, cursus et mauris. Vivamus interdum sed lectus eget tempus.'
descPosition: bottom
-
image: magic_butterfly-wallpaper-1920x1080.jpg
image: pic06.jpg
title: 'Title 6'
description: 'Mauris ultrices turpis vel justo mollis, eget lacinia enim efficitur. Cras consectetur neque id purus mattis, quis finibus sapien ornare'
descPosition: bottom

Binary file not shown.

Before

Width:  |  Height:  |  Size: 866 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

View file

@ -0,0 +1,144 @@
---
title: Readme
show_pageimage: true
toc_enabled: true
image_width: 1038
image_height: 437
show_sidebar: true
---
## Future Theme for Grav CMS
Future Imperfect theme by HTML5UP ported from scratch to Grav. Version 2021
Future Imperfect by HTML5UP, features a clean, minimalistic design, styling for all basic page elements and HTML5/CSS3 code designed for quick and easy customization.
### Features
Redesigned from scratch (version 2021)
- HTML5 and CSS3
- Fully Responsive
- Microdata for blogs
- ARIA accessibility conformance
- Various templates for presenting your content
- Full dropdown menu integrated in menu bar and sidebar.
- Styling for all basic page elements
- Styling for various modules
- Cross browser compatible
- Sharing buttons for Facebook, Twitter, Whatsapp and Telegram.
- Top content pages in sidebar
- Fully responsive with full-page mobile navigation
- SCSS based CSS source files for easy customization
- Blueprints for Footer, Slogan and Social icons.
- Full Portfolio template with Glightbox library
- Ready to work with Archives, Breadcrumbs, Editable with Contenttools, Feed, Langswitcher, Maintenance, Reading time, Related pages, Twig extensions, Simplesearch and Taxonomylist.
#### Supported Page Templates
* Default view template `default.md`
* Error view template `error.md`
* Blog view template `blog.md`
* Blog item view template `item.md`
* Portfolio view template
* Form view template `form.md`
* Modular view templates: `modular.md`
- Features Modular view template `features.md`
- Banner Modular view template `banner.md`
- Contact Modular view template `contact.md`
* Owlcarousel template
* Recent posts partial template
* Related posts partial template
## Installation
Installing the Future 2021 theme can be done in one of two ways. Our GPM (Grav Package Manager) installation method enables you to quickly and easily install the theme with a simple terminal command, while the manual method enables you to do so via a zip file.
### GPM Installation (Preferred)
The simplest way to install this theme is via the [Grav Package Manager (GPM)](https://learn.getgrav.org/17/cli-console/grav-cli-gpm) through your system's Terminal (also called the command line). From the root of your Grav install type:
bin/gpm install future2021
This will install the Future2021 theme into your `/user/themes` directory within Grav. Its files can be found under `/your/site/grav/user/themes/future2021`.
### Manual Installation
To install this theme, just download the zip version of this repository and unzip it under `/your/site/grav/user/themes`. Then, rename the folder to `future2021`. You can find these files either on [GitHub](https://github.com/pmoreno-rodriguez/grav-theme-future2021) or via [GetGrav.org](http://getgrav.org/downloads/themes).
You should now have all the theme files under
/your/site/grav/user/themes/future2021
## Default Options
Future2021 comes with a few default options that can be set site-wide. These options are:
```yaml
production-mode: true # In production mode, only minified CSS is used. When disabled, nested CSS are enabled
sidebar: # Enable/Disable sidebar in non-editable pages such as simplesearch results, offline, etc.
favicon: # Choosse your own favicon
custom_logo: # A custom logo rather than the default (see below)
custom_logo_mobile: # A custom logo to use for mobile navigation
slogan: # Custom text for slogan
menu_langswitcher: # Enable/Disable langswitcher icon in menu (langswitcher plugin needed)
menu_search: # Enable/Disable search icon in menu (simplesearch plugin needed)
menu_login: # Enable/Disable login icon in menu
blog-page: '/blog' # The route to the blog listing page, useful for a blog style layout
miniposts: # Enable/Disable miniposts in left sidebar
miniposts_category: # Select category name for miniposts (configured in taxonomies)
miniposts_number: # The number of mini posts will be displayed on the left sidebar
recent_posts_enabled: # Enable/Disable recent posts in left sidebar
recent_posts_number: # The number of recent posts will be displayed on the left sidebar
footer.title: # Footer block title in left sidebar
footer.description: # Footer block description in left sidebar
footer.copyright_text: # Footer block copyright text in left sidebar
footer.button_text: # Footer block button text in left sidebar
footer.button_url: # Footer block button url in left sidebar
enable_social: # Enable/Disable social icons in footer
social_style: # Select the style for Fontawesome icons
custommenus.enabled: # Enable/Disable custom menus in top menu
```
To make modifications, you can copy the `user/themes/future2021/future2021.yaml` file to `user/config/themes/` folder and modify, or you can use the admin plugin.
> NOTE: Do not modify the `user/themes/future2021/future2021.yaml` file directly or your changes will be lost with any updates
## Custom Logos
To add a custom logo, you should put the log into the `user/themes/future2021/images/logo` folder. Standard image formats are support (`.png`,`.jpg`, `.gif`, `.svg`, etc.). Then reference the logo via the YAML like so:
```yaml
custom_logo:
- name: 'my-custom-logo.png'
custom_logo_mobile:
- name: 'my-custom-mobile-logo.png'
```
Alternatively, you can you use the drag-n-drop "Custom Logo" field in the Future2021 theme options.
## Portfolio Options
| Option | Type | Default | Description |
| --- | --- | --- | --- |
| openEffect | string | `zoom` | Name of the effect on lightbox open. (zoom, fade, none) |
| closeEffect | string | `zoom` | Name of the effect on lightbox close. (zoom, fade, none) |
| slideEffect | string | `slide` | Name of the effect on slide change. (slide, fade, zoom, none) |
| moreText | string | `See more` | More text for descriptions on mobile devices. |
| moreLength | number | `60` | Number of characters to display on the description before adding the moreText link (only for mobiles), if 0 it will display the entire description. |
| closeButton | boolean | `true` | Show or hide the close button. |
| touchNavigation | boolean | `true` | Enable or disable the touch navigation (swipe). |
| touchFollowAxis | boolean | `true` | Image follow axis when dragging on mobile. |
| keyboardNavigation | boolean | `true` | Enable or disable the keyboard navigation. |
| closeOnOutsideClick | boolean | `true` | Close the lightbox when clicking outside the active slide. |
| startAt | number | `0` | Start lightbox at defined index. |
| width | number | `900px` | Default width for inline elements and iframes, you can define a specific size on each slide. You can use any unit for example 90% or 100vw for full width |
| height | number | `506px` | Default height for inline elements and iframes, you can define a specific size on each slide.You can use any unit for example 90% or 100vh **For inline elements you can set the height to auto**. |
| descPosition | string | `bottom` | Global position for slides description, you can define a specific position on each slide (bottom, top, left, right). |
| loop | boolean | `false` | Loop slides on end. |
| zoomable | boolean | `true` | Enable or disable zoomable images you can also use data-zoomable="false" on individual nodes. |
| draggable | boolean | `true` | Enable or disable mouse drag to go prev and next slide (only images and inline content), you can also use data-draggable="false" on individual nodes. |
| dragToleranceX | number | `40` | Used with draggable. Number of pixels the user has to drag to go to prev or next slide. |
| dragToleranceY | number | `65` | Used with draggable. Number of pixels the user has to drag up or down to close the lightbox (Set 0 to disable vertical drag). |
| dragAutoSnap | boolean | `false` | If true the slide will automatically change to prev/next or close if dragToleranceX or dragToleranceY is reached, otherwise it will wait till the mouse is released. |
| preload | boolean | `true` | Enable or disable preloading. |
## Demo page
[http://future.juanvillen.es/](http://future.juanvillen.es/)
## Future plans
- Create a Flex Directory for authors and avatars.

View file

Before

Width:  |  Height:  |  Size: 471 KiB

After

Width:  |  Height:  |  Size: 471 KiB