Thanks for the quick response. Unfortunately, when I run that, what I get
is what appears to be a directory listing of webpages

css/
js/
main.css
main.html

 It's actually a list of hrefs to these:

<pre>
<a href="css/">css/</a>
<a href="js/">js/</a>
<a href="main.css">main.css</a>
<a href="main.html">main.html</a>
</pre>
However, if I

   - duplicate the file main.html,
   - name the copy index.html, and
   - place it into the same webpages directory,

it works! I.e., index.html is properly displayed, and it uses the css and
js files that are in the respective subdirectories of the webpages
directory.

But I don't know why this happens [well, obviously, I read somewhere that
index.html is special -- that's why I tried it -- but that's not an
explanation], and I'd really like to be able to name the html file
something other than index.

Can someone explain the magic Go incantation that would display main.html
instead of index.html?

Many thanks!

P.S. If anyone wants, I can (try to) upload the html, js, and css files
(they're short).

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to