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

[bug] undefined: hugolib.NewPage #6

Open
luminousmen opened this issue Feb 13, 2017 · 4 comments
Open

[bug] undefined: hugolib.NewPage #6

luminousmen opened this issue Feb 13, 2017 · 4 comments

Comments

@luminousmen
Copy link

On go build:

# github.com/stayradiated/rango/rangolib
rangolib/page.go:34: undefined: hugolib.NewPage

go version 1.7
ubuntu 16.04

@aiosk
Copy link

aiosk commented Feb 27, 2017

can confirm

$ go version
go version go1.8 windows/amd64
$ uname -a
MINGW64_NT-6.3 <computer_name> 2.4.0(0.292/5/3) 2016-01-05 14:13 x86_64 Msys

i found some fixes
jbarone/ghostToHugo@e6f3b36#diff-74e5c754494e2cde29e45ea9d128e8fd

@philmcclure
Copy link

philmcclure commented Mar 14, 2017

I tried those fixes and they don't work.

This issue has been open for nearly a month, is anyone still working on this?

@sredxny
Copy link

sredxny commented Apr 21, 2017

Hi, the same problem here! this is my Go version: go version go1.8 linux/amd64

@sredxny
Copy link

sredxny commented Apr 21, 2017

I made it work doing it:

  • go to github.com/stayradiated/rango/rangolib

  • open page.go

  • comment page, err := hugolib.NewPage(p.Path)

  • add:

site, err := hugolib.NewSiteDefaultLang()
page, err := site.NewPage(p.Path)

- Then `cd ..` and `go build`

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

4 participants