You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day, I've been playing around with some ideas on what I could include inside a specific post type. Since this could be of use to others, I thought I would open this is a feature/idea to be implemented.
I've spent a couple hours fiddling with adding specific layout/partials and side/post-type.html but can't seem to get it to work as intended. Perhaps someone could help me (and others who find this useful out)
The Plan
Use post front matter to include specific types of data to be displayed in the post/page.
Data is rendered in a table or grid-block within the post, just below the tags.
Use the same css styling as the sideBar borders and separation lines.
Include svg icons from font-awesome
Should be responsive on any device
Screenshot
Other ideas
Could also be defined in the side bar
Note: Sidebar is not included by default on mobile / tablet devices.
Add sidebar to be responsive on mobile / tablet devices, stacked layout at the bottom of the post.
home:
image: 'images/rt_logo.jpg'
greetings: 'A Hugo Theme for Bloggers!'
text: 'The definitive, configurable, customizable, old fashioned rusty coloured theme for web writers and readers.'
side:
home:
- content: 'If you like the theme make sure to give the repo a star!'
imagePath: 'images/gh_source.png'
imageHref: 'https://github.com/math-queiroz/rusty-typewriter'
imageWidth: '100%'
- title: 'Side Pane Features'
content: 'There are lots of features regarding the side pane, check [the docs]({{< ref "features/static-content" >}}) for info.'
single:
- title: 'Static Content'
content: 'Single pages (a.k.a. blog posts) can also have static content like so!'
custom-post:
- title: 'Revenue'
content: '$50k/month`
- title: 'Location'
content: 'Europe`
- title: 'Founders'
content: 'Dragon and Nighthawk`
...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Good day, I've been playing around with some ideas on what I could include inside a specific post type. Since this could be of use to others, I thought I would open this is a feature/idea to be implemented.
I've spent a couple hours fiddling with adding specific
layout/partialsandside/post-type.htmlbut can't seem to get it to work as intended. Perhaps someone could help me (and others who find this useful out)The Plan
tableorgrid-blockwithin the post, just below the tags.sideBarborders and separation lines.Screenshot
Other ideas
Appreciate anyone's input.
All reactions