Giter Site home page Giter Site logo

zerostaticthemes / hugo-serif-theme Goto Github PK

View Code? Open in Web Editor NEW
415.0 16.0 230.0 6.51 MB

Serif is a modern business theme for Hugo.

Home Page: https://hugo-serif.netlify.app

License: MIT License

JavaScript 0.42% HTML 4.47% SCSS 95.11%
hugo theme hugo-theme jamstack static-site-generator gohugo scss

hugo-serif-theme's People

Contributors

anmolsahoo25 avatar avicndugu avatar b-apperlo avatar bkrl avatar chetankothari avatar eisenherzz avatar gdm avatar int02h avatar joelpet avatar jugglerx avatar jupeeter8 avatar mfornasa avatar mirkoperillo avatar panzerit avatar purpleidea avatar pvanheus avatar rasmi avatar weyhmueller avatar zizzfizzix 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hugo-serif-theme's Issues

favicon and title text beside favicon

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!

why you stopped using exampleSite?

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

Forked Repository No Longer Working

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

Multilingual support

Are you planning on adding multilingual support to zerostatic hugo themes?

Love your themes.

Floating bottom-right pixel width display?

For whatever reason, there's a floating display in the bottom-right of my pages that shows the current width of the window in pixels (see below for an example). Haven't been able to track it down; any clues as to where this might be living so I can remove it?

Screen Shot 2020-07-06 at 3 58 30 PM

Mobile menu shows off-screen for wide pages

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

screen2small

But it shows up wrong on mobile. What can I do to fix this?

screen1small

Error in Style.scss when building Hugo

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

change logo to png fails to load file

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

strong and em present in html source but not showing in rendered page

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!

Change colours in config.toml

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

change primary colour

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

Pull color configuration to theme config / settings

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.

Markdown Problem

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

Using Taxonomy (tags)

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 🇫🇷

Deploy Issue

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.

The header logo on mobile device looks very small...

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

Team Member Link

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.

changes in scss not compiling

Hello!
While trying to run the code, Hugo doesn't recognise and compile the changes in the scss files on my machine.

stackbit issue

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.

External html and JS content not loading?

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>

Could it be that the serif theme contains code that could be considered malware by google ads?

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

blog

your winston theme has "posts" so would it be possible to have them in this theme as well or you have to use both?

Can't add a list to content/team/_index.md

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!

Different images for dark mode?

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?

Footer out of place in IE 11

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.

Sticky navbar

Please add the option to make the navbar sticky, or make it default.

Thanks!

Unable to generate or run the server

Hey, I am unable to run this theme.
Here's what I did:

  1. Installed a fresh Hugo copy
  2. Cloned the theme
  3. Replaced top level directories with those from the exampleSite/ dir
  4. Renamed baseUrl to "/"
  5. Ran hugo command

I 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!

Function "Site" not defined

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!

Error: error building site: TOCSS: failed to transform "style.scss" (text/x-scss)

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.

Embedding services pages into main page

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!

Sitemap issue with Google

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?

Upgrade to Bootstrap 5.2.1

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.

Sub-menus

Hello,

how would I correctly add sub-menus for desktop and mobile?
Thanks.

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.