I’m not sure what I did, since I can’t find any source of error. I hope you guys can help me.
What happened is that i changed my index.html from this:
<div id="page-testimonials" class="lower-page-testimonials bg-photo testimonials">
<!-- curtains start-->
<div class="curtains testimonials"></div>
<!-- curtains end-->
<!-- center container start-->
<div class="center-container">
<!-- center block start-->
<div class="center-block">
<!-- container start-->
<div class="container sections">
<!-- row start-->
<div class="row">
<!-- testimonials start-->
<div id="testimonials">
<div class="testimonial">
<p>If you can't explain it to a six year old, you don't understand it yourself.</p>
<p></p>
<h6>― Albert Einstein</h6>
</div>
<div class="testimonial">
<p>Simplicity is the ultimate sophistication.</p>
<p></p>
<h6>― Leonardo da Vinci</h6>
</div>
<div class="testimonial">
<p>Simplicity is the glory of expression.</p>
<p></p>
<h6>― Walt Whitman</h6>
</div>
</div>
<!-- testimonials end-->
</div>
<!-- row end-->
</div>
<!-- container end-->
</div>
<!-- center block end-->
</div>
<!-- center container end-->
</div>
<!-- page testimonials end-->
<!-- page contact start-->
<div id="page-contact" class="lower-page">
<!-- center container start-->
<div class="center-container">
<!-- center block start-->
<div class="center-block">
<!-- container start-->
<div class="container sections">
<!-- row start-->
<div class="row">
<div class="col-md-6">
<h5 class="italiana">Where to find us</h5>
<h2 class="section-title section-italiana">Contact</h2>
</div>
<div class="col-md-6">
<!-- quote start-->
<div class="quote"><a class="internal-link open-hidden-container">Find us on Google Maps <i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i></a></div>
<!-- quote end-->
</div>
</div>
<!-- row end-->
<!-- row start-->
<div class="row">
<!-- divider start-->
<div class="dividerOT"></div>
<!-- divider end-->
</div>
<!-- row end-->
<!-- row start-->
<div class="row">
<div class="col-md-4"><span class="awesome-contact"><span class="fa fa-map-marker"></span></span>
<p>ex nihilo, Inc.<br> Touchdown Dr 1176</p>
</div>
<div class="col-md-4"><span class="awesome-contact"><span class="fa fa-mobile"></span></span>
<p>[00] 11 - 76<br> [01] 11 - 76</p>
</div>
<div class="col-md-4"><span class="awesome-contact"><span class="fa fa-paper-plane"></span></span>
<p><a href="mailto:info.artprojectunited@gmail.com">info.artprojectunited@gmail.com</a><br><a href="mailto:info.artprojectunited@gmail.com">info@yourdomainname.com</a></p>
</div>
</div>
<!-- row end-->
<!-- row start-->
<div class="row">
<!-- divider start-->
<div class="dividerOT"></div>
<!-- divider end-->
</div>
<!-- row end-->
<!-- row start-->
<div class="row">
<!-- contact form start-->
<div id="contact-form">
<form id="form" action="contact.php" method="post" name="send">
<div>
<input id="name" name="name" placeholder="Name" type="text" class="requiredField name">
</div>
<div>
<input id="email" name="email" placeholder="Email" type="text" class="requiredField email">
</div>
<div>
<input id="subject" name="subject" placeholder="Subject" type="text" class="requiredField subject">
</div>
<div>
<textarea id="message" name="message" placeholder="Message" class="requiredField message"></textarea>
</div>
<div>
<button id="submit" type="submit" class="submit-button">Submit</button>
</div>
</form>
</div>
<!-- contact form end-->
</div>
<!-- row end-->
</div>
<!-- container end-->
</div>
<!-- center block end-->
</div>
<!-- center container end-->
<!-- hidden container left start-->
<div class="hidden-container-left">
<!-- google maps start-->
<div id="map-wrapper">
<div id="map"></div>
</div>
<!-- google maps end-->
</div>
<!-- hidden container left end-->
<!-- hidden container start-->
<div class="hidden-container">
<div class="box-table">
<div class="box-cell"><span class="bt-nav close close-hidden-container open-hidden-container"><em>Close</em></span></div>
</div>
</div>
<!-- hidden container end-->
</div>
to this:
{{ partial "page-testimonial" }}
<!-- page testimonials end-->
<!-- page contact start-->
{{ partial "contact" }}
<!-- page contact end-->
<!-- page footer credits start-->
{{ partial "footer-credits" }}
<!-- page footer credits end-->
<!-- lightbox start-->
and since then the terminal gives me this:
Change detected, rebuilding site
2016-10-26 11:59 -0700
Template changed /Users/Enzo-Vezzaro/Desktop/artprojectunited-golang/layouts/index.html
panic: reflect: Zero(nil) [recovered]
panic: reflect: Zero(nil) [recovered]
panic: reflect: Zero(nil)
goroutine 131 [running]:
panic(0x61bfc0, 0xc42105a1c0)
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:500 +0x1a1
text/template.errRecover(0xc420b83310)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:146 +0x18e
panic(0x61bfc0, 0xc42105a1c0)
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:458 +0x243
text/template.errRecover(0xc420b825c8)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:146 +0x18e
panic(0x61bfc0, 0xc42105a1c0)
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:458 +0x243
reflect.Zero(0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.7.1/libexec/src/reflect/value.go:2104 +0x13d
text/template.(*state).validateType(0xc420b82548, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x764146)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:681 +0x5c1
text/template.(*state).evalArg(0xc420b82548, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9fba80, 0xc420b36f50, 0xc420dbf201, 0xc42105a1b0, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:727 +0x72b
text/template.(*state).evalChainNode(0xc420b82548, 0x0, 0x0, 0x0, 0xc4211e15c0, 0xc4202d04c0, 0x1, 0x1, 0x0, 0x0, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:496 +0xf9
text/template.(*state).evalCommand(0xc420b82548, 0x0, 0x0, 0x0, 0xc4201baf90, 0x0, 0x0, 0x0, 0xc420b82258, 0xc420f49110, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:424 +0x61c
text/template.(*state).evalPipeline(0xc420b82548, 0x0, 0x0, 0x0, 0xc420b36f00, 0x0, 0x4000106, 0x0)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:400 +0xee
text/template.(*state).walkRange(0xc420b82548, 0x0, 0x0, 0x0, 0xc4205e6180)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:309 +0xf3
text/template.(*state).walk(0xc420b82548, 0x0, 0x0, 0x0, 0x9fbae0, 0xc4205e6180)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:237 +0x59c
text/template.(*state).walk(0xc420b82548, 0x0, 0x0, 0x0, 0x9fb960, 0xc4201baf30)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:234 +0x13d
text/template.(*Template).execute(0xc4211e14c0, 0x9f1e20, 0xc420cc08c0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:189 +0x204
text/template.(*Template).Execute(0xc4211e14c0, 0x9f1e20, 0xc420cc08c0, 0x0, 0x0, 0x12, 0xc4201baea0)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:175 +0x53
html/template.(*Template).Execute(0xc4201baea0, 0x9f1e20, 0xc420cc08c0, 0x0, 0x0, 0xc420cbfd00, 0x12)
/usr/local/Cellar/go/1.7.1/libexec/src/html/template/template.go:104 +0x78
github.com/spf13/hugo/tpl.executeTemplate(0x0, 0x0, 0x9f1e20, 0xc420cc08c0, 0xc420cbfcc0, 0x2, 0x2)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/tpl/template.go:130 +0x11f
github.com/spf13/hugo/tpl.ExecuteTemplateToHTML(0x0, 0x0, 0xc420cbfcc0, 0x2, 0x2, 0x0, 0x0)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/tpl/template.go:147 +0xb5
github.com/spf13/hugo/tpl.partial(0xc420af6501, 0x4, 0xa634c0, 0x0, 0x0, 0x0, 0x0)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/tpl/template.go:116 +0x185
reflect.Value.call(0x639500, 0x767750, 0x13, 0x6e9cbc, 0x4, 0xc420cbfc80, 0x2, 0x1, 0xc420cbfc60, 0x1, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x639500, 0x767750, 0x13, 0xc420cbfc80, 0x1, 0x1, 0x9fbb40, 0xc4211e0380, 0x61bfc0)
/usr/local/Cellar/go/1.7.1/libexec/src/reflect/value.go:302 +0xa4
text/template.(*state).evalCall(0xc420b83290, 0x6d4e40, 0xc420b88c00, 0x16, 0x639500, 0x767750, 0x13, 0x9fb780, 0xc4201bf4d0, 0xc420af64f8, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:658 +0x530
text/template.(*state).evalFunction(0xc420b83290, 0x6d4e40, 0xc420b88c00, 0x16, 0xc4201bf530, 0x9fb780, 0xc4201bf4d0, 0xc42028b380, 0x2, 0x2, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:530 +0x195
text/template.(*state).evalCommand(0xc420b83290, 0x6d4e40, 0xc420b88c00, 0x16, 0xc4201bf4d0, 0x0, 0x0, 0x0, 0xc420b830e0, 0x2b9aef, ...)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:427 +0x6f7
text/template.(*state).evalPipeline(0xc420b83290, 0x6d4e40, 0xc420b88c00, 0x16, 0xc42052d770, 0x0, 0x0, 0x98)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:400 +0xee
text/template.(*state).walk(0xc420b83290, 0x6d4e40, 0xc420b88c00, 0x16, 0x9fb600, 0xc4201bf560)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:226 +0x423
text/template.(*state).walk(0xc420b83290, 0x6d4e40, 0xc420b88c00, 0x16, 0x9fb960, 0xc4202dbf20)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:234 +0x13d
text/template.(*Template).execute(0xc420b73a00, 0x9f1e20, 0xc420f9e5b0, 0x6d4e40, 0xc420b88c00, 0x0, 0x0)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:189 +0x204
text/template.(*Template).Execute(0xc420b73a00, 0x9f1e20, 0xc420f9e5b0, 0x6d4e40, 0xc420b88c00, 0x6f2388, 0xa)
/usr/local/Cellar/go/1.7.1/libexec/src/text/template/exec.go:175 +0x53
html/template.(*Template).Execute(0xc4202dbec0, 0x9f1e20, 0xc420f9e5b0, 0x6d4e40, 0xc420b88c00, 0xa, 0xc4202dbec0)
/usr/local/Cellar/go/1.7.1/libexec/src/html/template/template.go:104 +0x78
github.com/spf13/hugo/hugolib.(*Site).renderThing(0xc4200902c0, 0x6d4e40, 0xc420b88c00, 0x6f2388, 0xa, 0x9f1e20, 0xc420f9e5b0, 0x61bfc0, 0x1bf663)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/hugolib/site.go:2436 +0x96
github.com/spf13/hugo/hugolib.(*Site).renderForLayouts(0xc4200902c0, 0x6eff8f, 0x8, 0x6d4e40, 0xc420b88c00, 0x9f1e20, 0xc420f9e5b0, 0xc420ebec40, 0x4, 0x4, ...)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/hugolib/site.go:2408 +0x22a
github.com/spf13/hugo/hugolib.(*Site).renderAndWritePage(0xc4200902c0, 0x6eff8f, 0x8, 0x6e8d56, 0x1, 0x6d4e40, 0xc420b88c00, 0xc420ebec40, 0x4, 0x4, ...)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/hugolib/site.go:2316 +0x128
github.com/spf13/hugo/hugolib.(*Site).renderHomePage(0xc4200902c0, 0x6fc600, 0x16, 0x0)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/hugolib/site.go:2016 +0x1a9
github.com/spf13/hugo/hugolib.(*Site).render(0xc4200902c0, 0x101, 0x0)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/hugolib/site.go:824 +0x1b8
github.com/spf13/hugo/hugolib.(*HugoSites).Rebuild(0xc4203047e0, 0x101, 0x0, 0xc420493240, 0x1, 0x1, 0x0, 0x0)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/hugolib/hugo_sites.go:304 +0x39b
github.com/spf13/hugo/commands.rebuildSites(0xc420493240, 0x1, 0x1, 0x17, 0x0)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/commands/hugo.go:673 +0x6e
github.com/spf13/hugo/commands.NewWatcher.func1(0xc420c79e00)
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/commands/hugo.go:889 +0xfe7
created by github.com/spf13/hugo/commands.NewWatcher
/private/tmp/hugo-20161007-2863-u732tu/hugo-0.17/src/github.com/spf13/hugo/commands/hugo.go:902 +0x14a
I’ve been trying to troubleshooting myself, but i couldn’t find any fix.
Thank you very much Guys.