Comments (3)
This is because you are installing an older, unsupported version of Hugo. The official Ubuntu 18.04 repositories are hosting 0.40.1-1 as the latest package which would be an issue for whomever manages those packages, not this theme. Instead of using apt-get install hugo
try using snap as instructed at this doc by doing sudo snap install hugo --classic
or if that is unsuccessful try installing from the tarball.
from hugo-theme-m10c.
You should use Hugo v0.55
I fixed future deprecation for several variables like .Hugo
. (4f7e383)
See https://github.com/gohugoio/hugo/releases/tag/v0.55.0
I should update the min_version
in config.toml
from hugo-theme-m10c.
This helps me, tnx
docker run -dit --name hugo ubuntu:18.04
docker exec -it hugo bash
apt update
apt-get install software-properties-common wget vim git
apt-get install -y software-properties-common
https://github.com/golang/go/wiki/Ubuntu
add-apt-repository ppa:gophers/archive
apt update
apt-get install golang-1.11-go
https://github.com/gohugoio/hugo/releases/
wget https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_0.55.4_Linux-64bit.deb
dpkg -i hugo_0.55.4_Linux-64bit.deb
hugo new site quickstart
cd quickstart
hugo new posts/my-first-post.md
vim ./content/posts/my-first-post.md
git init
git submodule add https://github.com/vaga/hugo-theme-m10c.git themes/m10c
vim ./config.toml
baseURL = "https://example.com"
languageCode = "en-us"
title = "Title test1"
theme = "m10c"
hugo server -D --bind="0.0.0.0" --baseUrl="blog.example.com
root@5b24984dc076:/srv/www/quickstart# dpkg -l hugo
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================================================-=============================-=============================-=======================================================================================================
ii hugo 0.55.4
from hugo-theme-m10c.
Related Issues (20)
- Add top ten topics to menu section
- Put about section as home HOT 1
- RSS link tags missing in the <head>
- Add Persistent HTML to index
- Add a demo
- Table formatting
- 🐞 Bug: Tags list line break does not work.
- app-header-menu-item CSS class does not exist
- Table of content
- add support for _index.md HOT 1
- maybe add Matrix and Pleroma logo? HOT 1
- Rendering works in local server, fails in site generation HOT 1
- Xing Icon HOT 1
- Create functionality to add footer HOT 1
- Add custom icons HOT 6
- Module Error HOT 2
- m10c is not compatible with Hugo v0.104 HOT 4
- --minify breaks space between elements HOT 3
- Module "m10c" is not compatible with Hugo v0.105.0 HOT 2
- Enable description to be displayed under title in the posts list page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-theme-m10c.