pmoreno-rodriguez / grav-theme-future2021 Goto Github PK
View Code? Open in Web Editor NEWFuture Imperfect theme by HTML5UP ported from scratch to Grav. Version 2021
License: Other
Future Imperfect theme by HTML5UP ported from scratch to Grav. Version 2021
License: Other
Hello out there,
I hope this finds you in good health.
I don't really get behind the structure yet. Is it possible that you can share your demo content and your requirements? It doesn't matter that it's in Spanish.
Best regards from Berlin
When logged in and still on the login status site, it's not possible to open the menu. This is because
{% block menu %}
{% include 'partials/sidebar_right.html.twig' %}
{% endblock %}
is missing in partials/login-status.html.twig
.
On the other hand when you log out and goto the login site again, there is a message saying that you were successfully logged out.
Tried to install theme via bin/gpm install future2021
Got the following error
/home/robertso/moko-papa.nz/grav/user/themes/future2021/templates/partials/taxonomylist.html.twig
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% if taxlist %}
Arguments
"The sort filter only works with arrays or "Traversable", got "NULL"."
I have not had a lot of time to look into it - tried commenting out the template, but no luck. Might be able to look on a better machine later.
Hello I found some bugs in HTML/CSS in new version.
In Blog page - share options are displayed as list and missing:
border-left: solid 1px rgba(160, 160, 160, 0.3);
display: inline-block;
font-size: larger;
font-weight: 400;
margin: 0 0 0 1em;
padding: 0 0 0 1em;
text-transform: uppercase;
also I was also not able to hide "image featured" in feature page block - it display one big image every time.
Hi, great theme.
H1 (#) is rendered smaller than H2 (##). I found that in main.css there is no size given for h1. Adding a style definition for h1 = 1.3em there doesn't change anything. I also changed it in main.css.min without success.
Commenting out the uppercase style for Hx is working.
Tested on actual Firefox and Chrome on Debian 12.
Your theme 'Editorial' behaves as expected as well as 8 other themes I tested.
Best
Nikolaus
The Social Icons are not visible while being in html code (see picture) but with a size of 0. (Both in Sidebar mode as well as in normal footer). I also tried to add the social icon in the header to cross-check but there one out of the two sizes is 0 as well.
This is on a fresh Grav installation without any plugins or changes to the template.
Hey,
thanks for adding the donation button. I tried using that service, however there seem to be a issue with the payment and I always get an error.
For 1 time only, could you share your paypal.me link with me, so I can donate using paypal?
Hi Pedro,
would it be possible to add more options to the portfolio, for example I don't want and don't need OWL, but I would like to add combos of blocks to customize columns, and lines below I share the link of an example of the layout I'm putting together, but I wanted to use the future2021 template.
Blocks I'd like to create:
Minicases (like miniposts)
Portfolio Cases
Layout in 3, 4 and 6 columns
Blox with title, background image and pilltags
Portfolio Case
Title
pilltags
Client Name (link and icon)
Period (text input)
Case link (if have link show)
My role on case (textearea block)
Modular block
Add section (after add 1, could be added more and than create new lines)
Title
Description
Background image
Add sub section (after add 1, could be added more and than create a new columns)
Title
Description
Cover image
Add List options (if added more than 1, create a UL list on layout)
My based idea is here.
Hello,
I'm trying to remove the menu on the right especially the login form from the template.
I didn't figure it out how to do this properly without deeply changing the core / theme.
The option menu_login: false
doesn't work.
Do you have a proper solution ?
Thanks.
Snippet from :
user/config/themes/future2021.yaml
Is a sticky menu planned? ie. left for long blog posts
Like the mini-post sidemenu, but stickied, and with information from the post, like "table of contents"
Hello, maybe this is a dumb question but I cannot manage to show anything inside the left sidebar "Featured" section.
I've read the docs and couldn't end up with anything useful.
The Theme settings tips are a little misleading to me.
Can you please specify how to get that feature working?
Thanks and congratulations for the awesome job in developing this gorgeous theme.
When you click on the burger menu at the top right, the button (the icon with the 3 slices) disappears, hidden by the menu that appears sliding from the right. To close the menu you have to move the cursor and click on the page.
From an ergonomic point of view, I think it would be more comfortable if the icon of the burger menu became a crossmark, to allow closing the menu in a more intuitive way and without having to move the cursor. To illustrate the idea: https://codepen.io/erikterwan/pen/EVzeRP
Unfortunately I don't have the necessary skills to modify the code and suggest a solution.
Hi
I really like your theme and I'm using it here - https://soundscapes.woollypigs.com/
Made a few edits to fit my needs.
Though for the life of me I can't figure out how to get post into the Featured/minipost on the left handside on the front page.
Any hints is much appreciated, thanks.
SMC
In order to render images in search results, I had to modify in simplesearch_item.html.twig
{% if banner %}
<div class="search-image">
<a href="{{ page.url }}">{{ banner }}</a>
</div>
into
{% if banner %}
<div class="search-image">
<a href="{{ page.url }}">{{ banner|raw }}</a>
</div>
The sort filter only works with arrays or "Traversable", got "NULL
I am not sure why I dont have the left sidebar at all. It all seems off without it.
I just installed the theme over grav theme installer, than deployed _demo/pages into pages and _demo/config into config.
I am new to grav but checked it several times and checked with other themes but I cant get this one to work.
This happens on 1.0.1 and 1.0.2 as well.
Setup: Grav v1.7.37.1 with Admin v1.10.36 in a Docker container.
Go to Themes -> Future 2021 configuration page.
Under social icons, when deleting all social icons, all of them (Twitter, FB, Instagram) will reappear.
Leaving just one is the least worse case if you not plan to use any social icons.
Hi Pedro,
One nice nice-to-have improvement for the Future2021 template would be for users to be able to add a custom .jpg/.png version of a logo in the header of the website. See below where exactly I am referring to:
The idea is that logo image maintains the same clickable properties as the text currently does.
Thanks a lot
Would it be possible to add an option to use locally hosted google fonts? As you did for another theme grav-theme-editorial: Serve google fonts locally #19
To make future2021 GDPR compliant and satisfy users who want to preserve their privacy.
Many thanks to you !
I have looked everywhere in the settings and cannot find anyway to completely remove the menu from displaying. I am not using and it shows as empty, but I want to completely remove it. Is this possible?
See here:
{% 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>
{% elseif config.plugins["twig-extensions"].enabled %}
<time class="published" itemprop="datePublished" datetime="{{ page.date|localizeddate('medium', 'none', lang) }}">{{ page.date|localizeddate('medium', 'none', lang) }}</time>
{% else %}
<time class="published" itemprop="datePublished" datetime="{{ page.date|date("Y-m-d") }}">{{ page.date|date("M j, Y") }}</time>
{% endif %}
instead of page
should simply use p
from
{% for p in page.evaluate({'@taxonomy.category':miniposts_category}).order('header.order', 'asc').slice(0,miniposts_number) %}
Hi,
in default.md it references "Show Images" as show_pageimage but in default .html.twig it's querying "show_image" in if-clause. When that is changed to show_pageimage it properly hides the primary image. Without that fix the image is always shown.
Hello!
I am building a rework of my blog with your theme. Everything is great so far, but I have one issue.
On my macbookpro I have a article which is behaving like this:
while all other posts look like
I have no idea how to debug this, but I am sure its the content width (since its the biggest post, with loads of codeblocks, long sentences etc.).
Maybe its because my "featured" posts doesnt have images?
This was on 1.0.5, I tested 1.0.6 with demo data (had the demo data on 1.0.5 too) and it doesnt happend there.
I am an absolute noob in anything css/template related.
Can you could help me?, your next beer is on me for sure! :)
Thank you so much - I'll try using SVG format unril new version (also it would be nice if the images scaled to the same height - just a suggestion for future improvement) :)
However, on my website, the pagination on the blog doesn't show even when I have more than five articles. The first few articles don't show up (breadcrumbs also do not show). :/
Originally posted by @Misha-N in #31 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.