Skip to content

Commit 4d71501

Browse files
committed
Update HeatConduction2DFin.html to dynamically display the current year and simplify license information
1 parent 157c1d9 commit 4d71501

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

examples/solidHeatTransferScript/HeatConduction2DFin/HeatConduction2DFin.html

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,15 @@ <h1>Heat Conduction in a Two-Dimensional Fin Example</h1>
3333
The mesh configuration and boundary conditions are defined directly within the JavaScript code in this
3434
example. Please refresh the page to update the results. Detailed instructions for this example can be
3535
found in the corresponding
36-
<a
37-
href="https://feascript.com/tutorials/HeatConduction2DFin.html"
38-
target="_blank"
39-
>FEAScript tutorial</a
36+
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html" target="_blank">FEAScript tutorial</a
4037
>. If you need further assistance, you can visit the
4138
<a href="https://feascript.com/" target="_blank">FEAScript website</a>.
4239
</p>
4340

44-
<p>
45-
FEAScript is distributed under the terms of the
46-
<a href="https://github.com/FEAScript/FEAScript-core/blob/main/LICENSE" target="_blank">MIT license</a>. © 2024 FEAScript.
47-
</p>
41+
<p>&#169; 2023-<span id="currentYear"></span> FEAScript</p>
42+
<script>
43+
document.getElementById("currentYear").innerHTML = new Date().getFullYear();
44+
</script>
4845

4946
<!-- FEAScript module and visualization -->
5047
<script type="module">

0 commit comments

Comments
 (0)