hugo-nuo | A responsive light & clean hugo theme for blogger | Static Site Generator library
kandi X-RAY | hugo-nuo Summary
kandi X-RAY | hugo-nuo Summary
Inside the folder of your Hugo site run:. Change the content of about.md, set page layout to about, If you want to add about page to menu, set menu to main and weight to 50. Write your portfolio as a post here, if you want comments in about page, you should turn comments to true.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hugo-nuo
hugo-nuo Key Features
hugo-nuo Examples and Code Snippets
Community Discussions
Trending Discussions on hugo-nuo
QUESTION
Look, Hugo is for writing static (and blog) sites in markdown. GREAT! How do I create the home page
(i.e. not the home post
)?!
By home page I mean I want to have some markdown file rendered in my theme at the root: http://example.com/
, not http://example.com/home
(I will change themes if necessary, but I'm currently using hugo-nuo).
Here's how I'm trying to do it:
add my own layouts/index.html
(overriding the theme's)
ANSWER
Answered 2018-May-13 at 20:57You can add a _index.md
into the folder content/
and access it, e.g. via {{ .Content }}
.
QUESTION
I am using the theme at https://github.com/laozhu/hugo-nuo
I was trying to include python code (it doesn't matter eval=TRUE or FALSE to me) in RMarkdown file for post. The output file is complied as a post by R blogdown (html). However, the formatting is not very reader friendly (plain text). I am wondering if there is any way to format the code blocks? (different color, bold, italic or add a blank line between codes?) Thank you.
...ANSWER
Answered 2018-Feb-25 at 21:56The default blogdown theme (as well as several other hugo themes) use highlight.js which allows you to highlight code in 176 languages (including Python).
That said, it seems to me that the theme you are using does not. You need to:
- Download highlight.js
- Save the
highlight.pack.js
into themes/hugo-nuo/static/js - Copy the css format you like (these are the color options) into themes/hugo-nuo/static/css
- On the
header.html
orhead.html
file (depending which one is the one that links files) write
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hugo-nuo
After installing the hugo-nuo theme successfully it requires just a few more steps to get your site finally running.
⚠️ Big Change This theme has been using hugo pipes instead of webpack now, no build package needed now. I use ImageOptim to make images load faster, I recommend this tool to you. Run hugo gen chromastyles -h for more options. See https://help.farbox.com/pygments.html for a gallery of available styles.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page