소스 검색

Open pages linked from admin UI in new window

tags/v0.5.0
Matt Baer 5 년 전
부모
커밋
d2f89c6360
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      templates/user/admin.tmpl

+ 2
- 2
templates/user/admin.tmpl 파일 보기

@@ -60,14 +60,14 @@ function savePage(el) {
<h2>Site</h2>

<h3 id="page-about">About page</h3>
<p>Describe what your instance is <a href="/about">about</a>. <em>Accepts Markdown</em>.</p>
<p>Describe what your instance is <a href="/about" target="page">about</a>. <em>Accepts Markdown</em>.</p>
<form method="post" action="/admin/update/about" onsubmit="savePage(this)">
<textarea id="about-editor" class="section codable norm edit-page" name="content">{{.AboutPage}}</textarea>
<input type="submit" value="Save" />
</form>

<h3 id="page-privacy">Privacy page</h3>
<p>Outline your <a href="/privacy">privacy policy</a>. <em>Accepts Markdown</em>.</p>
<p>Outline your <a href="/privacy" target="page">privacy policy</a>. <em>Accepts Markdown</em>.</p>
<form method="post" action="/admin/update/privacy" onsubmit="savePage(this)">
<textarea id="privacy-editor" class="section codable norm edit-page" name="content">{{.PrivacyPage}}</textarea>
<input type="submit" value="Save" />


불러오는 중...
취소
저장