xiam / luminos Goto Github PK
View Code? Open in Web Editor NEWMinimalist markdown server
Home Page: https://menteslibres.net/luminos
License: MIT License
Minimalist markdown server
Home Page: https://menteslibres.net/luminos
License: MIT License
Please helps us to choose by highlighting some differences
It seems that Luminos is about creating web sites? whereas Lanyon ? and AllMark?
https://github.com/mkaz/lanyon/
and https://github.com/andreaskoch/allmark
The new link is https://github.com/retext-project/retext
Just a cosmetic non-essential change I'd like to see. Backwards compatibility must be ensured.
TOML is easier to read and does not get confused by tabs or spaces. Backwards compatiblity must be ensured.
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.
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?
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 :)
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.
Currently there is a ugly "Page not found" message instead of a friendly page explaining the user that the page does not exists.
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.
go to https://menteslibres.net/luminos/
click anywhere
get unwanted new tab that opens to http://findbetterresults.com/?dn=hckr.org&pid=9PO755G95
the url
menteslibres.net/static/highlightjs/* all return 301 to https://d83wf7b5u32qs.cloudfront.net/ which has some reference to "parkingcrew" and "dragonparking"
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:
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
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:
$ 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
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.
http://plantuml.com support would be great bonus.
We're still using my stupid file modification watcher to find out when a page or a configuration file must be read from disk again. That could be a quick & dirty hack but it is too simple that works on all platforms, so that's fine for now.
Is https://github.com/howeyc/fsnotify mature enough to replace it? Is there an alternative that works on all platforms?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.