Git Product home page Git Product logo

hyde-x's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyde-x's Issues

missing pull-right in css

pull-right css is missing e.g. as used in themes/hyde-x/layouts/_default/list.html. Also the html looks a bit unbalanced in that list.html.

small issue with sidebar width in reverse layout

When using the reverse layout the sidebar gets a bit wider when using non-post pages.

Example; I have an about.md in content and put this in the sidebar menu with menu = "main", when sleecting this in the menu the sidebar gets a bit wider.

This does not happen when using the "normal" layout.

hugo master produces Pagination error for content pages

ERROR: 2015/07/15 Error while rendering homepage: template: theme/index.html:4:21:
executing "theme/index.html" at <.Paginate>: error calling Paginate:
Paginators not supported for content pages.

I've looked around and don't immediately see why this breaks? Any suggestions?

Outdated config in README

The README contains an example config.toml that mentions indexes:

[indexes]
    # Optional. Use if you want tags and lists.
    category = "categories"

With newer versions of Hugo they've been replaced with taxonomies.

.Now will be deprecated with Hugo v0.20

.Now will be deprecated replaced with the now template function in Hugo v0.20 which eventually will be released on Monday. It's likely that the deprecation will cause builds to fail.

Add Accelerated Mobile Pages support

Accelerated Mobile Pages (AMP) is a Google-backed project to speed up page loading, particularly on mobile - https://www.ampproject.org/docs/get_started/about-amp.html

From a quick skim of their documentation I think it'd mostly be a few simple changes to the head.html partial. It may also be worth making the Disqus comments AMP-compatible (https://github.com/disqus/disqus-install-examples/tree/master/google-amp).

One note - we probably want to make AMP an option, since it does use a (free) Google cache as part of the speedup.

Unable to locate layout for 404 page

When I I am compiling with --verbose I see this message:

WARN: 2015/03/02 Unable to locate layout for 404 page: [404.html theme/404.html]

where should I put the 404.html file?

About page not styled by theme

Hello,

Thanks for this good theme, it's very nice. However I have an issue with the about page, it seems that the theme style is not applied to it.

You can see this difference in you website also, see blog pages and about page. Is this intended ?

Thanks and keep up with this awesome work !

Any recommended gulpfile or gruntfile or any other tool to optimize before deploying?

Hi, I've been looking for a _gulpfile_ or _gruntfile_ or any other easy to use tool to successfully optimize before deploying.

I ran into some build errors which, I read on the web, are actually related with font-awesome (or with certain versions of it) and other specific resources in use (or optionally in use) in Hyde-X.

Is anybody successfully optimizing, with which tool(s)?

I'd like it all if possible :) fetch remote resources, minify and concat of css, js and html.

Image distortion in smaller windows

Hello,
In smaller browser windows (e.g., iPhones), images would shrink in width but maintain a minimum height, causing distortion. I've found a relatively easy css update to fix it, though I’m not sure if there’s a better way or not. My fix can be added to the poole-overrides.css file:

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 5px;
}

Thanks!

URL's for CSS broken for baseurl of the form http://<foo.bar>/something/

Hello, you can see my test site here: http://echorand.me/test_site_hugo/ and the corresponding configuration at: https://github.com/amitsaha/test_site_hugo/blob/master/config.toml

As you can see in the source of the site above (view-source:http://echorand.me/test_site_hugo/), the links to CSS are broken. They are of the form http://echorand.me/css/poole.css whereas they should be http://echorand.me/test_site_hugo/css/poole.css

Does that seem like a valid bug? If yes, I would be happy to submit a fix.

_internal/pagination.html not working

Every time I try to build using the hyde-x theme, I receive the following error

Error while rendering homepage: html/template:theme/index.html:20:16: no such template "_internal/pagination.html"

Any ideia in what may be causing this?

Configurable taxonomy links

Right now it displays links for categories only. It would be nice to make this configurable so that other taxonomies such as tags (or new, user-defined taxonomies) may also be linked in a similar fashion. Furthermore it would also be nice to have an option to disable taxonomy links altogether.

I propose the following configuration option:

Links will be generated for these taxonomies

# Use to add links for categories, tags, etc.
# Example: [ "categories", "tags" ]
taxonomyItemsToLink = [ "categories" ]

I am starting on the code, will have a pull request available for review shortly

RSS link broken

Recently the RSS button was added but it hardcodes index.xml even though I have RssUri = "atom.xml" in my config.toml.

A grouped archive page for older posts

It would be cool to have a way to create an "archive" page that shows the older posts, maybe grouped by year/month. Hm, you won't see all the posts of a specific month/year, maybe make the month/year clickable to see all the posts of that month/year?

  • 2015
    • March (no posts in feb, so no month displayed?)
    • Jan
  • 2014
    • December
    • September
    • July

total number of posts on blog overview

Is there a way to limit the amount of posts to (for example) 10 on the overview page? After that a button like "archive" or "older" could get you to older pages.

Or did I just miss this feature/config setting?

Doesn't work

❯ hugo server --theme=hyde-x                                      
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x47ab4b]

goroutine 1 [running]:
text/template.errRecover(0xc2081d51d8)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:100 +0xbc
github.com/spf13/hugo/hugolib.(*pager).Pages(0x0, 0x0, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/pagination.go:55 +0x1b
reflect.Value.call(0xa261c0, 0xc2081c7db8, 0x1353, 0xa55570, 0x4, 0xd86060, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/Cellar/go/1.4/libexec/src/reflect/value.go:419 +0x10e5
reflect.Value.Call(0xa261c0, 0xc2081c7db8, 0x1353, 0xd86060, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4/libexec/src/reflect/value.go:296 +0xbc
text/template.(*state).evalCall(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xa261c0, 0xc2081c7db8, 0x1353, 0x7f5b3cac0228, 0xc20815b290, 0xc208186d8b, ...)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:567 +0xaa4
text/template.(*state).evalField(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xc208186d8b, 0x5, 0x7f5b3cac0228, 0xc20815b290, 0xc208186d90, 0x1, ...)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:478 +0x34b
text/template.(*state).evalFieldChain(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xa261c0, 0xc2081c7db8, 0x56, 0x7f5b3cac0228, 0xc20815b290, 0xc20818acf0, ...)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:449 +0x2ad
text/template.(*state).evalVariableNode(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xc20815b290, 0xc208186d90, 0x1, 0x1, 0x0, 0x0, ...)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:437 +0x344
text/template.(*state).evalCommand(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xc2081556b0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:364 +0xa49
text/template.(*state).evalPipeline(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xc2081ab590, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:332 +0x1a8
text/template.(*state).walkRange(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0xc208162880)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:245 +0x12e
text/template.(*state).walk(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0x7f5b3cac0270, 0xc208162880)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:178 +0x2a5
text/template.(*state).walk(0xc208163ac0, 0xa24320, 0xc2081281e0, 0x16, 0x7f5b3cac0558, 0xc20815b1a0)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:175 +0x862
text/template.(*Template).Execute(0xc208189980, 0x7f5b3cab96a0, 0xc2080b9180, 0xa24320, 0xc2081281e0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4/libexec/src/text/template/exec.go:155 +0x3f2
html/template.(*Template).ExecuteTemplate(0xc20803f5c0, 0x7f5b3cab96a0, 0xc2080b9180, 0xc208159b70, 0x10, 0xa24320, 0xc2081281e0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4/libexec/src/html/template/template.go:92 +0xc0
github.com/spf13/hugo/hugolib.(*Site).renderThing(0xc208148000, 0xa24320, 0xc2081281e0, 0xc208159b70, 0x10, 0x7f5b3cab96a0, 0xc2080b9180, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1449 +0x210
github.com/spf13/hugo/hugolib.(*Site).render(0xc208148000, 0xa984f0, 0x8, 0xa24320, 0xc2081281e0, 0xc2080b9180, 0xc208192680, 0x6, 0x8, 0x0, ...)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1424 +0x2c0
github.com/spf13/hugo/hugolib.(*Site).renderAndWritePage(0xc208148000, 0xa984f0, 0x8, 0xa52fd0, 0x1, 0xa24320, 0xc2081281e0, 0xc208192680, 0x6, 0x8, ...)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1387 +0xdf
github.com/spf13/hugo/hugolib.(*Site).RenderHomePage(0xc208148000, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1201 +0x178
github.com/spf13/hugo/hugolib.(*Site).Render(0xc208148000, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:395 +0x1a1
github.com/spf13/hugo/hugolib.(*Site).Build(0xc208148000, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:244 +0x84
github.com/spf13/hugo/commands.buildSite(0xc2081d5a27, 0x1, 0x1, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:342 +0xd2
github.com/spf13/hugo/commands.build(0xc2081d5b5e, 0x1, 0x1)
    /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:254 +0x2cb
github.com/spf13/hugo/commands.server(0xd76ae0, 0xc208032f00, 0x0, 0x1)
    /Users/spf13/gopath/src/github.com/spf13/hugo/commands/server.go:97 +0x58a
github.com/spf13/cobra.(*Command).execute(0xd76ae0, 0xc208032ee0, 0x1, 0x1, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/cobra/command.go:399 +0x38d
github.com/spf13/cobra.(*Command).findAndExecute(0xd760e0, 0xc20800a010, 0x2, 0x2, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/cobra/command.go:366 +0xd4
github.com/spf13/cobra.(*Command).Execute(0xd760e0, 0x0, 0x0)
    /Users/spf13/gopath/src/github.com/spf13/cobra/command.go:452 +0xab3
github.com/spf13/hugo/commands.Execute()
    /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:64 +0x2f
main.main()
    /Users/spf13/gopath/src/github.com/spf13/hugo/main.go:24 +0x2f

Scrollable/scalable sidebar

I've adapted this theme for use in a tutorial - it looks great, but one issue is that since the material is more static than a blog I'm using the sidebar to enumerate it. This works very well when the window is large enough, but on smaller screens the sidebar crops content without any way to scroll (at least on Chrome/OSX).

I'd like to figure out how to allow the sidebar to scroll and/or dynamically resize its content as appropriate. I may well look into this myself and send a pull request, but figured I'd file the issue here to let you know and welcome any thoughts you have. Thanks!

list view shows draft posts

When clicking on a post category, the list view opens. This list view shows every post, whether they're drafts or not.

A simple fix would be : (/layouts/_default/list.html)

{{ range .Data.Pages }}
    {{ if eq .Type "post"}}
        // content
    {{end }}
{{ end }}

So this project is no longer maintained?

Obviously for the latest version of hugo, this theme is completely unusable, there will be a lot of outdated code, and there will be a lot of errors when deploying.

~\code\blog took 3m53s
❯ hugo
Start building sites …
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66 windows/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
ERROR 2022/07/20 18:31:45 render of "taxonomy" failed: "C:\Users\x\code\blog\themes\hyde-x\layouts\_default\list.html:1:3": execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "C:\Users\x\code\blog\themes\hyde-x\layouts\partials\head.html:30:10": execute of template failed: template: partials/head.html:30:10: executing "partials/head.html" at <.RSSLink>: can't evaluate field RSSLink in type *hugolib.pageState
Error: Error building site: failed to render pages: render of "home" failed: "C:\Users\x\code\blog\themes\hyde-x\layouts\index.html:1:3": execute of template failed: template: index.html:1:3: executing "index.html" at <partial "head.html" .>: error calling partial: "C:\Users\x\code\blog\themes\hyde-x\layouts\partials\head.html:30:10": execute of template failed: template: partials/head.html:30:10: executing "partials/head.html" at <.RSSLink>: can't evaluate field RSSLink in type *hugolib.pageState
Total in 127 ms

I think maybe some pull requests solve these problems?

head.html - Bad value for attribute href on element link: Must be non-empty.

I've checked one of my blog-posts using W3C HTML validator and I had only one problem:

Line 24, Column 106: Bad value for attribute href on element link: Must be non-empty.
…ate" type="application/rss+xml" title="Panos Blog &middot; Panos Georgiadis" />
Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

This is because there's no link for RSS (or something like that):
<link href="" rel="alternate" type="application/rss+xml" title="Panos Blog &middot; Panos Georgiadis" />

This problem comes from the file /themes/hyde-x/layouts/partials/head.html

<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }} &middot; {{ .Site.Author.name }}" />

So, if I remove this line, the HTML Validator says that my blog-post is 100% compatible. However, should I remove it or there's another way around to get this fixed? e.g. why this href is empty? This seems to me like the .RSSlink is not defined.

PS: According to gohugoio/hugo#532 this is a theme issue. The RSS should be created only for the home page.

The touch icon filename

The icon filename is "touch-icon-144-precomposed.png", but referred to as "apple-touch-icon-144-precomposed.png" in head.html.

[request] A full page made from the sidebar

I'm sure that sounds vague; basically, I really like the sidebar, and since my site has no real content on it, I want to make an "under construction" page from it. It takes two changes, and possibly one more:

  • Sidebar color becomes background color
  • Sidebar content is centered on page
  • (Ideally) the ability to generate this page standalone so that it's just one HTML file.

That last one is presuming it doesn't depend on any static files that can't be in the page. Depending on Hugo's architecture, this may not be doable without needing a seperate theme directory that only makes this page. (I would probably use it anyway, honestly.)

portrait mode, showing page content after navigating from sidebar menu

Hi,

First of all: thanks to you and to all the ones who contributed to this port of such a beautiful theme.

I have implemented a quick and dirty solution to this minor issue: when in portrait mode (typical when navigating with a smartphone), after tapping/clicking into one of the sidebar menu links, the sidebar is still visible with no apparent changes, it's not evident that loading has finished and manual scroll down is necessary.

I modified a few files to add an anchor named pagetop, the old style (I'm putting my web dev knowledge a bit up to date during this process, but I really have to postpone any deeper learning ATM, so admittedly I don't know if it should be "sanitized", and I suspect it might be deprecated or banned in html5).

(You'll notice that my header in partials is split in two, I need to add code for jQuery lightgallery inside the header only in a certain type of single rendering.)

If you want to check how this quick fix works, this is my website http://www.nicolabernardelli.com/

In landscape mode there should be no visible difference, apart the less pretty URLs.

I'm not submitting a pull request because I'm sure you would prefer a more elegant solution not making URLs less pretty, like a java powered animation showing a very fast scroll down after loading finishes. (Besides, I'm not even sure that a solution is not already there and I'm just missing it, also considering that I cloned the repo a couple of weeks ago and changes have been merged since.)

However, just to clarify, here are separate diff files for the theme folder and the resulting public folder content (NO CHANGES to the content folder and nothing at all in the main layouts folder, all layouts are inside the theme tree):

THEME

diff -ur SOURCE__before_pagetop_anchor/themes/hyde-x-custom/layouts/index.html SOURCE__with_pagetop_anchor/themes/hyde-x-custom/layouts/index.html
--- SOURCE__before_pagetop_anchor/themes/hyde-x-custom/layouts/index.html   2015-08-15 18:30:17.092667700 -0300
+++ SOURCE__with_pagetop_anchor/themes/hyde-x-custom/layouts/index.html 2015-08-17 01:19:24.663380500 -0300
@@ -24,10 +24,10 @@
       {{ .Content }}
       {{ else if .Description }}
       <p>{{ .Description }}</p>
-      <a href="{{ .Permalink }}">Read On &rarr;</a>
+      <a href="{{ .Permalink }}#pagetop">Read On &rarr;</a>
       {{ else }}
       {{ .Summary }}
-      {{ if .Truncated }}<a href="{{ .Permalink }}">Read On &rarr;</a>{{ end }}
+      {{ if .Truncated }}<a href="{{ .Permalink }}#pagetop">Read On &rarr;</a>{{ end }}
       {{ end }}
     </div>
     {{ end }}
diff -ur SOURCE__before_pagetop_anchor/themes/hyde-x-custom/layouts/partials/head-end.html SOURCE__with_pagetop_anchor/themes/hyde-x-custom/layouts/partials/head-end.html
--- SOURCE__before_pagetop_anchor/themes/hyde-x-custom/layouts/partials/head-end.html   2015-08-15 18:20:52.718882600 -0300
+++ SOURCE__with_pagetop_anchor/themes/hyde-x-custom/layouts/partials/head-end.html 2015-08-17 01:06:42.686090700 -0300
@@ -1,3 +1,4 @@
 </head>
 <body{{ with .Site.Params.theme }} class="{{ . }}"{{ end }}>
 {{ partial "sidebar.html" . }}
+<a name="pagetop"></a>
diff -ur SOURCE__before_pagetop_anchor/themes/hyde-x-custom/layouts/partials/sidebar.html SOURCE__with_pagetop_anchor/themes/hyde-x-custom/layouts/partials/sidebar.html
--- SOURCE__before_pagetop_anchor/themes/hyde-x-custom/layouts/partials/sidebar.html    2015-08-16 02:27:07.926916000 -0300
+++ SOURCE__with_pagetop_anchor/themes/hyde-x-custom/layouts/partials/sidebar.html  2015-08-17 01:10:09.920865000 -0300
@@ -9,9 +9,9 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="{{ "/" | absURL }}">{{ if isset .Site.Params "home"}}{{ .Site.Params.home }}{{ else }}Blog{{ end }}</a></li>
+      <li class="sidebar-nav-item"><a href="{{ "/" | absURL }}#pagetop">{{ if isset .Site.Params "home"}}{{ .Site.Params.home }}{{ else }}Blog{{ end }}</a></li>
       {{ range .Site.Menus.main }}
-      <li class="sidebar-nav-item"><a href="{{ .URL | absURL }}">{{ .Name }}</a></li>
+      <li class="sidebar-nav-item"><a href="{{ .URL | absURL }}#pagetop">{{ .Name }}</a></li>
       {{end}}
     </ul>

Resulting public/ folder

$ diff -ur SOURCE__before_pagetop_anchor/public/ SOURCE__with_pagetop_anchor/public/
diff -ur SOURCE__before_pagetop_anchor/public/404.html SOURCE__with_pagetop_anchor/public/404.html
--- SOURCE__before_pagetop_anchor/public/404.html   2015-08-16 17:47:20.546437800 -0300
+++ SOURCE__with_pagetop_anchor/public/404.html 2015-08-17 10:55:24.999869300 -0300
@@ -45,11 +45,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -75,6 +75,7 @@
   </div>
 </div>

+<a name="pagetop"></a>


 <div class="content container">
diff -ur SOURCE__before_pagetop_anchor/public/About/index.html SOURCE__with_pagetop_anchor/public/About/index.html
--- SOURCE__before_pagetop_anchor/public/About/index.html   2015-08-16 17:47:20.518431200 -0300
+++ SOURCE__with_pagetop_anchor/public/About/index.html 2015-08-17 10:55:24.974868400 -0300
@@ -46,11 +46,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -76,6 +76,7 @@
   </div>
 </div>

+<a name="pagetop"></a>


    <div class="content container">
diff -ur SOURCE__before_pagetop_anchor/public/blog/2015/08/13/heart-attack/index.html SOURCE__with_pagetop_anchor/public/blog/2015/08/13/heart-attack/index.html
--- SOURCE__before_pagetop_anchor/public/blog/2015/08/13/heart-attack/index.html    2015-08-16 17:47:20.522431000 -0300
+++ SOURCE__with_pagetop_anchor/public/blog/2015/08/13/heart-attack/index.html  2015-08-17 10:55:24.981868900 -0300
@@ -45,11 +45,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -75,6 +75,7 @@
   </div>
 </div>

+<a name="pagetop"></a>

 <div class="content container">
   <div class="post">
diff -ur "SOURCE__before_pagetop_anchor/public/blog/2015/08/16/caj\303\263n-unplugged/index.html" "SOURCE__with_pagetop_anchor/public/blog/2015/08/16/caj\303\263n-unplugged/index.html"
--- "SOURCE__before_pagetop_anchor/public/blog/2015/08/16/caj\303\263n-unplugged/index.html"    2015-08-16 17:47:20.523432400 -0300
+++ "SOURCE__with_pagetop_anchor/public/blog/2015/08/16/caj\303\263n-unplugged/index.html"  2015-08-17 10:55:24.980868400 -0300
@@ -45,11 +45,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -75,6 +75,7 @@
   </div>
 </div>

+<a name="pagetop"></a>

 <div class="content container">
   <div class="post">
diff -ur SOURCE__before_pagetop_anchor/public/Gallery/index.html SOURCE__with_pagetop_anchor/public/Gallery/index.html
--- SOURCE__before_pagetop_anchor/public/Gallery/index.html 2015-08-16 17:47:20.513432500 -0300
+++ SOURCE__with_pagetop_anchor/public/Gallery/index.html   2015-08-17 10:55:24.976868600 -0300
@@ -51,11 +51,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -81,6 +81,7 @@
   </div>
 </div>

+<a name="pagetop"></a>


    <div class="content container">
diff -ur SOURCE__before_pagetop_anchor/public/index.html SOURCE__with_pagetop_anchor/public/index.html
--- SOURCE__before_pagetop_anchor/public/index.html 2015-08-16 17:47:20.531432100 -0300
+++ SOURCE__with_pagetop_anchor/public/index.html   2015-08-17 10:55:24.991869200 -0300
@@ -45,11 +45,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -75,6 +75,7 @@
   </div>
 </div>

+<a name="pagetop"></a>

 <div class="content container">

@@ -98,7 +99,7 @@
       </span>

       I have just arrived from the hospital and I can confirm that Nestor mood is quite fine. He unplugged himself from the monitoring system, grabbed a wood box very similar to a &ldquo;cajón&rdquo; (Wikipedia article) and started playing sitting on it. The nurse, who had been focusing on another patient, soon realized and came to stop the show. Alas, I can not publish any pictures, she told us that it is forbidden to shoot any in there, and I don&rsquo;t want to risk causing her any trouble.
-      <a href="http://www.nicolabernardelli.com/blog/2015/08/16/caj%C3%B3n-unplugged/">Read On &rarr;</a>
+      <a href="http://www.nicolabernardelli.com/blog/2015/08/16/caj%C3%B3n-unplugged/#pagetop">Read On &rarr;</a>

     </div>

@@ -113,7 +114,7 @@
       </span>

       This Blog starts with a heart attack. Nestor Astarita, drummer and leader of the Tribute to Miles Davis and Astor Piazzolla project, has just suffered one. Why not &ldquo;sadly&rdquo;? Because, even under this circumstance, &ldquo;he&rsquo;s as up, arriba, as he always is&rdquo;. Carola Faverio, his life mate, transmits news to us, we are not allowed to visit him. He&rsquo;s facing an urgent intervention today or tomorrow, which of course implies serious risks.
-      <a href="http://www.nicolabernardelli.com/blog/2015/08/13/heart-attack/">Read On &rarr;</a>
+      <a href="http://www.nicolabernardelli.com/blog/2015/08/13/heart-attack/#pagetop">Read On &rarr;</a>

     </div>

diff -ur SOURCE__before_pagetop_anchor/public/post/index.html SOURCE__with_pagetop_anchor/public/post/index.html
--- SOURCE__before_pagetop_anchor/public/post/index.html    2015-08-16 17:47:20.499430700 -0300
+++ SOURCE__with_pagetop_anchor/public/post/index.html  2015-08-17 10:55:24.961867900 -0300
@@ -45,11 +45,11 @@
     </div>

     <ul class="sidebar-nav">
-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/">Home &amp; Blog</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/#pagetop">Home &amp; Blog</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/">About</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/About/#pagetop">About</a></li>

-      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/">Gallery</a></li>
+      <li class="sidebar-nav-item"><a href="http://www.nicolabernardelli.com/Gallery/#pagetop">Gallery</a></li>

     </ul>

@@ -75,6 +75,7 @@
   </div>
 </div>

+<a name="pagetop"></a>

 <div class="content container">
   <ul class="posts">

Cheers!
JazzTp

rst and css

When I am writing my articles in ReStructured Test, my CCS is completely different from the one I am using with Markdown. Especially the code tags are not using the same hljs I am using with markdown. How can I have the same fonts and css, either with markdown or rst ?

Generates seemingly pointless "page1" directory

When running hugo, the generated output contains the file page1/index.html which seems to serve no purpose and doesn't seem to be referenced from anywhere else. Its contents are:

<!DOCTYPE html><html><head><link rel="canonical" href="http://www.example.com/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=http://www.example.com/" /></head></html>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.