Add long site description to about page

(Christoph) #1

As discourse becomes more and more popular, I increasingly find myself teleported to sone discourse forum via some link. And one of the first things I usually want to know is: Where am I? What is this forum about? And unless the site admins have done an exceptionally good job in formulating the essence of their site in a single sentence in site description (which is shown on the About page), it’s often not that easy to really understand what that forum is about.

How about adding a long site description field to the site settings and show it on the About page?

(Jeff Atwood) #2

So your argument is that a second, even longer field… will somehow get filled out, when the shorter, already existing field does not? :thinking:

(Christoph) #3

LOL, well, what I had in mind was not so much that the site description doesn’t get filled out (in my experience it usually does) but that it’s shortness is often not enough to convey what the forum really is about, especially when it’s something innovative/uncommon. For two reasons:

  1. It requires some thinking to boil down the essence of your seite into one sentence.
  2. If the site owner comes up with something decent, chances are that it’s more of a slogan than an actual description.

But even if the problem were that the short field doesn’t get filled out (or in a useless way), I would indeed think that there is at least a chance that the long field would get filled out. It’s so much easier to describe your seite in many words than to come up with an elevator pitch.


Any chance of getting the site description field to support HTML or at least weblinks? I figured the description on the about page would be a good place to link my users back to if they’re curious about the software :slight_smile:

I’ll stick the link on the FAQ page for now. I think the nicest long term solution would probably be to add a similar “About” topic to the Staff category of new installations and insert the text into a section of the About page, the same way it’s done with the FAQ, TOS and Privacy Policy system-created topics.

(Joe) #5

One option currently available is to override the About page template and add whatever you need in place of the short description with a theme component.

Here’s the part you need to replace

You can do something like this

<script type="text/x-handlebars" data-template-name="about">
{{#d-section pageClass="about"}}
  <div class='container'>
    <div class='contents clearfix body-page'>

      <ul class="nav-pills">
        <li class="nav-item-about">{{#link-to 'about' class="active"}}{{i18n 'about.simple_title'}}{{/link-to}}</li>
        {{#if faqOverriden}}
          <li class="nav-item-guidelines">{{#link-to 'guidelines'}}{{i18n 'guidelines'}}{{/link-to}}</li>
          <li class="nav-item-faq">{{#link-to 'faq'}}{{i18n 'faq'}}{{/link-to}}</li>
          <li class="nav-item-faq">{{#link-to 'faq'}}{{i18n 'faq'}}{{/link-to}}</li>
        <li class="nav-item-tos">{{#link-to 'tos'}}{{i18n 'terms_of_service'}}{{/link-to}}</li>
        <li class="nav-item-privacy">{{#link-to 'privacy'}}{{i18n 'privacy'}}{{/link-to}}</li>

    <section class='about description'>
	    <h2>{{i18n 'about.title' title=model.title}}</h2>
	    <p>Lorem ipsum dolor sit amet, eos et sint rebum voluptua, est labores ceteros laboramus eu, id mei petentium efficiendi. Ex philosophia interpretaris mea, sit aliquip omittam interpretaris in. Discere vocibus oporteat pro an, vis nonumes volumus recteque
		ut. Ex fuisset theophrastus est.</p>
	    <p>Eum epicurei philosophia ex, his at elit congue. Ius in simul viderer, an sale persius persequeris nec. Iusto liberavisse sed eu, ne his erroribus instructior, ius verear iuvaret moderatius id. Porro civibus qui in, usu sint tantas an, veniam laboramus
		eam et.</p>
	    <p>In quem vidit salutatus per, zril appareat ad pri. Nec ut affert menandri, ei summo audiam signiferumque mei. Te qui etiam mandamus gubergren, ut altera sensibus concludaturque mea. Eu erant option incorrupte vel, quo idque putant disputando eu, omnes
		timeam utamur cum at.</p>

      {{#if model.admins}}
        <section class='about admins'>
          <h3>{{d-icon "users"}} {{i18n 'about.our_admins'}}</h3>

          {{#each model.admins as |a|}}
            {{user-info user=a}}
          <div class='clearfix'></div>


      {{#if model.moderators}}
        <section class='about moderators'>
          <h3>{{d-icon "users"}} {{i18n 'about.our_moderators'}}</h3>

          <div class='users'>
            {{#each model.moderators as |m|}}
              {{user-info user=m}}
          <div class='clearfix'></div>

      <section class='about stats'>
        <h3>{{d-icon "bar-chart"}}  {{i18n 'about.stats'}}</h3>

        <table class='table'>
            <th>{{i18n 'about.stat.all_time'}}</th>
            <th>{{i18n 'about.stat.last_7_days'}}</th>
            <th>{{i18n 'about.stat.last_30_days'}}</th>
            <td class='title'>{{i18n 'about.topic_count'}}</td>
            <td>{{number model.stats.topic_count}}</td>
            <td>{{number model.stats.topics_7_days}}</td>
            <td>{{number model.stats.topics_30_days}}</td>
            <td>{{i18n 'about.post_count'}}</td>
            <td>{{number model.stats.post_count}}</td>
            <td>{{number model.stats.posts_7_days}}</td>
            <td>{{number model.stats.posts_30_days}}</td>
            <td>{{i18n 'about.user_count'}}</td>
            <td>{{number model.stats.user_count}}</td>
            <td>{{number model.stats.users_7_days}}</td>
            <td>{{number model.stats.users_30_days}}</td>
            <td>{{i18n 'about.active_user_count'}}</td>
            <td>{{number model.stats.active_users_7_days}}</td>
            <td>{{number model.stats.active_users_30_days}}</td>
            <td>{{i18n 'about.like_count'}}</td>
            <td>{{number model.stats.like_count}}</td>
            <td>{{number model.stats.likes_7_days}}</td>
            <td>{{number model.stats.likes_30_days}}</td>

      {{#if contactInfo}}
        <section class='about contact'>
            <h3>{{d-icon "envelope-o"}} {{i18n ''}}</h3>


in the </head> section of a theme

All you’re doing there is to copy the template and then replace


highlighted above with your custom html

You can preview this change on theme-creator

Changes on the handlebar templates not reflecting on the browser
Changes on the handlebar templates not reflecting on the browser