You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error when I initialize this theme.
I've added this theme as submodule, but I faced this warning.
Your site is having problems building: The tag image on line 136 in themes/hugo-theme-cactus-plus/exampleSite/content/posts/migrate-from-jekyll.md is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.
How can I solve this error? I need some help.
The text was updated successfully, but these errors were encountered:
$ hugo new site my-site/
$ cd my-site/
$ git clone --depth 1 --recursive https://github.com/nodejh/hugo-theme-cactus-plus.git themes/cactus-plus
$ hugo serve -D -t cactus-plus
# no error on localhost# Initiliazing project git
$ git init
$ git remote add origin https://github.com/my-github-account/my-project-repo.git
# Initializing public git
$ hugo
$ cd public
$ git init
$ git remote add origin https://github.com/my-github-account/my-public-repo.git
$ cd ..
Back to the root folder, I used this script called deploy.sh:
#!/bin/bash
red="\033[31m"
green="\033[0;32m"
nocolor="\033[0m"echo -e "${green}Deploying updates to GitHub...${nocolor}"# Defines commit message.if [ $#-eq 1 ]
then
msg="$1"elseecho -e "${red}Error: commit message cannot be null.${nocolor}"exit 1
fi# Builds the project.
hugo
# Commits source files.echo -e "${green}Committing source files...${nocolor}"
git add .
git commit -m "${msg}"
git push origin master
# Go To Public folder.cd public
# Commits public folderecho -e "${green}Committing public folder...${nocolor}"
git add .
git commit -m "${msg}"
git push origin master
# Come Back up to the Project Rootcd ..
echo -e "${green}Done!${nocolor}"
Failed to initialize github pages
I got this error when I initialize this theme.
I've added this theme as submodule, but I faced this warning.
How can I solve this error? I need some help.
The text was updated successfully, but these errors were encountered: