OSDN Git Service

/authors: fix title
authorhylom <hylom@users.sourceforge.jp>
Fri, 29 Mar 2019 11:26:35 +0000 (20:26 +0900)
committerhylom <hylom@users.sourceforge.jp>
Fri, 29 Mar 2019 11:26:35 +0000 (20:26 +0900)
src/newslash_web/templates/authors/authors.html.tt2 [new file with mode: 0644]
src/newslash_web/templates/common/footer.html.tt2

diff --git a/src/newslash_web/templates/authors/authors.html.tt2 b/src/newslash_web/templates/authors/authors.html.tt2
new file mode 100644 (file)
index 0000000..b52e2f4
--- /dev/null
@@ -0,0 +1,126 @@
+[%- WRAPPER common/layout title="編集者紹介" -%]
+
+<div class="sidebar-wrapper">
+  <div class="index main-contents authors-list">
+    <article>
+
+      <header>
+        <h1>編集者紹介</h1>
+        <div>
+          「あいつナニモノ」とかたまに聞かれるので、テキトーに自己紹介。<br>
+        </div>
+      </header>
+
+      <div class="authors">
+        <dl>
+          [%- FOREACH author = authors %]
+          [%- IF author.uid > 0 && author.number_of_stories > 0%]
+          <dt>
+            <div class="title">
+              <span class="number-of-stories">[% author.number_of_stories %]</span>掲載
+
+              <span class="author-name">
+                [% IF author.config.info.homepage %]
+                <a href="[% author.config.info.homepage %]">[% author.nickname %]</a>
+                [% ELSE %]
+                <a href="/~[% author.nickname %]/">[% author.nickname %]</a>
+                [% END %]
+              </span>
+
+              <span class="link-to-journals">
+                [<a href="/~[% author.nickname %]/journal/">[%- author.nickname %]の日記</a>]
+              </span>
+
+            </div>
+          </dt>
+          <dd class="intro">[% IF author.config.info.biography %][% author.config.info.biography %][% ELSE %](自己紹介無し)[% END %]</dd>
+          [% END %]
+          [% END %]
+        </dl>
+      </div>
+      
+      <h2>退役された方々</h2>
+
+      <div class="authors">
+        <div>
+          2523掲載
+          <a href="http://srad.jp/~GetSet/">GetSet</a>
+          [<a href="http://srad.jp/%7EGetSet/journal/">GetSetの日記</a>]
+        </div>
+
+        <div>
+          1779掲載
+          <a href="http://srad.jp/%7EAcanthopanax/">Acanthopanax</a>
+          [<a href="http://srad.jp/%7EAcanthopanax/journal/">Acanthopanaxの日記</a>]
+        </div>
+
+        <div>
+          1092掲載
+          <a href="http://srad.jp/~yourCat/">yourCat</a>
+          [<a href="http://srad.jp/%7EyourCat/journal/">yourCatの日記</a>]
+        </div>
+
+        <div>
+          575掲載
+          <a href="http://srad.jp/~soara/">soara</a>
+          [<a href="http://srad.jp/%7Esoara/journal/">soaraの日記</a>]
+        </div>
+
+        <div>
+          153掲載
+          <a href="http://srad.jp/~koyhoge/">koyhoge</a>
+          [<a href="http://srad.jp/%7Ekoyhoge/journal/">koyhogeの日記</a>]
+        </div>
+
+        <div>
+          102掲載
+          <a href="http://srad.jp/~makeplex/">makeplex</a>
+          [<a href="http://srad.jp/%7Emakeplex/journal/">makeplexの日記</a>]
+        </div>
+
+        <div>
+          90掲載
+          <a href="http://srad.jp/~otk/">otk</a>
+          [<a href="http://srad.jp/%7Eotk/journal/">otkの日記</a>]
+        </div>
+
+        <div>
+          62掲載
+          <a href="http://yasu.asuka.net/">yasu</a>
+          [<a href="http://srad.jp/%7Eyasu/journal/">yasuの日記</a>]
+        </div>
+
+        <div>
+          47掲載
+          <a href="http://www.otsune.com/">Masafumi Otsune</a>
+          [<a href="http://srad.jp/%7EMasafumi Otsune/journal/">Masafumi Otsuneの日記</a>]
+      </div>
+
+  
+        <div>
+          45掲載
+          <a href="http://srad.jp/~morihide/">morihide</a>
+          [<a href="http://srad.jp/%7Emorihide/journal/">morihideの日記</a>]
+        </div>
+
+        <div>
+          21掲載
+          <a href="http://srad.jp/~kashibat-svt/">kashibat-svt</a>
+          [<a href="http://srad.jp/%7Ekashibat-svt/journal/">kashibat-svtの日記</a>]
+        </div>
+
+
+        <div>
+          14掲載
+          <a href="http://www.daionet.gr.jp/~knok/diary/">knok</a>
+          [<a href="http://srad.jp/%7Eknok/journal/">knokの日記</a>]
+        </div>
+      </div><!-- authors -->
+
+    </article>
+  </div>
+  
+  [%- INCLUDE common/sidebar -%]
+</div>
+
+[% END %]
index 8260e1c..5a4c100 100644 (file)
@@ -9,10 +9,10 @@
     <ul class="">
       <li><a href="/about">About</a></li>
       <li><a href="/faq/">FAQ</a></li>
-      <li><a href="https://srad.jp/story/">ストーリアーカイブ</a></li>
+      <li><a href="/story/">ストーリアーカイブ</a></li>
       <li><a href="https://srad.jp/hof">殿堂入り</a></li>
       <li><a href="https://osdn.net/ticket/newticket.php?group_id=10768">バグ報告</a></li>
-      <li><a href="https://srad.jp/authors/">編集者紹介</a></li>
+      <li><a href="/authors/">編集者紹介</a></li>
       <li><a href="https://srad.jp/topics.pl">トピック</a></li>
       <li><a href="http://osdn.co.jp/advertise/">広告掲載</a></li>
       <li><a href="http://osdn.co.jp/terms.shtml" rel="nofollow">利用規約</a></li>