Git Product home page Git Product logo

hugo-lithium-theme's People

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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hugo-lithium-theme's Issues

How to display tags in lithium theme ?

Hi, I am unable to display the tags using lithium theme. Could you please give some guidance on displaying the tags and then eventually displaying all the posts based on tags ? Is this possible on hugo-lithium-theme ?

Make code render better

Well, this theme is clean and simple.

But the code render is a pity.
It's hard to distinguish codes and text content.

Is this theme designed to write pure lines of text?
Any idea on making the codes to display better?

Somewhat like GitHub markdown render is quite good.

<div class="embed video-player">
<iframe class="youtube-player" type="text/html"
    width="640" height="385"
    src="http://www.youtube.com/embed/09jf3ow9jfw"
    allowfullscreen frameborder="0">
</iframe>
</div>

Need to add date and title to archetype file

Using Hugo 0.24 or newer you currently get a warning when adding new content using this theme.

WARNING: date and/or title missing from archetype file "/.../themes/hugo-lithium-theme/archetypes/default.md".
From Hugo 0.24 this must be provided in the archetype file itself, if needed. Example:

title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true

Title text in navigation bar

I would like to add title text to the navigation bar, like this

2019-07-31_22-12-31

I have created a hack, but the hack involves hardcoding this text in nav.html .
I am new to hugo (through Rstudio) and its themes, so I cannot make clean changes.
Is this an option worth adding by using a parameter in config.toml?

Template bug

In the homepage list of posts, I was getting some pages included by mistake, which caused a heading of 0001 to show up as if it were a year relevant to my blog.

To fix it, I changed in the index.html template to this:

{{ partial "header.html" . }}

<main class="content" role="main">

	<div class="archive">
		{{ range (where .Site.Pages "Type" "post").GroupByDate "2006" }}
		<h2 class="archive-title">{{ .Key }}</h2>
		{{ range .Pages }}
		<article class="archive-item">
			  <a href="{{ .Permalink }}" class="archive-item-link">{{ .Title }}</a>
			  <span class="archive-item-date">
				    {{ .Date.Format "January 2, 2006" }}
				  </span>
			</article>
		{{ end }}
		{{ end }}
	</div>

</main>

{{ partial "footer.html" . }}

Seems to work well. Feel free to merge in if you want.

Template bug

In layouts/partials/nav.html there is an extra line break which causes the template not to render properly.

<a href="{{ .Site.BaseURL }}" class="nav-logo">
  <img src="{{ .Site.BaseURL }}images/{{ .Site.Params.logo.url }}" width="{{
  .Site.Params.logo.width }}" height="{{ .Site.Params.logo.height }}" alt="{{ .Site.Params.logo.alt   }}">
</a>

Issue with index.html template.

hugo version: v0.19
operating system: Alpine Linux 3.5.0
The current index.html template causes the ./content/post directory to appear as the most recent blog post titled "Posts" after hugo generates the site. The "Posts" hyperlink resolves to /post/ with the only contents being an index.xml.
Changing .Site.Pages on line 6 of the index.html template to .Data.Pages has resolved this issue for me.
As this is my first attempt using hugo it is unknown to me if this issue is somehow unique to my local environment due to a user configuration error or a distribution provided hugo version irregularity .

Stop parsing Enter as Space

The article render treats the newline as a space if I type these works

Sentance with newlines
to test the render, the output
will be a little bit incorrect because
there are spaces between new lines.

And actually, the article will be

Sentance with newlines  to test the render, the output  will be a little bit
incorrect because  there are spaces bettween new lines.

I mean, there should be only 1 space between newlines and to,not newlines to.

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.