Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (37 sloc) 2.27 KB
<div class="jumbotron text-center">
<h1 class="jumbotron-heading"><%= t('blacklight.welcome') %></h1>
<p class="lead">Blacklight is a multi-institutional open-source collaboration building a better discovery platform framework.</p>
<p>
<%= link_to 'Read the Documentation', 'https://github.com/projectblacklight/blacklight/wiki', class: 'btn btn-primary' %>
<%= link_to 'See Examples', 'http://projectblacklight.org', class: 'btn btn-outline-secondary' %>
</p>
</div>
<div id="getting-started">
<h2>Here’s how to get started customizing your application:</h2>
<p>There are many ways to override specific behaviors and views in Blacklight. Because Blacklight is distributed as a Rails engine-based gem, all customization of Blacklight behavior should be done within your application by overriding Blacklight-provided behaviors with your own.</p>
<p>
<ol>
<li>To modify this text, you need to <a href="http://guides.rubyonrails.org/engines.html#improving-engine-functionality">override the Blacklight-provided view</a>.
You can copy this file, located in the blacklight gem: <br />
<%= Blacklight.root %>/app/views/catalog/_home_text.html.erb <br />
to your own application: <br />
<%= Rails.root %>/app/views/catalog/_home_text.html.erb
</li>
<li><a href="https://github.com/projectblacklight/blacklight/wiki/Indexing-your-data-into-solr">Index your own data</a> into Solr</li>
<li><a href="https://github.com/projectblacklight/blacklight/wiki#blacklight-configuration">Configure Blacklight</a> to match your data and user-experience needs</li>
<li><a href="https://github.com/projectblacklight/blacklight/wiki#support">Get in touch</a> with your comments, questions, and ideas</li>
</ol>
</p>
</div>
<%# This is the same panel shown in the Rails welcome template %>
<div id="about" class="card">
<h2 class='card-header collapsed collapse-toggle' data-toggle="collapse" data-target="#about-content"><a href="/rails/info/properties">About your application&rsquo;s environment</a></h2>
<div id="about-content" class="card-body collapse"></div>
</div>
<script>
Blacklight.onLoad(function() {
$('#about .card-header').one('click', function() {
$($(this).data('target')).load($(this).find('a').attr('href'));
});
});
</script>