jrutheiser / hugo-lithium-theme Goto Github PK
View Code? Open in Web Editor NEWLithium - A simple responsive Hugo theme
Home Page: http://jrutheiser.com
License: MIT License
Lithium - A simple responsive Hugo theme
Home Page: http://jrutheiser.com
License: MIT License
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
?
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>
I wrote article like http://support.typora.io/Draw-Diagrams-With-Markdown/ but the flowchart and sequence diagrams cannot display with this theme.
Instead, it's rendered as a code segment.
Has anyone figured out how to include figures in the posts and pages? In my experience any html or markdown commands for images are not rendered.
Using Hugo 0.24 or newer you currently get a warning when adding new content using this theme.
Unable to get Twitter card to work for individual blog post after I follow the instruction at https://gohugohq.com/partials/twitter-cards-partials-for-hugo/
Math formulas cannot be displayed. For example
LaTex $E=mc^2$
LaTex
Hello!
I've stumbled upon the very same issue as the dim0627/hugo_theme_beg#19, only part of the image visible on the screenshot where whole should be:
How can i add tags or categories for my post ?
Hi:
I applied lithium theme in my blog. I need a toc in the posts so I follow hugo's document to add following code in the single.html:
<div id="toc" class="well col-md-4 col-sm-6">
{{ .TableOfContents }}
</div>
But it is horrible way because the heading will block the body part, like this page
https://suredream.github.io/en/projects/
Any idea about adding toc into posts?
Thanks
Thanks for your great hugo theme, i use it for my blog, it's so easy to use and beautiful .
If i want to customize my own logo and icon, does it support it ?
Hi, the text appears to be responsive, but the code chunks along with their code outputs seem to be non-responsive. Any way to fix this?
Here's a post on my website: https://nishanksaini.netlify.com/2019/05/12/anime/
It is fine on desktop, but on mobile, the generated visualizations are not responsive.
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.
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>
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 .
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
.
Apparently a scammer has registered the default base url genreated by hugo ("http://replace-this-with-your-hugo-site.com") and has some malware, ads, etc on it. See: gohugoio/hugoThemes#171.
To avoid such abuse in the future I would recommend to switch to a base url like "https://www.example.com".
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.