Merge pull request #25 from pikim/develop

Merge changes and fixes into develop
This commit is contained in:
pmoreno.rodriguez 2023-02-05 11:49:16 +01:00 committed by GitHub
commit 0bf933fd9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 1240 additions and 967 deletions

View file

@ -66,19 +66,27 @@
.search-row { .search-row {
display: flex; display: flex;
align-items: top; align-items: top;
} }
.search-image img { .search-image img {
overflow:hidden; overflow:hidden;
width: 100px;
height: 100px;
object-fit: cover; object-fit: cover;
object-position: 0 100%; object-position: 0 100%;
} }
.search-image a {
border-bottom: none;
}
@media only all and (max-width: 47.938em) { @media only all and (max-width: 47.938em) {
.search-image img {display:none;} .search-image img {display:none;}
} }
.search-item { .search-item {
margin-left: 30px; margin-left: 30px;
margin-bottom: 50px; margin-bottom: 50px;
border-bottom: solid 1px rgba(160, 160, 160, 0.3);
padding-bottom: 2em;
}
/* Styles modified from Breadcrumbs */
#breadcrumbs {
padding-inline-start: 0rem;
} }

View file

@ -34,9 +34,12 @@ form:
type: bool type: bool
header_section: header_section:
type: section type: fieldset
title: FUTURE.ADMIN.THEME.HEADER_SECTION collapsible: true
underline: true collapsed: true
icon: header
title: FUTURE.ADMIN.THEME.HEADER
fields:
favicon: favicon:
type: file type: file
@ -74,12 +77,6 @@ form:
label: FUTURE.ADMIN.THEME.SLOGAN label: FUTURE.ADMIN.THEME.SLOGAN
blog_section: blog_section:
type: columns
fields:
blog_fields:
type: column
fields:
blog:
type: fieldset type: fieldset
collapsible: true collapsible: true
collapsed: true collapsed: true
@ -90,10 +87,21 @@ form:
blog_page: blog_page:
type: text type: text
label: FUTURE.ADMIN.THEME.BLOG_PAGE label: FUTURE.ADMIN.THEME.BLOG_PAGE
help: FUTURE.ADMIN.THEME.BLOG_PAGE_DESCRIPTION help: FUTURE.ADMIN.THEME.BLOG_PAGE_HELP
size: medium size: medium
default: '/blog' default: '/blog'
sidebar:
type: toggle
label: FUTURE.ADMIN.THEME.SIDEBAR
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
miniposts: miniposts:
type: toggle type: toggle
label: FUTURE.ADMIN.THEME.MINIPOSTS label: FUTURE.ADMIN.THEME.MINIPOSTS
@ -104,6 +112,7 @@ form:
0: PLUGIN_ADMIN.DISABLED 0: PLUGIN_ADMIN.DISABLED
validate: validate:
type: bool type: bool
miniposts_category: miniposts_category:
type: text type: text
markdown: true markdown: true
@ -122,18 +131,13 @@ form:
max: 5 max: 5
footer_section: footer_section:
type: columns
fields:
footer_fields:
type: column
fields:
footer:
type: fieldset type: fieldset
collapsible: true collapsible: true
collapsed: true collapsed: true
icon: list-alt icon: list-alt
title: FUTURE.ADMIN.THEME.FOOTER title: FUTURE.ADMIN.THEME.FOOTER
fields: fields:
footer.title: footer.title:
type: text type: text
label: FUTURE.ADMIN.THEME.FOOTER_TITLE label: FUTURE.ADMIN.THEME.FOOTER_TITLE
@ -151,13 +155,15 @@ form:
footer.button_url: footer.button_url:
type: text type: text
label: FUTURE.ADMIN.THEME.FOOTER_BUTTON_URL label: FUTURE.ADMIN.THEME.FOOTER_BUTTON_URL
social_icons:
social_icons_section:
type: fieldset type: fieldset
collapsible: true collapsible: true
collapsed: true collapsed: true
icon: share-alt icon: share-alt
title: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICONS title: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICONS
fields: fields:
social: social:
name: social name: social
type: list type: list
@ -174,49 +180,50 @@ form:
.icon: .icon:
type: iconpicker type: iconpicker
label: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICON_ICON label: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICON_ICON
custommenu_options:
custommenu_options_section:
type: fieldset type: fieldset
collapsible: true collapsible: true
collapsed: true collapsed: true
icon: bars icon: bars
title: 'Custom Menu Items' title: FUTURE.ADMIN.THEME.CUSTOM_MENU_TITLE
fields: fields:
displaycustommenus.enabled:
custommenus.enabled:
type: toggle type: toggle
label: 'Display Custom Menu Items' label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ENABLE
help: 'Determines if any defined custom menu entries are displayed in the menubar.' help: FUTURE.ADMIN.THEME.CUSTOM_MENU_ENABLE_HELP
default: 0 default: 0
highlight: 1 highlight: 1
options: options:
'0': No 0: PLUGIN_ADMIN.DISABLED
'1': Yes 1: PLUGIN_ADMIN.ENABLED
validate: validate:
type: bool type: bool
custommenu: custommenu:
name: menu name: menu
type: list type: list
label: 'Custom Menu Items' label: FUTURE.ADMIN.THEME.CUSTOM_MENU_TITLE
fields: fields:
.text: .text:
type: text type: text
label: Text label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TEXT
description: 'Text label for menu item.' description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TEXT_DESCRIPTION
.icon: .icon:
type: text type: text
label: Icon label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_ICON
description: 'Font Awesome icon for menu item.' description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_ICON_DESCRIPTION
.url: .url:
type: text type: text
label: URL label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_URL
description: 'URL for menu item.' description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_URL_DESCRIPTION
.target: .target:
type: select type: select
label: Target label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET
default: _self default: _self
size: medium size: medium
options: options:
_blank: 'Open in a new window' _blank: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_BLANK
_parent: 'Open in the parent frame' _parent: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_PARENT
_top: 'Open in the full body of the window' _self: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_SELF
_self: 'Open in the same frame as clicked' _top: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_TOP

View file

@ -5,7 +5,7 @@ en:
DROPDOWN_MENU: Dropdown menu DROPDOWN_MENU: Dropdown menu
PRODUCTION_MODE: Production Mode PRODUCTION_MODE: Production Mode
PRODUCTION_MODE_HELP: When enabled, Future will render with minified CSS PRODUCTION_MODE_HELP: When enabled, Future will render with minified CSS
HEADER_SECTION: Header Section HEADER: Header
FAVICON: Choose your own favicon FAVICON: Choose your own favicon
CUSTOM_LOGO: Custom Logo CUSTOM_LOGO: Custom Logo
CUSTOM_LOGO_DESCRIPTION: Will be used instead of default logo `theme://images/grav-logo.svg` CUSTOM_LOGO_DESCRIPTION: Will be used instead of default logo `theme://images/grav-logo.svg`
@ -13,8 +13,9 @@ en:
SLOGAN: Slogan SLOGAN: Slogan
BLOG_DEFAULTS: Blog Defaults BLOG_DEFAULTS: Blog Defaults
BLOG_PAGE: Blog Page BLOG_PAGE: Blog Page
BLOG_PAGE_DESCRIPTION: The route to the blog page when working with blog sidebar BLOG_PAGE_HELP: The route to the blog page when working with blog sidebar
MINIPOSTS: Enable Miniposts in Sidebar SIDEBAR: Show sidebar on blog page
MINIPOSTS: Show miniposts in sidebar
MINIPOSTS_NUMBER: Miniposts number to show MINIPOSTS_NUMBER: Miniposts number to show
MINIPOSTS_NUMBER_DESCRIPTION: Number of miniposts that will be showed in sidebar MINIPOSTS_NUMBER_DESCRIPTION: Number of miniposts that will be showed in sidebar
MINIPOSTS_CATEGORY: Miniposts category MINIPOSTS_CATEGORY: Miniposts category
@ -29,6 +30,20 @@ en:
FOOTER_SOCIALS_ICON_NAME: Social Name FOOTER_SOCIALS_ICON_NAME: Social Name
FOOTER_SOCIALS_ICON_URL: URL Link to Social FOOTER_SOCIALS_ICON_URL: URL Link to Social
FOOTER_SOCIALS_ICON_ICON: Icon to Social FOOTER_SOCIALS_ICON_ICON: Icon to Social
CUSTOM_MENU_TITLE: 'Custom Menu Items'
CUSTOM_MENU_ENABLE: 'Display Custom Menu Items'
CUSTOM_MENU_ENABLE_HELP: 'Determines if any defined custom menu entries are displayed in the menubar.'
CUSTOM_MENU_ITEM_TEXT: 'Text'
CUSTOM_MENU_ITEM_TEXT_DESCRIPTION: 'Text label for menu item.'
CUSTOM_MENU_ITEM_ICON: 'Icon'
CUSTOM_MENU_ITEM_ICON_DESCRIPTION: 'Font Awesome icon for menu item.'
CUSTOM_MENU_ITEM_URL: 'URL'
CUSTOM_MENU_ITEM_URL_DESCRIPTION: 'URL for menu item.'
CUSTOM_MENU_ITEM_TARGET: 'Target'
CUSTOM_MENU_ITEM_TARGET_BLANK: 'Open in a new window'
CUSTOM_MENU_ITEM_TARGET_PARENT: 'Open in the parent frame'
CUSTOM_MENU_ITEM_TARGET_SELF: 'Open in the same frame as clicked'
CUSTOM_MENU_ITEM_TARGET_TOP: 'Open in the full body of the window'
DEFAULT: DEFAULT:
PRIMARY_IMAGE: Primary image PRIMARY_IMAGE: Primary image
MODULAR: MODULAR:
@ -52,7 +67,6 @@ en:
FEATURES_BUTTON_URL: Button URL FEATURES_BUTTON_URL: Button URL
FEATURES_BUTTON_URL_TARGET: Open URL in a new window FEATURES_BUTTON_URL_TARGET: Open URL in a new window
BLOG: BLOG:
BLOG_TAB: Blog Config BLOG_TAB: Blog Config
BLOG_CONTENT_TITLE: Content Definition BLOG_CONTENT_TITLE: Content Definition
@ -94,6 +108,9 @@ en:
PORTFOLIO_IMAGE_THUMB: Thumbnails PORTFOLIO_IMAGE_THUMB: Thumbnails
BLOG: BLOG:
LISTING_TITLE_CATEGORY: 'Posts in Category: '
LISTING_TITLE_TAG: 'Posts with Tag: '
LISTING_TITLE_AUTHOR: 'Posts written by Author: '
ITEM: ITEM:
CONTINUE_READING: Continue reading... CONTINUE_READING: Continue reading...
NEXT_POST: Next Post NEXT_POST: Next Post
@ -120,12 +137,159 @@ en:
HEADLINE: Archives HEADLINE: Archives
SYNDICATE: SYNDICATE:
HEADLINE: Syndicate HEADLINE: Syndicate
LOGIN: Log in LOGIN: Log in
LATESTPOSTS: Latest posts LATESTPOSTS: Latest posts
FEATURED: Featured FEATURED: Featured
PRIVACY: By using this form you agree to our PRIVACY: By using this form you agree our terms
FORM_SUMMARY: Here is the summary of what you wrote to us FORM_SUMMARY: Here is the summary of what you wrote to us
de:
FUTURE:
ADMIN:
THEME:
DROPDOWN_MENU: Dropdown-Menü
PRODUCTION_MODE: Produktionsmodus
PRODUCTION_MODE_HELP: Wenn aktiviert, wird Future mit minimiertem CSS geladen
HEADER: Kopfzeile
FAVICON: Wählen Sie Ihr eigenes Favicon
CUSTOM_LOGO: Benutzerdefiniertes Logo
CUSTOM_LOGO_DESCRIPTION: Dieses Logo wird anstelle des Standardlogos `theme://images/grav-logo.svg` verwendet
CUSTOM_LOGO_MOBILE: Benutzerdefiniertes Logo für Mobilgeräte
SLOGAN: Motto
BLOG_DEFAULTS: Blog-Optionen
BLOG_PAGE: Blog-Seite
BLOG_PAGE_HELP: Der Pfad zur Blog-Seite wenn die Blog-Seitenleiste aktiv ist
SIDEBAR: Seitenleiste auf der Blog-Seite zeigen
MINIPOSTS: Miniposts in der Seitenleiste zeigen
MINIPOSTS_NUMBER: Anzahl der anzuzeigenden Miniposts
MINIPOSTS_NUMBER_DESCRIPTION: Anzahl der in der Seitenleiste anzuzeigenden Miniposts
MINIPOSTS_CATEGORY: Kategorie für Miniposts
MINIPOSTS_CATEGORY_DESCRIPTION: Legen Sie einen Namen für die Miniposts-Kategorie fest.<br />`Sie müssen diesen Namen in Optionen->Taxonomie->Kategorie einfügen`
FOOTER: Fusszeile
FOOTER_TITLE: Fusszeilentitel
FOOTER_DESCRIPTION: Fusszeilentext
FOOTER_COPYRIGHT: Copyright-Text
FOOTER_BUTTON_TEXT: Schaltflächentext
FOOTER_BUTTON_URL: Schaltflächen-URL
FOOTER_SOCIALS_ICONS: Symbole für soziale Medien
FOOTER_SOCIALS_ICON_NAME: Name des sozialen Netzwerks
FOOTER_SOCIALS_ICON_URL: URL-Link zum sozialen Netzwerk
FOOTER_SOCIALS_ICON_ICON: Symbol des sozialen Netzwerks
CUSTOM_MENU_TITLE: 'Benutzerdefinierte Menüpunkte'
CUSTOM_MENU_ENABLE: 'Benutzerdefinierte Menüpunkte aktivieren'
CUSTOM_MENU_ENABLE_HELP: 'Legt fest, ob definierte benutzerdefinierte Menüeinträge in der Menüleiste angezeigt werden.'
CUSTOM_MENU_ITEM_TEXT: 'Text'
CUSTOM_MENU_ITEM_TEXT_DESCRIPTION: 'Textbeschriftung für Menüpunkt.'
CUSTOM_MENU_ITEM_ICON: 'Symbol'
CUSTOM_MENU_ITEM_ICON_DESCRIPTION: 'FontAwesome-Symbol für Menüelement.'
CUSTOM_MENU_ITEM_URL: 'URL'
CUSTOM_MENU_ITEM_URL_DESCRIPTION: 'URL für Menüpunkt.'
CUSTOM_MENU_ITEM_TARGET: 'Ziel'
CUSTOM_MENU_ITEM_TARGET_BLANK: 'In neuem Fenster öffnen'
CUSTOM_MENU_ITEM_TARGET_PARENT: 'In übergeordnetem Frame öffnen'
CUSTOM_MENU_ITEM_TARGET_SELF: 'In selbem Frame öffnen'
CUSTOM_MENU_ITEM_TARGET_TOP: 'In vollem Fensterkörper öffnen'
DEFAULT:
PRIMARY_IMAGE: Hauptbild
MODULAR:
BANNER:
BANNER_TAB: Banner
BANNER_SUBTITLE: Bildbeschriftung
BANNER_BUTTON_TEXT: Schaltflächentext
BANNER_BUTTON_URL: Schaltflächen-URL
BANNER_IMAGE: Bild
BANNER_IMAGE_DESCRIPTION: Wählen Sie ein Bild aus
FEATURES:
FEATURES_TAB: Funktionen
FEATURES_LAYOUT: Layout
FEATURES_LAYOUT_TWOCOLS: Mittel = 2 / 1 Spalten
FEATURES_LAYOUT_THREECOLS: Standard = 3 / 2 / 1 Spalten
FEATURES_HEADER: Funktionen
FEATURES_IMAGE: Bild
FEATURES_TITLE: Titel
FEATURES_TEXT: Text
FEATURES_BUTTON_TEXT: Schaltflächentext
FEATURES_BUTTON_URL: Schaltflächen-URL
FEATURES_BUTTON_URL_TARGET: Öffnen Sie die URL in einem neuen Fenster
BLOG:
BLOG_TAB: Blog-Einstellungen
BLOG_CONTENT_TITLE: Content Definition
BLOG_CONTENT_ITEMS: Artikel
BLOG_CONTENT_ITEMS_LIMIT: Maximale Artikel-Anzahl
BLOG_CONTENT_ITEMS_ORDER_BY: Sortieren nach
BLOG_CONTENT_ITEMS_ORDER_BY_DATE: Datum
BLOG_CONTENT_ITEMS_ORDER_BY_TITLE: Titel
BLOG_CONTENT_ITEMS_ORDER_BY_FOLDER: Verzeichnis
BLOG_CONTENT_ITEMS_ORDER_BY_DEFAULT: Standard
BLOG_CONTENT_ITEMS_ORDER_DIR: Reihenfolge
BLOG_CONTENT_ITEMS_ORDER_DIR_ASC: Aufsteigend
BLOG_CONTENT_ITEMS_ORDER_DIR_DESC: Absteigend
BLOG_CONTENT_ITEMS_PAGINATION: Seitennummerierung
BLOG_CONTENT_ITEMS_URL_TAXONOMY_FILTERS: Taxonomie filtern nach URL
ITEM:
ITEM_TAB: Blog-Artikel
ITEM_OPTIONS: Optionen
ITEM_SUMMARY: Artikelzusammenfassung
ITEM_SUMMARY_ENABLED: Zusammenfassung aktivieren
ITEM_SUMMARY_FORMAT: Zusammenfassungsformat
ITEM_SUMMARY_FORMAT_SHORT: Verwenden Sie das erste Vorkommen des Trennzeichens oder der Größe
ITEM_SUMMARY_FORMAT_LONG: Zusammenfassungsbegrenzer wird ignoriert
ITEM_SUMMARY_SIZE: Größe
ITEM_SUMMARY_DELIMITER: Zusammenfassungsbegrenzer
ITEM_ORDER: Minipost-Reihenfolge
ITEM_SUBTITLE: Untertitel
ITEM_AVATAR: Avatar-Bild
PORTFOLIO:
PORTFOLIO_TAB: Portfolio
PORTFOLIO_TITLE: Portfolio-Bild
PORTFOLIO_LAYOUT: Layout
PORTFOLIO_LAYOUT_TWOCOLS: Mittel = 2 / 1 Spalten
PORTOFOLIO_LAYOUT_THREECOLS: Standard = 3 / 2 / 1 Spalten
PORTFOLIO_IMAGES: Bilder
PORTFOLIO_IMAGE: Bild
PORTFOLIO_IMAGE_TITLE: Titel
PORTFOLIO_IMAGE_DESCRIPTION: Beschreibung
PORTFOLIO_IMAGE_THUMB: Miniaturansicht
BLOG:
LISTING_TITLE_CATEGORY: 'Beiträge in der Kategorie: '
LISTING_TITLE_TAG: 'Beiträge mit Tag: '
LISTING_TITLE_AUTHOR: 'Beiträge des Autors: '
ITEM:
CONTINUE_READING: Weiterlesen...
NEXT_POST: Nächster Eintrag
PREV_POST: Vorheriger Eintrag
PAGINATION:
PREVIOUS: Vorherige
NEXT: Nächste
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Suche
RELATED_POSTS:
HEADLINE: Verwandte Einträge
RANDOM_ARTICLE:
HEADLINE: Zufälliger Artikel
FEELING_LUCKY: Ich habe Glück!
SOME_TEXT_WIDGET:
HEADLINE: Ein Text-Widget
TAGS:
HEADLINE: Schlagworte
POPULAR_TAGS:
HEADLINE: beliebte Schlagworte
ARCHIVES:
HEADLINE: Letzte Einträge
SYNDICATE:
HEADLINE: Verteilen
LOGIN: Einloggen
LATESTPOSTS: Letzte Beiträge
FEATURED: Hervorgehoben
PRIVACY: Durch die Nutzung dieses Formulars stimmen Sie unseren Bedingungen zu
FORM_SUMMARY: Hier ist die Zusammenfassung dessen, was Sie uns geschrieben haben
es: es:
FUTURE: FUTURE:
ADMIN: ADMIN:
@ -133,7 +297,7 @@ es:
DROPDOWN_MENU: Menu Desplegable DROPDOWN_MENU: Menu Desplegable
PRODUCTION_MODE: Modo Producción PRODUCTION_MODE: Modo Producción
PRODUCTION_MODE_HELP: Si está activado, Future cargará con CSS minificado PRODUCTION_MODE_HELP: Si está activado, Future cargará con CSS minificado
HEADER_SECTION: Sección de encabezado HEADER: Sección de encabezado
FAVICON: Elige tu propio favicon FAVICON: Elige tu propio favicon
CUSTOM_LOGO: Logo personalizado CUSTOM_LOGO: Logo personalizado
CUSTOM_LOGO_DESCRIPTION: Este logo se usará en lugar del log por defecto `theme://images/grav-logo.svg` CUSTOM_LOGO_DESCRIPTION: Este logo se usará en lugar del log por defecto `theme://images/grav-logo.svg`
@ -141,7 +305,7 @@ es:
SLOGAN: Slogan SLOGAN: Slogan
BLOG_DEFAULTS: Opciones de Blog BLOG_DEFAULTS: Opciones de Blog
BLOG_PAGE: Página de Blog BLOG_PAGE: Página de Blog
BLOG_PAGE_DESCRIPTION: Ruta de la página de Blog cuando funciona con el blog de barra lateral BLOG_PAGE_HELP: Ruta de la página de Blog cuando funciona con el blog de barra lateral
MINIPOSTS: Activar Miniposts en la barra lateral MINIPOSTS: Activar Miniposts en la barra lateral
MINIPOSTS_NUMBER: Número de miniposts a mostrar MINIPOSTS_NUMBER: Número de miniposts a mostrar
MINIPOSTS_NUMBER_DESCRIPTION: Número de miniposts que se mostrarán en la barra lateral MINIPOSTS_NUMBER_DESCRIPTION: Número de miniposts que se mostrarán en la barra lateral
@ -220,8 +384,10 @@ es:
PORTFOLIO_IMAGE_DESCRIPTION: Descripción PORTFOLIO_IMAGE_DESCRIPTION: Descripción
PORTFOLIO_IMAGE_THUMB: Miniatura PORTFOLIO_IMAGE_THUMB: Miniatura
BLOG: BLOG:
LISTING_TITLE_CATEGORY: 'Publicaciones en la categoría: '
LISTING_TITLE_TAG: 'Publicaciones con la etiqueta: '
LISTING_TITLE_AUTHOR: 'Publicaciones escritas por: '
ITEM: ITEM:
CONTINUE_READING: Continuar leyendo... CONTINUE_READING: Continuar leyendo...
NEXT_POST: Siguiente Entrada NEXT_POST: Siguiente Entrada
@ -229,6 +395,7 @@ es:
PAGINATION: PAGINATION:
PREVIOUS: Anterior PREVIOUS: Anterior
NEXT: Siguiente NEXT: Siguiente
SIDEBAR: SIDEBAR:
SIMPLE_SEARCH: SIMPLE_SEARCH:
HEADLINE: Buscar HEADLINE: Buscar
@ -247,9 +414,9 @@ es:
HEADLINE: Últimas entradas HEADLINE: Últimas entradas
SYNDICATE: SYNDICATE:
HEADLINE: Distribuir HEADLINE: Distribuir
LOGIN: Iniciar sesión LOGIN: Iniciar sesión
LATESTPOSTS: Últimos posts LATESTPOSTS: Últimos posts
FEATURED: Destacados FEATURED: Destacados
PRIVACY: Al usar este formulario estás de acuerdo con nuestra PRIVACY: Al usar este formulario estás de acuerdo con nuestra
FORM_SUMMARY: Aquí está el resumen de lo que nos escribió. FORM_SUMMARY: Aquí está el resumen de lo que nos escribió

View file

@ -1,4 +1,4 @@
{% embed 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %} {% set collection = page.collection() %}
{% set base_url = page.url %} {% set base_url = page.url %}
@ -13,15 +13,18 @@
{% else %} {% else %}
{% set show_pagination = true %} {% set show_pagination = true %}
{% endif %} {% endif %}
{% set image = page.media[page.header.primaryImage] ?: page.media.images|first %}
{% set title = page.title|raw %}
{# Set page title by taxonomy #}
{% if uri.param('category') %} {% if uri.param('category') %}
{% set page_title = theme_config.listing_title.taxonomy.category | default('Posts in Category: ') ~ uri.param('category') %} {% set listing_title = 'FUTURE.BLOG.LISTING_TITLE_CATEGORY'|t ~ uri.param('category') %}
{% elseif uri.param('tag') %} {% elseif uri.param('tag') %}
{% set page_title = theme_config.listing_title.taxonomy.tag | default('Posts with Tag: ') ~ uri.param('tag') %} {% set listing_title = 'FUTURE.BLOG.LISTING_TITLE_TAG'|t ~ uri.param('tag') %}
{% elseif uri.param('author') %} {% elseif uri.param('author') %}
{% set page_title = theme_config.listing_title.taxonomy.author | default('Posts from Author: ') ~ uri.param('author') %} {% set listing_title = 'FUTURE.BLOG.LISTING_TITLE_AUTHOR'|t ~ uri.param('author') %}
{% else %} {% else %}
{% set page_title = theme_config.listing_title.blog | default('') %} {% set listing_title = page.header.subtitle|raw %}
{% endif %} {% endif %}
{% if base_url == '/' %} {% if base_url == '/' %}
@ -37,14 +40,26 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<header>
<div class="title">
<h2>{{ title }}</h2>
{% if listing_title %}
<p>{{ listing_title|raw }}</p>
{% endif %}
</div>
</header>
{% if image %}
{{ image.cropZoom(1038,437).loading('lazy').html(title, title, 'image featured')|raw }}
{% endif %}
{{ page.content|raw }}
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %} {% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %} {% include 'partials/breadcrumbs.html.twig' %}
{% endif %} {% endif %}
<h2>
{{page_title}}
</h2>
{% for child in collection %} {% for child in collection %}
{% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %} {% include 'partials/blog_item.html.twig' with {'page':child, 'truncate':true} %}
{% endfor %} {% endfor %}
@ -52,10 +67,16 @@
{% if show_pagination and config.plugins.pagination.enabled and collection.params.pagination %} {% if show_pagination and config.plugins.pagination.enabled and collection.params.pagination %}
{% include 'partials/pagination.html.twig' with {base_url: page.url, pagination: collection.params.pagination} %} {% include 'partials/pagination.html.twig' with {base_url: page.url, pagination: collection.params.pagination} %}
{% endif %} {% endif %}
{% if theme_config.sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
</section>
{% endif %}
{% endblock %} {% endblock %}
{% block sidebar %} {% block sidebar %}
{% if theme_config.sidebar == true %}
{% include 'partials/sidebar_left.html.twig' %} {% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %} {% endblock %}
{% endembed %}

View file

@ -1,5 +1,9 @@
{% extends 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% set image = page.media[page.header.primaryImage] ?: page.media.images|first %}
{% set title = page.title|raw %}
{% set subtitle = page.header.subtitle|raw %}
{% block menu %} {% block menu %}
{% include 'partials/sidebar_right.html.twig' %} {% include 'partials/sidebar_right.html.twig' %}
{% endblock %} {% endblock %}
@ -8,27 +12,22 @@
<article class="post"> <article class="post">
<header> <header>
<div class="title"> <div class="title">
<h2>{{ page.header.title }}</h2> <h2>{{ title }}</h2>
{% if page.header.subtitle %} {% if subtitle %}
<p>{{ page.header.subtitle }}</p> <p>{{ subtitle }}</p>
{% endif %} {% endif %}
</div> </div>
</header> </header>
{% if page.header.primaryImage %}
{{ page.media[page.header.primaryImage].cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }} {% if image %}
{% else %} {{ image.cropZoom(1038,437).loading('lazy').html(title, title, 'image featured')|raw }}
{{ page.media.images|first.cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }}
{% endif %} {% endif %}
{{ page.content|raw }} {{ page.content|raw }}
</article> </article>
<section id="footer" class="align-center"> <section id="footer" class="align-center">
{% block footer %}
{% include 'partials/footer.html.twig' %} {% include 'partials/footer.html.twig' %}
{% endblock %}
</section> </section>
{% endblock %} {% endblock %}

View file

@ -5,8 +5,7 @@
<div class="title"> <div class="title">
<h2>{{ page.header.title }}</h2> <h2>{{ page.header.title }}</h2>
</div> </div>
<div class="meta"> <div class="meta"></div>
</div>
</header> </header>
{{ content|raw }} {{ content|raw }}
{% include "forms/form.html.twig" %} {% include "forms/form.html.twig" %}

View file

@ -1,11 +1,16 @@
{% extends 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% block content %} {% block content %}
<article class="post"> <article class="post">
<header>
<div class="title"> <div class="title">
<h2>{{ form.message }}</h2> <h2>{{ form.message }}</h2>
</div> </div>
<div class="meta"> <div class="meta">
{% if config.plugins["translate-date"].enabled %}
<time class="published" datetime="{{ form.date|td(null, "Y-m-d") }}">{{ form.date|td(null, "M j, Y") }}</time>
{% else %}
<time class="published" datetime="{{ form.date|date("Y-m-d") }}">{{ form.date|date("M j, Y") }}</time> <time class="published" datetime="{{ form.date|date("Y-m-d") }}">{{ form.date|date("M j, Y") }}</time>
{% endif %}
</div> </div>
</header> </header>
<p>{{'FUTURE.FORM_SUMMARY'|t}}</p> <p>{{'FUTURE.FORM_SUMMARY'|t}}</p>

View file

@ -5,13 +5,11 @@
{% set input = attribute(field, "input@") %} {% set input = attribute(field, "input@") %}
{% if input is null or input == true %} {% if input is null or input == true %}
{% if form.value(scope ~ field.name) %} {% if form.value(scope ~ field.name) %}
{% block field %} {% block field %}
<div> <div>
{% block field_name %} {% block field_name %}
<strong>{{ field.name|t|e }}</strong>: <strong>{{ field.name|t|e }}</strong>:
{% endblock %} {% endblock %}
{% block field_value %} {% block field_value %}
@ -48,4 +46,3 @@
{% import _self as macro %} {% import _self as macro %}
{{ macro.render_field(form, form.fields, '') }} {{ macro.render_field(form, form.fields, '') }}

View file

@ -35,5 +35,4 @@
{{ field.validate.required in ['on', 'true', 1] ? '<span class="required">*</span>' }} {{ field.validate.required in ['on', 'true', 1] ? '<span class="required">*</span>' }}
</label> </label>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -1,4 +1,5 @@
{% embed 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% set base_url = page.parent.url %} {% set base_url = page.parent.url %}
{% set feed_url = base_url %} {% set feed_url = base_url %}
{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog]) %} {% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog]) %}
@ -16,7 +17,6 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %} {% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %} {% include 'partials/breadcrumbs.html.twig' %}
{% endif %} {% endif %}
@ -27,5 +27,3 @@
{% include 'partials/footer.html.twig' %} {% include 'partials/footer.html.twig' %}
</section> </section>
{% endblock %} {% endblock %}
{% endembed %}

View file

@ -5,8 +5,13 @@
{% if p.children.visible.count > 0 %} {% if p.children.visible.count > 0 %}
<li class="{{ current_page }}"> <li class="{{ current_page }}">
<a> <a>
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %} {% if p.header.icon %}
<span>{{ p.menu }}{% if p.routable ?? false %}&nbsp;<i class="fa fa-angle-down"></i>{% endif %}</span> <i class="fa fa-{{ p.header.icon }}"></i>
{% endif %}
<span>{{ p.menu }}
{% if p.routable ?? false %}&nbsp;<i class="fa fa-angle-down"></i>
{% endif %}
</span>
</a> </a>
<ul> <ul>
{{ macros.nav_loop(p) }} {{ macros.nav_loop(p) }}
@ -15,7 +20,9 @@
{% else %} {% else %}
<li class="{{ current_page }}"> <li class="{{ current_page }}">
<a href="{{ p.url }}"> <a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %} {% if p.header.icon %}
<i class="fa fa-{{ p.header.icon }}"></i>
{% endif %}
<span>{{ p.menu }}</span> <span>{{ p.menu }}</span>
</a> </a>
</li> </li>

View file

@ -1,7 +1,15 @@
{% extends 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %} {% set image = page.media[page.header.primaryImage] ?: page.media.images|first %}
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %} {% set title = page.title|raw %}
{% set subtitle = page.header.subtitle|raw %}
{# Commented code for future improvements in modular menu #}
{# {% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
{% macro pageLinkName(text) %}
{{ text|lower|replace({' ':'_'}) }}
{% endmacro %} #}
{% block menu %} {% block menu %}
{% include 'partials/sidebar_right.html.twig' %} {% include 'partials/sidebar_right.html.twig' %}
@ -11,16 +19,19 @@
<article class="post"> <article class="post">
<header> <header>
<div class="title"> <div class="title">
<h2>{{ page.header.title }}</h2> <h2>{{ title }}</h2>
{% if subtitle %}
<p>{{ subtitle }}</p>
{% endif %}
</div> </div>
</header> </header>
{% if page.header.primaryImage %} {% if image %}
{{ page.media[page.header.primaryImage].cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }} {{ image.cropZoom(1038,437).loading('lazy').html(title, title, 'image featured')|raw }}
{% else %}
{{ page.media.images|first.cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }}
{% endif %} {% endif %}
{{ page.content|raw}} {{ page.content|raw}}
{% for module in page.collection() %} {% for module in page.collection() %}
{{ module.content|raw }} {{ module.content|raw }}
{% endfor %} {% endfor %}
@ -28,7 +39,7 @@
{% endblock %} {% endblock %}
{% block sidebar %} {% block sidebar %}
{% if theme_config.sidebar == true %}
{% include 'partials/sidebar_left.html.twig' %} {% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %} {% endblock %}

View file

@ -1,9 +1,13 @@
{% set image = page.media[page.header.image] ?: page.media.images|first %}
{% set title = page.title|raw %}
{% set subtitle = page.header.subtitle|raw %}
<section id="banner"> <section id="banner">
<div class="content"> <div class="content">
<header> <header>
<h2>{{ page.title}}</h2> <h2>{{ title}}</h2>
{% if page.header.subtitle %} {% if subtitle %}
<p>{{ page.header.subtitle }}</p> <p>{{ subtitle }}</p>
{% endif %} {% endif %}
</header> </header>
@ -13,13 +17,9 @@
<li><a href="{{page.header.buttonurl}}" class="button">{{page.header.buttontext}}</a></li> <li><a href="{{page.header.buttonurl}}" class="button">{{page.header.buttontext}}</a></li>
</ul> </ul>
</div> </div>
{% if page.header.image %} {% if image %}
<span class="image object fit"> <span class="image object fit">
{{page.media[page.header.image].loading('lazy').html('',page.title)|raw}} {{image.loading('lazy').html(title,title)|raw}}
</span>
{% else %}
<span class="image object fit">
{{page.media[page.header.primaryImage].loading('lazy').html('',page.title)|raw}}
</span> </span>
{% endif %} {% endif %}
</section> </section>

View file

@ -1,30 +1,45 @@
{% set image = page.media[page.header.primaryImage] ?: page.media.images|first %}
{% set title = page.title|raw %}
{% set subtitle = page.header.subtitle|raw %}
{% set columns = page.header.layout == 'standard' ? 'col-4 col-6-medium col-12-small' : 'col-6 col-12-small' %} {% set columns = page.header.layout == 'standard' ? 'col-4 col-6-medium col-12-small' : 'col-6 col-12-small' %}
<section id="features"> <section id="features">
<header> <header>
<h2>{{ page.title }}</h2> <h2>{{ title }}</h2>
{% if page.header.subtitle %} {% if subtitle %}
<p>{{ page.header.subtitle }}</p> <p>{{ subtitle }}</p>
{% endif %} {% endif %}
</header> </header>
{{ content|raw }}
{% if image %}
{{ image.cropZoom(1038,437).loading('lazy').html(title, title, 'image featured')|raw }}
{% endif %}
{{ page.content|raw }}
<div class="row gtr-uniform"> <div class="row gtr-uniform">
{% for feature in page.header.features %} {% for feature in page.header.features %}
<div class="{{columns}}"> <div class="{{columns}}">
<article class="box"> <article class="box">
{% if feature.image %}<span class="image fit"><img src="{{page.media[feature.image].url}}" alt="{{feature.title}}" /></span>{% endif %} {% if feature.image %}
<span class="image fit"><img src="{{page.media[feature.image].url}}" alt="{{feature.title}}"/></span>
{% endif %}
<header> <header>
{% if feature.title %}<h3>{{feature.title}}</h3>{% endif %} {% if feature.title %}
{% if feature.text %}<p>{{feature.text|raw}}</p>{% endif %} <h3>{{feature.title}}</h3>
{% if feature.buttonurl %}<p><a href="{{feature.buttonurl}}" class="button fit" target={% if feature.buttonurl_target %}"_blank"{% endif%}>{{feature.buttontext}}</a></p>{% endif %} {% endif %}
{% if feature.text %}
<p>{{feature.text|raw}}</p>
{% endif %}
{% if feature.buttonurl %}
<p>
<a href="{{feature.buttonurl}}" class="button fit" target={% if feature.buttonurl_target %} "_blank" {% endif%}>{{feature.buttontext}}</a>
</p>
{% endif %}
</header> </header>
</article> </article>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
</section> </section>
<br> <br>

View file

@ -1,20 +1,22 @@
<section> <section>
<ul class="posts"> <ul class="posts">
{% for p in page.find(theme_config.blog_page).children.order('date', 'desc').slice(0, 5) %} {% for p in page.find(theme_config.blog_page).children.order('date', 'desc').slice(0, 5) %}
{% set image = p.media[p.header.primaryImage] ?: p.media.images|first %}
{% if p.header.primaryImage %} {% set title = p.title|raw %}
{% set bannerimage = p.media[p.header.primaryImage]%}
{% else %}
{% set bannerimage = p.media.images|first %}
{% endif %}
<li> <li>
<article> <article>
<header> <header>
<h3><a href="{{p.url}}">{{ p.title }}</a></h3> <h3>
<a href="{{p.url}}">{{ title }}</a>
</h3>
{% if config.plugins["translate-date"].enabled %}
<time class="published" datetime="{{ p.date|td(null, "Y-m-d") }}">{{ p.date|td(null, "M j, Y") }}</time>
{% else %}
<time class="published" datetime="{{ p.date|date("Y-m-d") }}">{{ p.date|date("M j, Y") }}</time> <time class="published" datetime="{{ p.date|date("Y-m-d") }}">{{ p.date|date("M j, Y") }}</time>
{% endif %}
</header> </header>
<a href="{{p.url}}" class="image"> <a href="{{p.url}}" class="image">
{{ bannerimage.cropZoom(64,64).quality(60).loading('lazy').html('',p.title)|raw }} {{ image.cropZoom(64,64).quality(60).loading('lazy').html(title,title)|raw }}
</a> </a>
</article> </article>
</li> </li>

View file

@ -19,7 +19,8 @@
{% block stylesheets %} {% block stylesheets %}
{% do assets.addCss('theme://assets/css/main'~compress) %} {% do assets.addCss('theme://assets/css/main'~compress) %}
{% do assets.addCss('theme://assets/css/fontawesome-all.min.css') %} {% do assets.addCss('theme://assets/css/fontawesome-all.min.css') %}
{% do assets.addCss('theme://assets/css/custom.css', 10) %} {% do assets.addCss('theme://assets/css/misc.css') %}
{% do assets.addCss('theme://assets/css/custom.css', 5) %}
{% if page.template() == 'portfolio' %} {% if page.template() == 'portfolio' %}
{% do assets.addCss('theme://assets/css/glightbox.min.css') %} {% do assets.addCss('theme://assets/css/glightbox.min.css') %}
{% endif %} {% endif %}
@ -40,7 +41,8 @@
{{ assets.js()|raw }} {{ assets.js()|raw }}
</head> </head>
<body class="is-preload"> <body
class="is-preload">
<!-- Wrapper --> <!-- Wrapper -->
<div id="wrapper"> <div id="wrapper">
@ -61,7 +63,9 @@
{% endblock %} {% endblock %}
<a id="back-to-top" href="#"><i class="fa fa-chevron-up"></i></a> <a id="back-to-top" href="#">
<i class="fa fa-chevron-up"></i>
</a>
{% block bottom %} {% block bottom %}
{{ assets.js('bottom')|raw }} {{ assets.js('bottom')|raw }}

View file

@ -20,29 +20,37 @@
<a href="{{ page.header.link }}">{{ page.title }}</a> <a href="{{ page.header.link }}">{{ page.title }}</a>
</h2> </h2>
{% else %} {% else %}
<h2 itemprop="headline"><a href="{{ page.url }}">{{ page.title }}</a></h2> <h2 itemprop="headline">
<a href="{{ page.url }}">{{ page.title }}</a>
</h2>
{% endif %} {% endif %}
{% if page.header.subtitle %} {% if page.header.subtitle %}
<p itemprop="alternativeHeadline">{{ page.header.subtitle|raw }}</p> <p itemprop="alternativeHeadline">{{ page.header.subtitle|raw }}</p>
{% endif %} {% endif %}
</div> </div>
<div class="meta"> <div class="meta">
{% if config.plugins["translate-date"].enabled %}
<time class="published" itemprop="datePublished" datetime="{{ page.date|td(null, "Y-m-d") }}">{{ page.date|td(null, "M j, Y") }}</time>
{% else %}
<time class="published" itemprop="datePublished" datetime="{{ page.date|date("Y-m-d") }}">{{ page.date|date("M j, Y") }}</time> <time class="published" itemprop="datePublished" datetime="{{ page.date|date("Y-m-d") }}">{{ page.date|date("M j, Y") }}</time>
{% endif %}
{% if author %} {% if author %}
<span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="author" itemscope itemtype="http://schema.org/Person"/>
<a {% if page.taxonomy.author %} href="{{ base_url }}/author{{ config.system.param_sep }}{{ author }}" itemprop="url" {% endif %} class="author"><span class="name" rel="author">{{ author }}</span>{% if avatar %}<img src="{{ avatar }}" alt="{{ author }}" />{% endif %}</a> <a {% if page.taxonomy.author %}href="{{ base_url }}/author{{ config.system.param_sep }}{{ author }}" itemprop="url" {% endif %}class="author">
<span class="name" rel="author">{{ author }}</span>
{% if avatar %}<img src="{{ avatar }}" alt="{{ author }}" />{% endif %}
</a>
{% endif %} {% endif %}
</div> </div>
</header> </header>
{% if page.header.primaryImage %} {% if page.header.primaryImage %}
<a href="{{ page.url }}">{{ page.media[page.header.primaryImage].cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }}</a> <a href="{{ page.url }}">{{ page.media[page.header.primaryImage].cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }}</a>
{% else %} {% elseif page.media.images %}
<a href="{{ page.url }}">{{ page.media.images|first.cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }}</a> <a href="{{ page.url }}">{{ page.media.images|first.cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }}</a>
{% endif %} {% endif %}
<div itemprop="articleBody"> <div itemprop="articleBody">
{% if page.header.continue_link is sameas(false) %} {% if page.header.continue_link is sameas(false) %}
{{ page.content|raw }} {{ page.content|raw }}
{% if not truncate %} {% if not truncate %}
@ -56,7 +64,6 @@
{{ page.content|raw }} {{ page.content|raw }}
{% set show_prev_next = true %} {% set show_prev_next = true %}
{% endif %} {% endif %}
</div> </div>
<footer> <footer>
@ -69,25 +76,30 @@
{% if show_prev_next %} {% if show_prev_next %}
{% if not page.isLast %} {% if not page.isLast %}
<li><a class="button" href="{{ page.prevSibling.url }}"><i class="fa fa-chevron-left"></i> {{'FUTURE.BLOG.ITEM.PREV_POST'|t}}</a></li> <li>
<a class="button" href="{{ page.prevSibling.url }}">
<i class="fa fa-chevron-left"></i>
{{'FUTURE.BLOG.ITEM.PREV_POST'|t}}</a>
</li>
{% endif %} {% endif %}
{% if not page.isFirst %} {% if not page.isFirst %}
<li><a class="button" href="{{ page.nextSibling.url }}">{{'FUTURE.BLOG.ITEM.NEXT_POST'|t}} <i class="fa fa-chevron-right"></i></a></li> <li>
<a class="button" href="{{ page.nextSibling.url }}">{{'FUTURE.BLOG.ITEM.NEXT_POST'|t}}
<i class="fa fa-chevron-right"></i>
</a>
</li>
{% endif %} {% endif %}
{% endif %} {% endif %}
</ul> </ul>
<ul class="stats"> <ul class="stats">
{% if page.taxonomy.tag %} {% if page.taxonomy.tag %}
{% for tag in page.taxonomy.tag %} {% for tag in page.taxonomy.tag %}
<li><a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ tag }}" itemprop="keywords">{{ tag }}</a></li> <li><a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ tag }}" itemprop="keywords">{{ tag }}</a></li>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<li><a href="https://twitter.com/share" data-url="{{ page.url(true) }}" data-text="{{ page.title }}" class="icon brands fa-twitter"> <li><a href="https://twitter.com/share" data-url="{{ page.url(true) }}" data-text="{{ page.title }}" class="icon brands fa-twitter"></a></li>
</a></li> <li><a href="http://www.facebook.com/sharer.php?u={{ page.url(true) }}" class="icon brands fa-facebook"></a></li>
<li><a href="http://www.facebook.com/sharer.php?u={{ page.url(true) }}" class="icon brands fa-facebook">
</a></li>
</ul> </ul>
</footer> </footer>
</article> </article>

View file

@ -1,4 +1,4 @@
<ul class="icons"> <ul class="icons">
{% include 'partials/social.html.twig' %} {% include 'partials/social.html.twig' %}
</ul> </ul>
<p class="copyright">&copy; {{ "now"|date("Y") }} {{ site.author.name }}. {{config.theme.footer.copyright_text|raw}}</a>.</p> <p class="copyright">&copy; {{ "now"|date("Y") }} {{ site.author.name }}. {{config.theme.footer.copyright_text|raw}}.</p>

View file

@ -1,5 +1,7 @@
<header id="header"> <header id="header">
<h1 class="logo"><a href="{{ home_url }}">{{ site.title }}</a></h1> <h1 class="logo">
<a href="{{ home_url }}">{{ site.title }}</a>
</h1>
<nav class="dropdown"> <nav class="dropdown">
{% block header_navigation %} {% block header_navigation %}
{% include 'partials/navigation.html.twig' %} {% include 'partials/navigation.html.twig' %}

View file

@ -1,4 +1,4 @@
{% set logo = theme_var(mobile ? 'custom_logo_mobile' : 'custom_logo') %} {% set logo = theme_var('custom_logo_mobile') ?: theme_var('custom_logo') %}
<a href="{{ home_url }}" class="logo"> <a href="{{ home_url }}" class="logo">
{% if logo %} {% if logo %}
{% set logo_file = (logo|first).name %} {% set logo_file = (logo|first).name %}

View file

@ -1,31 +1,38 @@
{% set miniposts_category = theme_var('miniposts_category') %} {% set miniposts_category = theme_var('miniposts_category') %}
{% set miniposts_number = config.theme.miniposts_number %} {% set miniposts_number = config.theme.miniposts_number %}
{% set lang = grav.language.getActive ?: grav.config.site.default_lang %}
<section> <section>
<header class=""> <header class="">
<h3>{{ 'FUTURE.FEATURED'|t }}</h3> <h3>{{ 'FUTURE.FEATURED'|t }}</h3>
</header> </header>
<div class="mini-posts"> <div class="mini-posts">
{% for p in page.evaluate({'@taxonomy.category':miniposts_category}).order('header.order', 'asc').slice(0,miniposts_number) %} {% for p in page.evaluate({'@taxonomy.category':miniposts_category}).order('header.order', 'asc').slice(0,miniposts_number) %}
{% set image = p.media[p.header.primaryImage] ?: p.media.images|first %}
{% set title = p.title|raw %}
<article class="mini-post"> <article class="mini-post">
<header> <header>
<h3><a href="{{ p.url }}">{{ p.title }}</a></h3> <h3>
<time class="published" datetime="{{p.date|date("Y-m-d")}}">{{ p.date|date("M j, Y")}}</time> <a href="{{ p.url }}">{{ p.title }}</a>
<a href="{{ p.url }}" class="author"><img src="{{ p.media[p.header.avatarImage].url}}" alt="" /></a> </h3>
</header> {% if config.plugins["translate-date"].enabled %}
<a href="{{ p.url }}" class="image"> <time class="published" itemprop="datePublished" datetime="{{ page.date|td(null, "Y-m-d") }}">{{ page.date|td(null, "M j, Y") }}</time>
{% elseif config.plugins["twig-extensions"].enabled %}
{% if p.header.primaryImage %} <time class="published" itemprop="datePublished" datetime="{{ page.date|localizeddate('medium', 'none', lang) }}">{{ page.date|localizeddate('medium', 'none', lang) }}</time>
{{ p.media[p.header.primaryImage].cropZoom(1038,437).loading('lazy').html('',p.title)|raw}}
{% else %} {% else %}
{{p.media.images|first.cropZoom(1038,437).loading('lazy').html('',p.title)|raw}} <time class="published" itemprop="datePublished" datetime="{{ page.date|date("Y-m-d") }}">{{ page.date|date("M j, Y") }}</time>
{% endif %} {% endif %}
{% if avatar %}
<a href="{{ p.url }}" class="author"><img src="{{ p.media[p.header.avatarImage].url}}" alt=""/></a>
{% endif %}
</header>
{% if image %}
<a href="{{ p.url }}" class="image">
{{ image.cropZoom(1038,437).loading('lazy').html(title,title)|raw}}
</a> </a>
{% endif %}
</article> </article>
{% endfor %} {% endfor %}
</div> </div>
</section> </section>
<!-- End of featured Section --> <!-- End of featured Section -->

View file

@ -3,7 +3,7 @@
<ul> <ul>
{{ macros.nav_loop(pages) }} {{ macros.nav_loop(pages) }}
{% if theme_var('displaycustommenus.enabled') %} {% if theme_var('custommenus.enabled') %}
{% for mitem in theme_var('custommenu') %} {% for mitem in theme_var('custommenu') %}
<li> <li>
<a href="{{ mitem.url }}" target="{{ mitem.target }}"> <a href="{{ mitem.url }}" target="{{ mitem.target }}">

View file

@ -2,7 +2,6 @@
{% set base_url = base_url|default(page.url) %} {% set base_url = base_url|default(page.url) %}
{% if pagination|length > 1 %} {% if pagination|length > 1 %}
<ul class="actions pagination"> <ul class="actions pagination">
{% if pagination.hasPrev %} {% if pagination.hasPrev %}
{% set url = (base_url ~ pagination.params ~ pagination.prevUrl)|replace({'//':'/'}) %} {% set url = (base_url ~ pagination.params ~ pagination.prevUrl)|replace({'//':'/'}) %}
@ -12,7 +11,6 @@
{% endif %} {% endif %}
{% for paginate in pagination %} {% for paginate in pagination %}
{% if paginate.isCurrent %} {% if paginate.isCurrent %}
<li><span class="disabled button large">{{ paginate.number }}</span></li> <li><span class="disabled button large">{{ paginate.number }}</span></li>
{% elseif paginate.isInDelta %} {% elseif paginate.isInDelta %}
@ -21,8 +19,8 @@
{% elseif paginate.isDeltaBorder %} {% elseif paginate.isDeltaBorder %}
<li class="gap"><span>&hellip;</span></li> <li class="gap"><span>&hellip;</span></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if pagination.hasNext %} {% if pagination.hasNext %}
{% set url = (base_url ~ pagination.params ~ pagination.nextUrl)|replace({'//':'/'}) %} {% set url = (base_url ~ pagination.params ~ pagination.nextUrl)|replace({'//':'/'}) %}
<li><a class="button large next" rel="next" href="{{ url }}">{{'FUTURE.BLOG.PAGINATION.NEXT'|t}}</a></li> <li><a class="button large next" rel="next" href="{{ url }}">{{'FUTURE.BLOG.PAGINATION.NEXT'|t}}</a></li>
@ -30,5 +28,4 @@
<li><span class="disabled button large">{{'FUTURE.BLOG.PAGINATION.NEXT'|t}}</span></li> <li><span class="disabled button large">{{'FUTURE.BLOG.PAGINATION.NEXT'|t}}</span></li>
{% endif %} {% endif %}
</ul> </ul>
{% endif %} {% endif %}

View file

@ -3,7 +3,9 @@
{% set related = grav['pages'].get(related_path) %} {% set related = grav['pages'].get(related_path) %}
{% if related %} {% if related %}
<li> <li>
<a href="{{ related.url }}" title="{{ related.title }}">{{ related.title }}</a> {% if config.plugins.relatedpages.show_score %}<span class="score">( {{ score }} )</span> <a href="{{ related.url }}" title="{{ related.title }}">{{ related.title }}</a>
{% if config.plugins.relatedpages.show_score %}
<span class="score">( {{ score }} )</span>
{% endif %} {% endif %}
</li> </li>
{% endif %} {% endif %}

View file

@ -4,7 +4,7 @@
{% include 'partials/logo.html.twig' %} {% include 'partials/logo.html.twig' %}
<header> <header>
<h2>{{ site.title|e('html') }}</h2> <h2>{{ site.title|e('html') }}</h2>
<p>{{theme_config.slogan|raw}}</a></p> <p>{{theme_config.slogan|raw}}</p>
</header> </header>
</section> </section>
<!-- Mini Posts --> <!-- Mini Posts -->

View file

@ -5,8 +5,13 @@
{% if p.children.visible.count > 0 %} {% if p.children.visible.count > 0 %}
<li class="{{ current_page }}"> <li class="{{ current_page }}">
<a class="dropdown-btn"> <a class="dropdown-btn">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %} {% if p.header.icon %}
<span>{{ p.menu }}{% if p.routable ?? false %}&nbsp;<i class="fa fa-caret-down"></i>{% endif %}</span> <i class="fa fa-{{ p.header.icon }}"></i>
{% endif %}
<span>{{ p.menu }}
{% if p.routable ?? false %}&nbsp;<i class="fa fa-caret-down"></i>
{% endif %}
</span>
</a> </a>
<ul class="subitem_hide"> <ul class="subitem_hide">
{{ _self.loop(p) }} {{ _self.loop(p) }}
@ -15,7 +20,9 @@
{% else %} {% else %}
<li class="{{ current_page }}"> <li class="{{ current_page }}">
<a href="{{ p.url }}"> <a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %} {% if p.header.icon %}
<i class="fa fa-{{ p.header.icon }}"></i>
{% endif %}
<span>{{ p.menu }}</span> <span>{{ p.menu }}</span>
</a> </a>
</li> </li>
@ -24,7 +31,7 @@
{% endmacro %} {% endmacro %}
<ul class="menulink"> <ul class="menulink">
{{ _self.loop(pages) }} {{ _self.loop(pages) }}
{% if theme_var('displaycustommenus.enabled') %} {% if theme_var('custommenus.enabled') %}
{% for mitem in theme_var('custommenu') %} {% for mitem in theme_var('custommenu') %}
<li> <li>
<a href="{{ mitem.url }}" target="{{ mitem.target }}"> <a href="{{ mitem.url }}" target="{{ mitem.target }}">

View file

@ -1,16 +1,16 @@
<section id="menu"> <section id="menu">
{% if config.plugins.simplesearch.enabled %}
<!-- Search --> <!-- Search -->
<section> <section>
{% if config.plugins.simplesearch.enabled %}
{% include 'partials/simplesearch_searchbox_sidebar.html.twig' %} {% include 'partials/simplesearch_searchbox_sidebar.html.twig' %}
{% endif %}
</section> </section>
{% endif %}
<!-- Links --> <!-- Links -->
<section id="sidebarmenu"> <section id="sidebarmenu">
{% include 'partials/sidebar_navigation.html.twig' %} {% include 'partials/sidebar_navigation.html.twig' %}
</section> </section>
<!-- Actions -->
{% if config.plugins.archives.enabled %} {% if config.plugins.archives.enabled %}
<!-- Actions -->
<section> <section>
<header> <header>
<h3>{{ 'FUTURE.SIDEBAR.ARCHIVES.HEADLINE'|t }}</h3> <h3>{{ 'FUTURE.SIDEBAR.ARCHIVES.HEADLINE'|t }}</h3>

View file

@ -1,5 +1,7 @@
{% extends 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% set image = page.media[page.header.primaryImage] %}
{% set title = page.title|raw %}
{% set subtitle = page.header.subtitle|raw %}
{% set columns = page.header.layout == 'standard' ? 'col-4 col-6-medium col-12-small' : 'col-6 col-12-small' %} {% set columns = page.header.layout == 'standard' ? 'col-4 col-6-medium col-12-small' : 'col-6 col-12-small' %}
{% block menu %} {% block menu %}
@ -11,17 +13,18 @@
<article class="post"> <article class="post">
<header> <header>
<div class="title"> <div class="title">
<h2>{{ page.header.title }}</h2> <h2>{{ title }}</h2>
{% if page.header.subtitle %} {% if subtitle %}
<p>{{ page.header.subtitle }}</p> <p>{{ subtitle }}</p>
{% endif %} {% endif %}
</div> </div>
</header> </header>
{% if page.header.primaryImage %} {% if image %}
{{ page.media[page.header.primaryImage].cropZoom(1038,437).loading('lazy').html(page.title, page.title, 'image featured')|raw }} {{ image.cropZoom(1038,437).loading('lazy').html(title, title, 'image featured')|raw }}
{% endif %} {% endif %}
{{ page.content|raw}} {{ page.content|raw}}
<!-- Portfolio --> <!-- Portfolio -->
{% block portfolio %} {% block portfolio %}
<section> <section>
@ -33,7 +36,6 @@
</a> </a>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
</section> </section>
{% endblock %} {% endblock %}

View file

@ -1,14 +1,13 @@
{% extends 'partials/simplesearch_base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% block menu %} {% block menu %}
{% include 'partials/sidebar_right.html.twig' %} {% include 'partials/sidebar_right.html.twig' %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<article class="post simplesearch"> <article class="simplesearch">
<header> <header>
<div class="title"> <div class="title">
{% block results %} {% block results %}
<div class="content-padding simplesearch"> <div class="content-padding simplesearch">
<h1 class="search-header">{{ "PLUGIN_SIMPLESEARCH.SEARCH_RESULTS"|t }}</h1> <h1 class="search-header">{{ "PLUGIN_SIMPLESEARCH.SEARCH_RESULTS"|t }}</h1>
@ -27,16 +26,22 @@
</p> </p>
</div> </div>
{% endblock %} {% endblock %}
</div> </div>
</header> </header>
{% for page in search_results %} {% for page in search_results %}
{% include 'partials/simplesearch_item.html.twig' with {'page':page} %} {% include 'partials/simplesearch_item.html.twig' with {'page':page} %}
{% endfor %} {% endfor %}
</article> </article>
{% if theme_config.sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
</section>
{% endif %}
{% endblock %} {% endblock %}
{% block sidebar %} {% block sidebar %}
{% if theme_config.sidebar == true %}
{% include 'partials/sidebar_left.html.twig' %} {% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %} {% endblock %}