0
저는 방금 NHaml으로 시작하여 걸림 거리를 만났습니다.NHaml에서 태그 속성을 지정할 때 오류가 발생했습니다.
이 내 application.haml 파일 : 나는 그것을 작동 %link
로 시작하는 줄을 제거하면
NHaml.Exceptions.SyntaxException: The attribute ',' is occurs twice.
: 나는 다음과 같은 오류가 발생 브라우저에서 볼 때
%html
%head
%title = Get Some Data
%link{ href="/media/css/styles.css", rel="Stylesheet", type="text/css" }
%body
%div.page
%h1 = Get Some Data
_
벌금. 내가 도대체 뭘 잘못하고있는 겁니까?
나는 단계별 브라이언 Hartsock에서 다음입니다 : 브라이언 튜토리얼 쓴 이후
http://blog.brianhartsock.com/2009/01/15/using-nhaml-from-source/#nhaml_reference