Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

str must be a string! #47

Open
ahribori opened this issue Nov 4, 2017 · 5 comments
Open

str must be a string! #47

ahribori opened this issue Nov 4, 2017 · 5 comments

Comments

@ahribori
Copy link

ahribori commented Nov 4, 2017

_config.yml 파일에 description 설정을 공란으로 남겨둘 시 다음의 에러가 발생합니다.

Unhandled rejection TypeError:  (생략) themes\overdose\layout\includes\head.pug:9
    7| - pageTitle = pageTitle ? pageTitle += ' | ' + config.title : config.title;
    8| - var banner = bannerOf(page) || theme.default.url;
  > 9| -
    10|   var description = truncate(
    11|     strip_html(page.content) || config.description || theme.profile.description,
    12|     {

str must be a string!
@HyunSeob
Copy link
Owner

HyunSeob commented Nov 5, 2017

이슈 제보 감사합니다! 빠른 시일 내 픽스할게요 😄

@TheBestJohn
Copy link

TheBestJohn commented Apr 29, 2018

Was playing around with this theme on my personal blog and it kept failing to generate. The issue looked like the following,

TypeError: /blog/themes/overdose/layout/includes/head.pug:9
    7| - pageTitle = pageTitle ? pageTitle += ' | ' + config.title : config.title;
    8| - var banner = bannerOf(page) || theme.default.url;
  > 9| -
    10|   var description = truncate(
    11|     strip_html(page.content) || config.description || theme.profile.description,
    12|     {

str must be a string!

it looks as if it needs to have the description filled out in the main site config file for it to generate anything at all.

In the meantime, add a description and that should solve your issue

@jmpark6846
Copy link

같은 에러가 있었었는데 감사합니다.

@SungmanHan
Copy link

description 을 작성해도 같은 에러가..

@TheBestJohn
Copy link

_config.yml 파일에 설명을 설정해야합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants