org-mode를 사용하여 웹 페이지를 게시하려고합니다. 두 가지 질문 :`org-publish-project-alist` 사용자 정의하기
- 방법을 "동기화"를
publishing-directory
에서base-directory
의 조직 모드 파일과 HTML 파일이 있습니까? 특히base-directory
에있는 org 파일을 삭제하면org-publish-html
도 html 디렉토리의 해당 파일을 삭제할 수 있습니까? 하위 디렉토리 내에 페이지가있는 경우 어떻게 루트 디렉토리에 하나의
.css
파일을 스타일 시트로 사용하도록 지정할 수 있습니까?으로 public_html/
- CSS/
- mystyle.css
- index.html을
- 하위 디렉터리/
- 인덱스를 다음과 같이 예를 들어, 내 디렉토리 구조는 .html
org-publish-project-alist
에서 다음과 같은 사양으로
- CSS/
(이 단지 일부) -
:publishing-directory "public_html"
:style "<link rel=\"stylesheet\" href=\"css/mystyle.css\" type=\"text/css\"/>"
mystyle.css
는 public_html/index.html
에 의해하지만 public_html/subdir/index.html
에 의해 사용된다. 이 간단한 해결 방법이 있습니까 (하위 시트의 두 파일/모든 파일에서 스타일 시트를 사용하고 싶습니다)?
덕분에 훨씬 ~
여기 너무 많이 ...하지만 그들을 시험해 보겠습니다. - 감사합니다! – hatmatrix