zerostaticthemes / hugo-serif-theme Goto Github PK
View Code? Open in Web Editor NEWSerif is a modern business theme for Hugo.
Home Page: https://hugo-serif.netlify.app
License: MIT License
Serif is a modern business theme for Hugo.
Home Page: https://hugo-serif.netlify.app
License: MIT License
Hi,
I couldn't figure out how to change the favicon and the text that shows up on the website's tab in a web browser(e.g. a Google chrome tab). It shows "Hugo Serif Theme" currently with a pink square and white "S" favicon. Please help and thank you!
The 404 page hard-codes the style sheet path as /css/style.min.css
, but on production builds the file name has a fingerprint hash in it so the hard-coded path isn't valid.
Hi,
I'm trying to use your hugo theme, and I'm wondering why you stopped using the exampleSite feature of Hugo (which is a pretty cool feature) in the commit e2837e4
Thanks
I forked this repository and altered the 'SCSS'. Now when I build the site on Netlify. I get
8:24:56 PM: Building sites …
8:24:56 PM: ERROR 2018/12/21 01:24:56 error: failed to transform resource: TOCSS: failed to transform "scss/style.scss" (text/x-scss): this feature is not available in your current Hugo version
Are you planning on adding multilingual support to zerostatic hugo themes?
Love your themes.
Hi. I have a page with a table that is fairly wide (so on mobiles there's a horizontal scrollbar).
It's pretty difficult to break this table apart, so it's going to take a lot of space anyway. However, the side effect of that is that menu appears centered based on that width. It's not a problem if I make browser window small on PC
But it shows up wrong on mobile. What can I do to fix this?
Hi
After installing Hugo and the theme, I am getting this error when I do "hugo server" cmd
Start building sites …
hugo v0.101.0+extended darwin/amd64 BuildDate=unknown
Error: Error building site: TOCSS: failed to transform "style.scss" (text/x-scss): "/Users/HomeMacMini/Documents/GitHub/thereserve/themes/hugo-serif-theme-master/assets/scss/style.scss:9:20": Invalid CSS after "...nt-family-base:": expected expression (e.g. 1px, bold), was ", Helveti"
May I know how to fix this
Very clean theme. Thank you for creating it.
I have a minor problem and am not sure if it is me or a theme configuration.
Using brand new homebrew version of Hugo
hugo v0.85.0+extended darwin/amd64
Upload my log png to static/images/ logos
changed config file to use new png file
However the theme wont display this - Only seems to be able to display svg files
Many thanks in advance for any pointers
If you switch quickly between pages, for examples
https://hugo-serif.netlify.app/services/ and
https://hugo-serif.netlify.app/team/
You will see the top left logo moving horizontally (it moves right it team
compared to services
).
I'm not proficient enough in CSS to fix it with a PR myself, sorry.
My system
Chrome
Version 122.0.6261.129 (Official Build) (x86_64)
MacOs Sonoma 14.4 (23E214)
I'm using hugo-serif-theme together with Rmarkdown. I had to make some minor tweaks here and there, but overall it is working well.
I'm surprised though, as both italics and bolds aren't properly shown in the pages, even though they are there in the html source.
See the last two paragraphs in this page:
Html Source:
Puede ser afectada por eventos naturales o sociales <em>que ocurren en otros continentes</em>.
and
si usted y su empresa ejecutan <strong>hoy</strong> las acciones correctas
But is showed as plain text in the rendered page.
I don't know if this is a feature or the result of me using Rmarkdown. If so, I'd appreciate your guidance on where to look and have the theme to render bolds and italics as desired.
Thanks!
Good day,
I would like to edit the colour scheme of the theme and followed the method suggested in the README (adding info to the config.toml file).
It isn't taking effect however. When I look at the scss it still has the original colours and that file can't be changed.
I looked for tips on the internet, but couldn't find anything that worked to solve my problem.
I'd greatly appreciate any help.
Kind regards,
Anelda
Hi Rob
I am having difficulty changing the primary colour. Have made the change in:
/themes/hugo-serif-theme/assets/scss/_variables.scss#L1
but not seeing any difference. Any ideas?
Thanks
I come across serif theme and I really like your work. Given my limited knowledge of scss I was stuck at very basic problem - adjusting of theme colors. I've tried to create _bootstrap-variables
as well as bootstrap-variables
files with mixed results.
At the same time I found other themes making syle colors configurable:
https://github.com/vaga/hugo-theme-m10c/blob/master/assets/css/main.scss#L1L5
Would you consider moving color config to theme settings? If so I can try to come with an PR.
When I use markdown on the contact.md page, the code shows in the text.....
title: 'Contact'
date: 2018-02-22T17:01:34+07:00
layout: contact
---
## H2 We are available all day every day
Result:
H2 We are available all day every day
Hello 👋
I'm a big fan of this template and thank you for your great work 😍
I'm trying to add tags to articles in services to map them more clearly I managed to create the taxonomy available in the URL but adding it to the services articles is more complicated. Do you think you could help me out with this please @JugglerX ?
Cheers from France 🇫🇷
My Render deploy does not work. I get multiple repetitions of the same problem. Anybody struggling with this one?
Apr 25 12:04:18 AM WARN 2022/04/24 22:04:18 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Hi,
I'm using a svg image as my logo. It's displayed correctly on desktop devices (once I played with .Site.Params.logo.desktop_height
) but is really small on any mobile device. I also tried to modify the header.html to force a size but it has no effect at all... What am I missing?
<div class='header'>
<div class="container">
<div class="logo">
<a href="{{ .Site.BaseURL }}"><img height={{ .Site.Params.logo.desktop_height }} alt="{{ .Site.Params.logo.alt }}" src="{{ .Site.Params.logo.desktop | relURL }}" /></a>
</div>
<div class="logo-mobile">
<a href="{{ .Site.BaseURL }}"><img height="2000px" alt="{{ .Site.Params.logo.alt }}" src="{{ .Site.Params.logo.mobile | relURL }}" /></a>
</div>
{{ partial "main-menu.html" . }}
{{ partial "hamburger.html" . }}
</div>
</div>
Thanks
Hello. I enjoy this theme, except I have one concern. You cannot click the names of team members to go to their full pages. The only link that seems to work is the LinkedIn one. Any guidance of fixes are appreciated.
Hello!
While trying to run the code, Hugo doesn't recognise and compile the changes in the scss files on my machine.
Loading site /tmp/909d8133-b79c-4a9c-8e88-07760ab1d1e0
Error loading theme at /tmp/909d8133-b79c-4a9c-8e88-07760ab1d1e0
To get this error, click the 'Create with Stackbit' button.
Fails during validation with those 2 errors.
Great theme though. Especially the new look.
I been trapped by this for a long time, but when I tried to put html or JS code blocks into the markdown file Im writing. The code block doesn't show up in the html file generate by hugo
I was trying:
<script src='/path-to-your-javascript-file/pdfobject.js'></script>
<script>
PDFObject.embed("link-to-pdf");
</script>
Hi. I'm using the serif theme, which I think is great, but when I try to use google ads, it tells me that my site (geoytopo.com) contains code that could be considered malware.
Question: would there be any code inside the public folder that you consider could be warned as malware? It's a respectful question, I honestly don't know about programming, but I want to be able to use the google ads with the serif theme.
Best regards
your winston theme has "posts" so would it be possible to have them in this theme as well or you have to use both?
I'm trying to add a list of items to the page content/team/_index.md but it is not shown as a list.
I think something is missing for that in the css but I'm not familiar with css. When I'm finished adding content to my new web site I will have a look myself if I can figure out where it goes wrong but somebody familiar with css can fix it better and faster.
Thanks for the template!
I would like to use different images based on light or dark mode as they don't always work with such extremely different color schemes. Or I would like to set the website permanently to dark or light mode. Is this possible?
I would love to see a sticky TableOfContents added to this simple and elegant theme.
When viewing the theme in Microsoft Internet Explorer, the footer and subfooter are not displayed at the bottom of the page but at the top. This is due to the way IE interprets the shorthand flex: 1;
.
A possible fix is to set the attribute to flex: 1 0 0;
in assets\scss\components\_page.scss
Sorry for not fixing this right away and submitting a PR, but I'm bad at git. 😄
As an aside, this is a beautiful theme and I want to thank you for the work you put in it.
Please add the option to make the navbar sticky, or make it default.
Thanks!
Small edge case bug:
If you open the theme in a very small footprint (mobile view), open the hamburger menu, then resize the page, the close button (X) will disappear.
I want to know how to modify the content of the homepage of the website. I don’t seem to see the documentation.
Hey, I am unable to run this theme.
Here's what I did:
exampleSite/
dirhugo
commandI get this error every time:
Total in 0 ms Error: Error building site: open /Users/-------/Projects/hugo-portfolio/themes/content: no such file or directory
Had no such issues with other themes. Any idea what is going on?
Thanks!
Added theme to hugo site, ran hugo and got
parse failed: template: team/summary.html:4: function "Site" not defined"
In layouts/team/summary.html on line 4, a period is missing in front of "Site"
Plz change {{Site.BaseURL}}
to {{.Site.BaseURL}}
Love the theme btw!
I've tried to set HUGO_VERSION=v0.112.1+extended
which is used in your latest theme version and I've got this error:
Error: error building site: TOCSS: failed to transform "style.scss" (text/x-scss): "/opt/buildhome/repo/themes/serif/assets/scss/style.scss:10:20": Invalid CSS after "...nt-family-base:": expected expression (e.g. 1px, bold), was "<no value>, Helveti"
It doesn't work with latest hugo version too.
Hi,
Is there a way to actually include all services in the main index.html
file with proper styling of their titles and content? In my case, the accompanying text for each service is rather small and their individual page appears somewhat empty when clicked. I tried dumping them in Markdown into index.md
but that is styled in a way to flow on the left side of the main page visual.
Thanks!
I've tried to figure out how to change the title from "hugoserif" to a custom title. No dice. Could you please clarify?
Also, how would I go about changing the homepage background image?
Trying to change the overall background to a darker colour, but there's no easy way to do it.
Hello, I've used the theme (it's great, btw), develop the website and successfully deployed with Netlify. Though, I'm having some issues with Google Search Console: basically, it says that the sitemap I've generated is valid but contains some errors on the urls.
What you think could be the problem?
Hi,
Great theme.
Works perfectly with firefox for iOs.
With safari, the menu (up-right) doesn't show / work.
Do you think there is a work around?
Thanks,
Mathieu
I was thinking it would be nice to upgrade the CSS to Bootstrap 5.x and it looks like 5.2.1 is the latest available.
After checking, it seems like it would be almost a 1-for-1 swap, with very small tweaks, since you're using very little of the library by default.
Once Bootstrap 5 is in place, we could potentially take advantage of some of the new features it has to offer.
Is this something you would be interested in doing, please let me know and I'll create a PR. Thanks.
Hello,
how would I correctly add sub-menus for desktop and mobile?
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.