Skip to content

Commit

Permalink
Add brief example of Grantlee template to main page
Browse files Browse the repository at this point in the history
  • Loading branch information
steveire committed Aug 22, 2019
1 parent c21445f commit 2e7191f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ namespace Grantlee

@section overview Overview

%Grantlee is a Free Software, Open Source set of Qt based libraries.
%Grantlee is a Free Software, Open Source set of Qt based libraries used for text processing.

The text template is modelled after the [Django template system](https://docs.djangoproject.com/en/1.9/ref/templates/language/):

@code
<ul>
{% for athlete in athlete_list %}
<li>{{ athlete.name }}{% if athlete.isCaptain %} (C){% endif %}</li>
{% endfor %}
</ul>
@endcode

%Grantlee is covered by the GNU Lesser General Public Licence version 2.1 or, at your option, any later version.

Expand Down

0 comments on commit 2e7191f

Please sign in to comment.