Giter Club home page Giter Club logo

luminos's People

Contributors

xiam avatar

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

Watchers

 avatar  avatar  avatar

luminos's Issues

Template index.tpl could not be found

I am so frustrated! Nothing is working for me today...

2013/12/14 12:56:12 Could not start Luminos: Error while reading settings file ./settings.yaml: Failed to initialize host default: Template index.tpl could not be found..

This is a 100% clean install of Luminos. It just simply doesn't want to run out of the box. I've tried copying it everywhere and changing the host location. I'm stumped. Anything else I should try?

PS: I've tried this on another computer. It still fails.

Modo de presentación

Quizás este divagando pero creo que se podría agregar alguna plantilla que permita el modo de presentación web.

Yo he empleado landslide para hacer esto, también se que existe el showOff.

Creo que una forma fácil de hacerlo es con el reveal-js, de esta forma se podría escribir en markdown presentaciones ocupando la linea vertical (------) como limite entre secciones que limitarían cada "diapositiva" (como lo hace el landslide)

¿No sé que opinas?

Failed to obtain absolute root URL

While I was locally deploying golang.mx site, I got really confused about the following piece of code for a Luminos template, more precisely the url function/tag:

<a class="brand" href="{{ url "/" }}">{{ setting "page/brand" }}</a>

Which outputs the following HTML code:

<a class="brand" href="//">golang.mx</a>

I think we all wanted it to output "/" in the href, and it would make sense to me, I checked the source code and found this part: https://github.com/xiam/luminos/blob/master/host/main.go#L102

Then I also tried

{{ url "" }} // empty string

Didn't work.

Is this a bug? Or I'm just ignorant of how Luminos 'url' function (?) works?

PS: I guess just using a direct '/' string would work for most of use cases, I just wanted to: 1) check if this is a bug, 2) file an issue to start cooperating with the project :)

Parse Jekyll compatible headers

A cool feature Jekyll has is the ability to recognize metadata on a file, this is done by adding special headers on the file, like these:


---
layout: post
title: Blogging Like a Hacker

---

See: http://jekyllrb.com/docs/frontmatter/

Using headers like Jekyll's will allow Luminos to display custom titles for directories and files.

Add 404 page.

Currently there is a ugly "Page not found" message instead of a friendly page explaining the user that the page does not exists.

go-import metatag missing from menteslibres.net/luminos

go get fails on the recommended path:

» go get -v menteslibres.net/luminos
Fetching https://menteslibres.net/luminos?go-get=1
Parsing meta tags from https://menteslibres.net/luminos?go-get=1 (status code 200)
import "menteslibres.net/luminos": parse https://menteslibres.net/luminos?go-get=1: no go-import meta tags
package menteslibres.net/luminos: unrecognized import path "menteslibres.net/luminos"
zsh: exit 1     go get -v menteslibres.net/luminos

I've confirmed this by manually checking https://menteslibres.net/luminos?go-get=1 , it looks like the import metadata has gone missing.

Parsing of Checkboxes

Should Luminos be able to render checkboxes? One of the accepted standard for checkboxes is:

  • [ ] (OBracket space CBracket) for an unchecked one,
  • [x] (OBracket x-letter CBracket ) for a checked one.

This would render something like this:

  • list syntax is required (any unordered or ordered list supported)
  • this is a complete item
  • this is an incomplete item

Failed to build on OSX 10.8.2 (goyaml)

aftering installing bzr a requirement for go/yaml

I get this error

go get -u menteslibres.net/luminos
launchpad.net/goyaml
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_alias’:
decode.go:34: warning: assignment from incompatible pointer type
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_mapping_start’:
decode.go:44: warning: assignment from incompatible pointer type
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_scalar’:
decode.go:54: warning: assignment from incompatible pointer type
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_sequence_start’:
decode.go:64: warning: assignment from incompatible pointer type

Root URL missing in SideMenu (fastcgi only)

Hi

I tried the newest version of luminos and there's a strange behavior: If I run luminos in standalone mode everything is fine. If I run lumunos in fastcgi mode (with nginx) the links in the SideMenu are wrong:

<a href="//myfolder/mymarkdown">Link</a>

should be

<a href="example.com/myfolder/mymarkdown">Link</a>

I use

{{ range .SideMenu }}
  <li>
    <a href="{{ url .link }}">{{ .text }}</a> 
  </li>
{{ end }}

in the template. I'm not sure if this has something to do with the issue "Failed to obtain absolute root URL".

Debian 7 32bit ; install error

Debian 7, 32bit:

$ go version
go version go1.0.2

$ sudo go get -u menteslibres.net/luminos
# menteslibres.net/gosexy/to
/usr/lib/go/src/pkg/menteslibres.net/gosexy/to/to.go:244: undefined: time.ParseInLocation
# code.google.com/p/go.net/html
/usr/lib/go/src/pkg/code.google.com/p/go.net/html/token.go:304: undefined: io.ErrNoProgress

Add per request context.

Some request variables (like "Host") could be useful for page rendering, as of today Luminos does not have a per request context. We need to find a way to create a per request context and save variables that will be only valid for the current requested page.

"go get" fails

Trying "go get" on Mac OS X 10.8.3 with go1.0.3 fails with:

package menteslibres.net/luminos: unrecognized import path "menteslibres.net/luminos"

screenshot_luminos_go_get

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.