comparison pages/index.md @ 241:598d7f098082

Overhaul website, less JavaScript, more FontAwesome.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Thu, 18 Mar 2021 15:59:24 +0900
parents 236c0b1f7515
children 41e6507acab4
comparison
equal deleted inserted replaced
240:fd916b69fb1d 241:598d7f098082
1 --- 1 ---
2 layout: default 2 layout: default
3 permalink: index 3 permalink: index
4 --- 4 ---
5 5
6 <!--
6 <div class="primary callout" data-closable> 7 <div class="primary callout" data-closable>
7 Need help? Try out our new user and developer forum 8 Need help? Try out our new user and developer forum
8 <a href="https://octave.discourse.group/">Octave Discourse</a>. 9 <a href="https://octave.discourse.group/">Octave Discourse</a>.
9 <button class="close-button" aria-label="Dismiss alert" type="button" data-close> 10 <button class="close-button" aria-label="Dismiss alert" type="button" data-close>
10 <span aria-hidden="true">&times;</span> 11 <span aria-hidden="true">&times;</span>
11 </button> 12 </button>
12 </div> 13 </div>
14 -->
13 15
14 <div class="grid-x grid-margin-x"> 16 <div class="grid-x grid-margin-x">
15 <div class="cell medium-6"> 17 <div class="cell medium-4 align-top">
16 <a href="#" data-open="meshModal"> 18 <a href="#" data-open="meshModal">
17 <img src="{{ "/img/example-mesh.svg" | relative_url }}" 19 <img src="{{ "/img/example-mesh.svg" | relative_url }}"
18 style="height: 400px; width: auto;" alt="Example mesh"> 20 style="max-height: 250px; width: auto;" alt="Example mesh">
19 </a> 21 </a>
20 </div> 22 </div>
21 <div class="cell auto"> 23 <div class="cell auto">
22 <h2 class="landing-page-logo"> 24 <h2 class="landing-page-logo">
23 <img src="{{ "/img/octave-logo.svg" | relative_url }}" 25 <img src="{{ "/img/octave-logo.svg" | relative_url }}"
29 <ul> 31 <ul>
30 <li>Powerful mathematics-oriented syntax with built-in 2D/3D plotting and visualization tools</li> 32 <li>Powerful mathematics-oriented syntax with built-in 2D/3D plotting and visualization tools</li>
31 <li>Free software, runs on GNU/Linux, macOS, BSD, and Microsoft Windows</li> 33 <li>Free software, runs on GNU/Linux, macOS, BSD, and Microsoft Windows</li>
32 <li>Drop-in compatible with many Matlab scripts</li> 34 <li>Drop-in compatible with many Matlab scripts</li>
33 </ul> 35 </ul>
34 <div class="button-group stacked">
35 <a href="{{ "download.html" | relative_url }}" class="button">Download</a>
36 <a href="{{ site.docs_url }}" class="button">Documentation</a>
37 </div>
38 </div> 36 </div>
39 </div> 37 </div>
40 38
41 39
42 ### Syntax Examples 40 ### Syntax Examples
91 <a href="#" class="button small-only-expanded" data-open="plotModal">Click here to see the plot output</a> 89 <a href="#" class="button small-only-expanded" data-open="plotModal">Click here to see the plot output</a>
92 </div> 90 </div>
93 </div> 91 </div>
94 92
95 93
96 ### Octave Packages 94 ### <i class="fas fa-box"></i> Octave Packages
97 95
98 GNU Octave can be extended by packages, similar to Matlab's toolboxes. 96 GNU Octave can be extended by packages. Find them at:
99 Find packages at:
100 - [Octave Forge]({{ site.sourceforge_url }}) 97 - [Octave Forge]({{ site.sourceforge_url }})
101 - [Package extensions index]({{ site.pkg_index_url }}) 98 - [Package extensions index]({{ site.pkg_index_url }})
102 99
103 100
104 ### Development 101 ### <i class="fas fa-tools"></i> Development
105 102
106 Octave is free software licensed under the 103 Octave is free software licensed under the
107 [GNU General Public License (GPL)]({{ "license.html" | relative_url }}). 104 [GNU General Public License (GPL)]({{ "license.html" | relative_url }}).
108 Assuming you have Mercurial installed on your machine you may obtain the latest 105 Assuming you have Mercurial installed on your machine you may obtain the latest
109 development version of Octave sources with the following command: 106 development version of Octave sources with the following command:
110 107
111 ``` 108 ```
112 hg clone https://www.octave.org/hg/octave 109 hg clone https://www.octave.org/hg/octave
113 ``` 110 ```
114 111
115 [Get involved]({{ "/get-involved.html" | relative_url }}) in Octave development. 112 ### <i class="fas fa-rss"></i> [News]({{ "/news.html" | relative_url }})
116
117 113
118 {% assign latest_post = site.posts.first %} 114 {% assign latest_post = site.posts.first %}
119 {% if latest_post %} 115 {% if latest_post %}
120 <div class="primary callout"> 116 <div class="primary callout">
121 <a class="float-right button tiny warning" href="{{ "/feed.xml" | relative_url }}"> 117 <a class="float-right button tiny warning" href="{{ "/feed.xml" | relative_url }}">
122 RSS 118 RSS
123 </a> 119 </a>
124 <h3 class="entry-title"> 120 <p>
125 <a href="{{ latest_post.url | relative_url }}">{{ latest_post.title }}</a> 121 <strong><a href="{{ latest_post.url | relative_url }}">{{ latest_post.title }}</a></strong>
126 </h3> 122 &ndash; {{ latest_post.date | date: "%b %-d, %Y" }}
127 <p class="post-meta">{{ latest_post.date | date: "%b %-d, %Y" }}</p> 123 </p>
128 <div class="entry-content">{{ latest_post.excerpt }}</div> 124 <div class="entry-content">{{ latest_post.excerpt }}</div>
129 </div> 125 </div>
130 {% endif %} 126 {% endif %}
131 127
132 <div class="large reveal" id="meshModal" data-reveal> 128 <div class="large reveal" id="meshModal" data-reveal>