Giter Site home page Giter Site logo

how to change the port 8080? about misaki HOT 6 CLOSED

liquidz avatar liquidz commented on August 30, 2024
how to change the port 8080?

from misaki.

Comments (6)

liquidz avatar liquidz commented on August 30, 2024

You can change :port setting defined in _config.clj

https://github.com/liquidz/misaki/blob/master/samples/blog/_config.clj#L18

from misaki.

luckypoem avatar luckypoem commented on August 30, 2024

hi.
how to publish a post with source code?such as a audio/video post?
pls see here: http://msk.brite.biz/2013-10/wether-sunshine-or-rain.html,

as3:/misaki/samples/blog/template/posts# ls
2011-01-01-post1.html.clj 2013-10-25-test1.html.clj
2012-02-02-post2.html.clj 2013-10-25-test2.html.clj
2013-03-03-post3.html.clj 2013-10-25-test3.html.clj
2013-10-25-couple.html.clj 2013-10-25-wether-sunshine-or-rain.html.clj
as3:
/misaki/samples/blog/template/posts# cat 2013-10-25-wether-sunshine-or-rain.html.clj
; @layout post
; @title 风雨无阻
; @tag misc

#-CLJ

虽然周华健长得有点玩世不恭,但唱的情歌还是挺不错的.
CLJ
as3:~/misaki/samples/blog/template/posts#

so how should i edit the post which is with source code?

from misaki.

liquidz avatar liquidz commented on August 30, 2024

misaki's default compiler uses hiccup, so you can write source code as follows.

[:embed {:src "" :quality "" :width "" :height "" :align "" :allowscriptaccess "" :type ""}]

from misaki.

luckypoem avatar luckypoem commented on August 30, 2024

hi.
it's still useless.

as3:~/misaki/samples/blog/template/posts# cat 2013-10-25-wether-sunshine-or-rain.html.clj
; @layout post
; @title 风雨无阻
; @tag misc

#-CLJ
:embed {:src "http://player.youku.com/player.php/sid/XMjEzODIwODY0/v.swf" :width "500" :height "400" :type "application/x-shockwave-flash"}
虽然周华健长得有点玩世不恭,但唱的情歌还是挺不错的.
CLJ

or:
; @layout post
; @title 风雨无阻
; @tag misc

#-CLJ
[:embed {:src "http://player.youku.com/player.php/sid/XMjEzODIwODY0/v.swf" :width "500" :height "400" :type "application/x-shockwave-flash"}]
虽然周华健长得有点玩世不恭,但唱的情歌还是挺不错的.
CLJ

when u visit http://msk.brite.biz/2013-10/wether-sunshine-or-rain.html,it still cannot show the video.

from misaki.

liquidz avatar liquidz commented on August 30, 2024

Please write code outside of #-CLJ like follows.

; @layout post
; @title ...
; @tag misc

[:embed {:src "" :width ""}]

#-CLJ
.....
CLJ

from misaki.

luckypoem avatar luckypoem commented on August 30, 2024

this time,it's ok.tks

from misaki.

Related Issues (20)

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.