Giter Club home page Giter Club logo

npqhugo's People

Contributors

monklite avatar sco-pi 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  avatar  avatar

Watchers

 avatar  avatar

npqhugo's Issues

Support page bundles

I was experimenting with page bundles (keeping content & images together), but it was not showing any content.

I have updated the list template to this:

{{ define "main" }}
    {{ if .Content }}
        {{ .Content }}
    {{ else }}
        <div class="section">
            <dev class="section-title">{{.Section}}</dev>
            {{ range $index, $element := .Paginator.Pages }}
                <div class="list-item">
                    <a class="entry-title" href="{{ .URL }}">{{ .Title }}</a>
                    {{$page := .}}
                    {{with .Description}}
                    <p>{{.}}</p>
                    {{end}}
                    <div class="meta">
                    {{with .Date}}
                        <i class="far fa-calendar-alt"></i> {{.Format "Jan 2 2006"}}
                    {{end}}
                    <br>
                    {{with .Params.tags}}
                            <i class="fas fa-tags"></i> 
                            Tags: {{ delimit . ", " }}
                    {{end}}
                    </div>
                </div>
            {{end}}
        </div>
        {{ partial "pagination.html" $ }}
    {{end}}
{{end}}

This allows me to organize content like this:

/blog
  /2020
    /04
      /my-title
        /_index.md
        /myimage.png

Fix post on top.

Hi, this theme is so cool, but, i think, on microblog a way to pin the post on top.

pinned: true does not seem to work

Have 3 posts under contents/posts/. Example:

contents/posts
  \__ foo/index.md
  \__ bar/index.md
  \__ baz/index.md

In one of the index.md, I have:

---
title: "bar"
pinned: true
date: 2020-08-16T17:40:35+05:30
draft: true
---

This does not make the bar post float to the top. Isn't that the expected behavior?

Unable to override the default email/phone

Hi @saadnpq, thanks for making this theme, I've just looking at getting started with a personal site in Hugo and it perfectly fits my requirements.

At the moment I don't want to have my contact information (phone/email) in the footer, I've tried to remove these from my config.toml but it looks to have been overridden by the defaults in the config.toml in the theme.

As I'm just using your repo as a git submodule, I was wondering if there is a change that could be made to the default/example config that would allow for this use case?

Thanks,
Scott.

Content does not respond to sidebar on initial load

If you reduce the width of your browser half of what it normally is, the sidebar will overlap the content. If you click the toggle button for the sidebar which executes the javascript and then toggle the sidebar back on, the content positioning responds appropriately so the sidebar does not overlap anything.

It would be great if it could respond to the side bar at all times, is this possible?

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.