Hi,
Playing with the Agency them and so ar I’m loving it’s simplicity!
Moving from a Wordpress monstrosity!
So, if I enable logos in _conf.yml, when I try to “bundle exec jekyll serve” I get a whole pile of gem errors. The second I disable logo site serves up correctly.
The changes I made were; (image is i correct location)
logo: #optional, defaults to site title
path: assets\img\dRev_px_x2.png
height: 60 #height in px, defaults to 52px
Errors (truncated) are;
bundle exec jekyll serve --trace
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
/opt/homebrew/lib/ruby/gems/3.4.0/gems/jekyll-4.4.1/lib/jekyll.rb:26: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.
bundler: failed to load command: jekyll (/opt/homebrew/lib/ruby/gems/3.4.0/bin/jekyll)
/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/psych/parser.rb:62:in ‘Psych::Parser#_native_parse’: (/Users/davids/Sites/agency-jekyll-theme-master/_config.yml): mapping values are not allowed in this context at line 23 column 6 (Psych::SyntaxError)
Second issue is I’m trying to rename portfolio to Clouds in nav and pages.
Found all instances and renamed, when I mouse click Clouds, the dist does not scroll down to the clouds section and URL gets appended with http://localhost:4000/#clouds
As soon as I uncomment the line with either mac or windows paths it fails.
Strangely, whilst I am on macOS, Windows paths work for the all the portfolio pages in markdown…
bundler: failed to load command: jekyll (/opt/homebrew/lib/ruby/gems/3.4.0/bin/jekyll)
/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/psych/parser.rb:62:in ‘Psych::Parser#_native_parse’: (/Users/davids/Sites/agency-jekyll-theme-master/_config.yml): mapping values are not allowed in this context at line 23 column 6 (Psych::SyntaxError)
Tried all those variations.
It’s failing on the logo line.
Ran it through an online YAML checker which also fails.
Not sure how to resolve as do need a company logon on my website!
Another option is I did covert my logo to a typeface a while back, maybe change that to a webfont and load it…