Open suzgold opened 5 years ago
I have same issue, @kishaningithub fixed this issue please. or tell us what to do.
@suzgold @Somrat37 I'm definitely sure there is something wrong with your project structure. If you could run
tree -a
command from the root of your project and paste the output here it would be great.
@suzgold,
I got the solution, just remove the themesDir = "../.."
and it's done.
@suzgold, I got the solution, just remove the
themesDir = "../.."
and it's done.
Thank you @Somrat37 , but remove it from where? I don't see that text in the config.toml file.
And @kishaningithub , when I try to run tree -a
I get an error -bash: tree: command not found
.
I'm really sorry if I'm wasting your time with these questions. I think I'm reasonably tech-literate, but I just can't figure out what I'm doing wrong here. Thank you VERY much for your time.
@suzgold Is the source of your Hugo site available somewhere ? If I can look at it I should be able to pinpoint your exact problem.
@kishaningithub thank you very much for the offer. I have a Zip file of the directory shared on Dropbox; do you have an email address I can use to give you access? I am grateful for your help.
Hi again @kishaningithub , I don't seem to have tree
installed but I ran ls -alR and here's what I got from that:
MBP:hugo-creative-portfolio-theme username$ ls -alR
total 72
drwxr-xr-x 15 username staff 480 Oct 22 16:55 .
drwxr-xr-x 4 username staff 128 Oct 22 18:19 ..
-rw-r--r--@ 1 username staff 6148 Oct 22 16:45 .DS_Store
-rw-r--r-- 1 username staff 33 Oct 21 11:30 .gitignore
-rw-r--r-- 1 username staff 397 Oct 21 11:30 .travis.yml
-rw-r--r-- 1 username staff 1065 Oct 21 11:30 LICENSE
-rw-r--r--@ 1 username staff 4648 Oct 21 11:30 README.md
drwxr-xr-x 4 username staff 128 Oct 21 11:30 archetypes
-rw-r--r--@ 1 username staff 2444 Oct 22 16:55 config.toml
drwxr-xr-x 5 username staff 160 Oct 22 16:17 exampleSite
drwxr-xr-x 4 username staff 128 Oct 21 11:30 images
drwxr-xr-x 9 username staff 288 Oct 21 11:30 layouts
drwxr-xr-x 3 username staff 96 Oct 21 11:33 resources
drwxr-xr-x 4 username staff 128 Oct 21 11:30 static
-rw-r--r--@ 1 username staff 748 Oct 21 11:30 theme.toml
./archetypes:
total 16
drwxr-xr-x 4 username staff 128 Oct 21 11:30 .
drwxr-xr-x 15 username staff 480 Oct 22 16:55 ..
-rw-r--r--@ 1 username staff 8 Oct 21 11:30 default.md
-rw-r--r--@ 1 username staff 54 Oct 21 11:30 portfolio.md
./exampleSite:
total 8
drwxr-xr-x 5 username staff 160 Oct 22 16:17 .
drwxr-xr-x 15 username staff 480 Oct 22 16:55 ..
-rw-r--r--@ 1 username staff 2321 Oct 21 11:30 config.toml
drwxr-xr-x 5 username staff 160 Oct 21 11:30 content
drwxr-xr-x 3 username staff 96 Oct 21 11:30 static
./exampleSite/content:
total 0
drwxr-xr-x 5 username staff 160 Oct 21 11:30 .
drwxr-xr-x 5 username staff 160 Oct 22 16:17 ..
drwxr-xr-x 3 username staff 96 Oct 21 11:30 about
drwxr-xr-x 3 username staff 96 Oct 21 11:30 contact
drwxr-xr-x 13 username staff 416 Oct 21 11:30 portfolio
./exampleSite/content/about:
total 8
drwxr-xr-x 3 username staff 96 Oct 21 11:30 .
drwxr-xr-x 5 username staff 160 Oct 21 11:30 ..
-rw-r--r--@ 1 username staff 1384 Oct 21 11:30 _index.md
./exampleSite/content/contact:
total 8
drwxr-xr-x 3 username staff 96 Oct 21 11:30 .
drwxr-xr-x 5 username staff 160 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 930 Oct 21 11:30 _index.md
./exampleSite/content/portfolio:
total 88
drwxr-xr-x 13 username staff 416 Oct 21 11:30 .
drwxr-xr-x 5 username staff 160 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 2014 Oct 21 11:30 work1.md
-rw-r--r-- 1 username staff 2088 Oct 21 11:30 work10.md
-rw-r--r-- 1 username staff 2099 Oct 21 11:30 work11.md
-rw-r--r-- 1 username staff 2012 Oct 21 11:30 work2.md
-rw-r--r-- 1 username staff 1870 Oct 21 11:30 work3.md
-rw-r--r-- 1 username staff 2066 Oct 21 11:30 work4.md
-rw-r--r-- 1 username staff 1963 Oct 21 11:30 work5.md
-rw-r--r-- 1 username staff 1839 Oct 21 11:30 work6.md
-rw-r--r-- 1 username staff 1870 Oct 21 11:30 work7.md
-rw-r--r-- 1 username staff 1867 Oct 21 11:30 work8.md
-rw-r--r-- 1 username staff 2095 Oct 21 11:30 work9.md
./exampleSite/static:
total 0
drwxr-xr-x 3 username staff 96 Oct 21 11:30 .
drwxr-xr-x 5 username staff 160 Oct 22 16:17 ..
drwxr-xr-x 5 username staff 160 Oct 21 11:30 img
./exampleSite/static/img:
total 96
drwxr-xr-x 5 username staff 160 Oct 21 11:30 .
drwxr-xr-x 3 username staff 96 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 29803 Oct 21 11:30 about.jpg
-rw-r--r-- 1 username staff 16108 Oct 21 11:30 favicon.png
drwxr-xr-x 11 username staff 352 Oct 21 11:30 portfolio
./exampleSite/static/img/portfolio:
total 728
drwxr-xr-x 11 username staff 352 Oct 21 11:30 .
drwxr-xr-x 5 username staff 160 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 56342 Oct 21 11:30 a4-paper.jpg
-rw-r--r-- 1 username staff 53032 Oct 21 11:30 business-card-26.jpg
-rw-r--r-- 1 username staff 18729 Oct 21 11:30 business-card.jpg
-rw-r--r-- 1 username staff 32151 Oct 21 11:30 envelope-brand.jpg
-rw-r--r-- 1 username staff 33979 Oct 21 11:30 gravity-paper.jpg
-rw-r--r-- 1 username staff 20573 Oct 21 11:30 ipad-air-2.jpg
-rw-r--r-- 1 username staff 42346 Oct 21 11:30 label-clothes.jpg
-rw-r--r-- 1 username staff 39574 Oct 21 11:30 paper-presentation.jpg
-rw-r--r-- 1 username staff 60102 Oct 21 11:30 trifold.jpg
./images:
total 1608
drwxr-xr-x 4 username staff 128 Oct 21 11:30 .
drwxr-xr-x 15 username staff 480 Oct 22 16:55 ..
-rw-r--r--@ 1 username staff 565314 Oct 21 11:30 screenshot.png
-rw-r--r--@ 1 username staff 251888 Oct 21 11:30 tn.png
./layouts:
total 16
drwxr-xr-x 9 username staff 288 Oct 21 11:30 .
drwxr-xr-x 15 username staff 480 Oct 22 16:55 ..
-rw-r--r-- 1 username staff 396 Oct 21 11:30 404.html
drwxr-xr-x 3 username staff 96 Oct 21 11:30 _analytics
drwxr-xr-x 5 username staff 160 Oct 21 11:30 _default
drwxr-xr-x 3 username staff 96 Oct 21 11:30 about
drwxr-xr-x 3 username staff 96 Oct 21 11:30 contact
-rw-r--r-- 1 username staff 173 Oct 21 11:30 index.html
drwxr-xr-x 12 username staff 384 Oct 21 11:30 partials
./layouts/_analytics:
total 8
drwxr-xr-x 3 username staff 96 Oct 21 11:30 .
drwxr-xr-x 9 username staff 288 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 1114 Oct 21 11:30 matomo.html
./layouts/_default:
total 24
drwxr-xr-x 5 username staff 160 Oct 21 11:30 .
drwxr-xr-x 9 username staff 288 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 409 Oct 21 11:30 baseof.html
-rw-r--r-- 1 username staff 64 Oct 21 11:30 list.html
-rw-r--r-- 1 username staff 382 Oct 21 11:30 single.html
./layouts/about:
total 8
drwxr-xr-x 3 username staff 96 Oct 21 11:30 .
drwxr-xr-x 9 username staff 288 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 332 Oct 21 11:30 list.html
./layouts/contact:
total 8
drwxr-xr-x 3 username staff 96 Oct 21 11:30 .
drwxr-xr-x 9 username staff 288 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 1486 Oct 21 11:30 list.html
./layouts/partials:
total 64
drwxr-xr-x 12 username staff 384 Oct 21 11:30 .
drwxr-xr-x 9 username staff 288 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 294 Oct 21 11:30 attribution.html
-rw-r--r-- 1 username staff 0 Oct 21 11:30 footer.html
-rw-r--r-- 1 username staff 1766 Oct 21 11:30 head.html
-rw-r--r-- 1 username staff 0 Oct 21 11:30 header.html
-rw-r--r-- 1 username staff 265 Oct 21 11:30 mobile_nav_toggle.html
-rw-r--r-- 1 username staff 1753 Oct 21 11:30 portfolio.html
-rw-r--r-- 1 username staff 652 Oct 21 11:30 scripts.html
-rw-r--r-- 1 username staff 735 Oct 21 11:30 sidebar.html
-rw-r--r-- 1 username staff 1332 Oct 21 11:30 social_buttons_in_contact.html
-rw-r--r-- 1 username staff 1640 Oct 21 11:30 social_buttons_in_sidebar.html
./resources:
total 0
drwxr-xr-x 3 username staff 96 Oct 21 11:33 .
drwxr-xr-x 15 username staff 480 Oct 22 16:55 ..
drwxr-xr-x 4 username staff 128 Oct 21 11:33 _gen
./resources/_gen:
total 0
drwxr-xr-x 4 username staff 128 Oct 21 11:33 .
drwxr-xr-x 3 username staff 96 Oct 21 11:33 ..
drwxr-xr-x 2 username staff 64 Oct 21 11:33 assets
drwxr-xr-x 2 username staff 64 Oct 21 11:33 images
./resources/_gen/assets:
total 0
drwxr-xr-x 2 username staff 64 Oct 21 11:33 .
drwxr-xr-x 4 username staff 128 Oct 21 11:33 ..
./resources/_gen/images:
total 0
drwxr-xr-x 2 username staff 64 Oct 21 11:33 .
drwxr-xr-x 4 username staff 128 Oct 21 11:33 ..
./static:
total 0
drwxr-xr-x 4 username staff 128 Oct 21 11:30 .
drwxr-xr-x 15 username staff 480 Oct 22 16:55 ..
drwxr-xr-x 18 username staff 576 Oct 21 11:30 css
drwxr-xr-x 11 username staff 352 Oct 21 11:30 js
./static/css:
total 1136
drwxr-xr-x 18 username staff 576 Oct 21 11:30 .
drwxr-xr-x 4 username staff 128 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 121260 Oct 21 11:30 bootstrap.min.css
-rw-r--r-- 1 username staff 54416 Oct 21 11:30 bootstrap.min.css.map
-rw-r--r-- 1 username staff 25 Oct 21 11:30 custom.css
-rw-r--r-- 1 username staff 29045 Oct 21 11:30 font-awesome.min.css
drwxr-xr-x 8 username staff 256 Oct 21 11:30 fonts
-rw-r--r-- 1 username staff 3740 Oct 21 11:30 helper.css
-rw-r--r-- 1 username staff 1476 Oct 21 11:30 owl.carousel.css
-rw-r--r-- 1 username staff 1620 Oct 21 11:30 owl.theme.css
-rw-r--r-- 1 username staff 4476 Oct 21 11:30 owl.transitions.css
-rw-r--r-- 1 username staff 46823 Oct 21 11:30 style.blue.css
-rw-r--r-- 1 username staff 46823 Oct 21 11:30 style.default.css
-rw-r--r-- 1 username staff 46821 Oct 21 11:30 style.green.css
-rw-r--r-- 1 username staff 46824 Oct 21 11:30 style.pink.css
-rw-r--r-- 1 username staff 46824 Oct 21 11:30 style.red.css
-rw-r--r-- 1 username staff 46822 Oct 21 11:30 style.sea.css
-rw-r--r-- 1 username staff 46825 Oct 21 11:30 style.violet.css
./static/css/fonts:
total 1800
drwxr-xr-x 8 username staff 256 Oct 21 11:30 .
drwxr-xr-x 18 username staff 576 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 124988 Oct 21 11:30 FontAwesome.otf
-rw-r--r-- 1 username staff 76518 Oct 21 11:30 fontawesome-webfont.eot
-rw-r--r-- 1 username staff 391622 Oct 21 11:30 fontawesome-webfont.svg
-rw-r--r-- 1 username staff 152796 Oct 21 11:30 fontawesome-webfont.ttf
-rw-r--r-- 1 username staff 90412 Oct 21 11:30 fontawesome-webfont.woff
-rw-r--r-- 1 username staff 71896 Oct 21 11:30 fontawesome-webfont.woff2
./static/js:
total 440
drwxr-xr-x 11 username staff 352 Oct 21 11:30 .
drwxr-xr-x 4 username staff 128 Oct 21 11:30 ..
-rw-r--r-- 1 username staff 36868 Oct 21 11:30 bootstrap.min.js
-rw-r--r-- 1 username staff 16853 Oct 21 11:30 ekko-lightbox.js
-rw-r--r-- 1 username staff 5214 Oct 21 11:30 front.js
-rw-r--r-- 1 username staff 5441 Oct 21 11:30 imagesloaded.pkgd.min.js
-rw-r--r-- 1 username staff 3238 Oct 21 11:30 jquery.cookie.js
-rw-r--r-- 1 username staff 96381 Oct 21 11:30 jquery.min.js
-rw-r--r-- 1 username staff 2712 Oct 21 11:30 jquery.scrollTo.min.js
-rw-r--r-- 1 username staff 23601 Oct 21 11:30 masonry.pkgd.min.js
-rw-r--r-- 1 username staff 14916 Oct 21 11:30 owl.carousel.min.js
And I'm still glad to share the files with you on Dropbox if you can give me an email address to use. I'm really grateful for any help you can give me. Thank you!
i got solution, just remove themedir="../.." in file config.toml
If you add theme via git submodule add <url theme>
. Your local (in your computer) theme will deactivated after you do git push
. So, you need to reactivating local git directory for submodule 'themes/hugo-creative-portfolio-theme'.
Enter to your theme directory:
cd <hugo directory>/themes`
then run:
git submodule add --force https://github.com/kishaningithub/hugo-creative-portfolio-theme
Your local theme will active again.
I had the same problem.
I've removed themes/* but I still had
module:
imports:
- path: github.com/mattesilver/hugo-goat-counter
theme:
- hugo-goat-counter
Just remove theme from the config
This can be fixed if you just add a themes directory to your project... bug to fix...
I'm sorry if this is a really dumb question, but I added the config.toml file to the top level of my /hugo-creative-portfolio-theme directory and edited it, but then when I ran
hugo server
in terminal I got this error:I don't understand what's it's asking for, and I haven't edited or moved any other files. Does the config.toml file need to go somewhere else? I'd appreciate any help anyone can give. Thanks!