Giter Site home page Giter Site logo

arashsm79 / hugo-papermod-mod Goto Github PK

View Code? Open in Web Editor NEW
25.0 1.0 4.0 25 KB

A bunch of stylesheets that modify the look of Hugo PaperMod theme. Includes thumbnails and sidebar table of contents.

License: The Unlicense

CSS 100.00%
css css-grid hugo papermod static-site tableofcontents theme thumbnail

hugo-papermod-mod's Introduction

hugo-PaperMod-Mod

A bunch of stylesheets that modify the look of Hugo PaperMod theme. Includes thumbnails and sidebar table of contents.

Thumbnails

The thumbnail.css file, uses CSS Grid layout to change the position of cover images in post entries. It is adaptive and changes the layout if the width of the page is not sufficient as outlined in the video below.

thumbnail.mp4

Sidebar Table of Contents

The sidetoc.css file, uses CSS Grid layout to change the position of ToC to the side in single posts. It sets the position to sticky so that the ToC stays on the page while scrolling.

sidebar.mp4

Other QOL changes

custom.css

  • Increase the width of post pages more than the home page
  • Increase the width of images placed in the homeinfo section
  • Increase the font size of summary text
  • Set a limit on the width of post cover and align them center.

Installation

Simply copy the CSS files that you want from this repository to the assets/css/extended folder of your Hugo project.

hugo-papermod-mod's People

Contributors

arashsm79 avatar joshhchun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hugo-papermod-mod's Issues

code blocks are getting streched a log

Hello,

while looking for solution to have ToC, i came across this repo..

I included all the files included in this repo to assets/css/extended. but it is not getting applied properly. code blogs are getting stretched beyond normal screens if I add sidetoc.css

what could I be doing wrong?

thumbnails not working

Hi,
thanks for doing this, I've applied the css files and I see the single posts changes etc, so I think I placed them correctly,
on main page I see the posts stretched but no thumbnail. I do see the cover image inside individual posts so I think the image is linked properly at least.

this makes the cover image on single post, but doesn't show on home. My guess is I could be missing something obvious.

Thanks for the help.

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.