Comments (9)
Hello @Misha-N
I must have done something wrong in the last commit on Github, because you are right, there are new features that are not in version 1.0.4
I'll take a look to see what went wrong.
Thank you for your suggestion.
from grav-theme-future2021.
Hi @Misha-N
I just downloaded version 1.0.4 from GitHub and regarding the social media icons on the blog posts I think they are ok as you can check on the demo page [Future 2021 Demo](http://future .juanvillen.es/blog).
Regarding the second question, I assume that you mean that blog articles show an image, even if you have an empty featured image. Is it so?
The code is made to fetch an image, if there are images in page.media. In the next version of Future2021, I will put as an option (toggleable) the power to activate the image of the blog article.
from grav-theme-future2021.
Could you try the option to disable the main image from the 'feature' branch. Is this what you suggest?
https://github.com/pmoreno-rodriguez/grav-theme-future2021/tree/features
from grav-theme-future2021.
I tried it, I can see the toggle for the primary image, but it still doesn't work on the feature page. Maybe I'm doing something wrong, but on the demo page BIENVENIDO -> CARACTERÍSTICAS you have 3 blocks. For me it generates one big image above them (first - when i leave it blank or selected even if I toggle off primary image in features branch) - https://michal-fryba.eu/. The only thing I managed to do was to comment out the code in /grav/user/themes/future2021/templates/modular/
I also found that pagination is not showing in blog.
As for the sharing icons - they are now showing correctly - I don't know what it was, maybe some bad resolution of my monitor.
from grav-theme-future2021.
Okay.
I have already modified the templates features.html.twig and banner.html.twig (in the features branch), which also included the primary image. I have not been able to detect this error before since I use images in SVG format and these are not loaded in the same way as other images. I will address this small bug in the next version.
On the other hand, to see the pagination in the Blog, you must take into account the number of items that you will show. By default, the theme is configured to display 5 post articles per page. If you do not have those 5 articles, the pagination buttons will not be activated (in your example page, you only have 4). This option is in the blog page settings, in the 'Blog Config' tab. By default pagination is enabled.
from grav-theme-future2021.
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). :/
from grav-theme-future2021.
I have this setting and i have 6 testing articles:
title: 'CyberSecurity Blog'
author: 'Michal Frýba'
content:
items:
- '@self.children'
limit: 5
order:
by: date
dir: desc
url_taxonomy_filters: true
shareicons:
facebook: true
twitter: true
whatsapp: true
telegram: true
show_sidebar: true
show_breadcrumbs: true
show_pagination: true
from grav-theme-future2021.
Hi @Misha-N.
I've pushed some changes to the feature branch. I think the problem with the pagination was in the blog.yaml, with the header.content.pagination
option, which was not set.
Could you try it now?
I also pushed other changes to the feature branch, to tweak the main image enable/disable option and other little things.
from grav-theme-future2021.
Fixed in develop branch
from grav-theme-future2021.
Related Issues (20)
- Issues with login HOT 4
- Issues with breadcrumbs and pagination in blog HOT 1
- Social Icons not visible HOT 10
- Bug with new "Show Image" functionality in default.html.twig HOT 3
- No Sidebar with demo files. HOT 5
- Faulty heading formatting HOT 6
- Width issue HOT 10
- Miniposts Template uses page object, instead of minipost object to parse date HOT 2
- Donation BuyMeACoffee HOT 3
- Sticky menu for blog posts HOT 7
- Suggestion: serve google fonts locally HOT 1
- How to properly delete the right toolbar ? HOT 5
- Cannot show any entry inside the "Featured" section HOT 4
- sort filter causes error when taxonomy is empty HOT 2
- suggestion HOT 2
- Improve Portfolio customization HOT 1
- Logo in image format to be implemented in the header HOT 2
- Demo site HOT 2
- Remove the menu 'hamburger' from the top bar HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-theme-future2021.