Skip to content

Commit

Permalink
various updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalPasts committed Jul 27, 2023
1 parent bbcacaa commit de351a3
Show file tree
Hide file tree
Showing 45 changed files with 555 additions and 439 deletions.
8 changes: 8 additions & 0 deletions _includes/author_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@

</div>

{% if include.deprecated != null %}
<div class="deprecated">
<p>
This tutorial is deprecated!
</p>
</div>
{% endif %}

<div class="card-summary">
<p>
{{ include.summary }}
Expand Down
6 changes: 1 addition & 5 deletions _includes/link.html
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
{% if include.content != "" %}
<a href="{{ include.url }}" target="_blank">{{ include.content }}</a>
{% else %}
<a href="{{ include.url }}" target="_blank">{{ include.url }}</a>
{% endif %}
<a href="{{ include.url }}" target="_blank">{{ include.content }}</a>
11 changes: 6 additions & 5 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<header>

<!-- <div class="logo">
<a href="{{site.baseurl}}/index.html">openDANES</a>
</div> -->

<div class="navigation">
<ul>
<li><a href="{{site.baseurl}}/index.html">OpenDANES</a></li>
<!-- <li><a href="{{site.baseurl}}/index.html">OpenDANES</a></li> -->
<li class="logo">
<a href="{{site.baseurl}}/index.html">
<img src="{{site.baseurl}}/images/openDANES-logo.png" alt="logo">
</a>
</li>
<li><a href="{{site.baseurl}}/nav/about.html">About</a></li>
<li><a href="{{site.baseurl}}/nav/tutorials.html">Tutorials</a></li>
<li><a href="{{site.baseurl}}/nav/white-papers.html">White Papers</a></li>
Expand Down
4 changes: 4 additions & 0 deletions _site/assets/CSS/search-and-tags.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ a {
display: block;
color: transparent;
}
.author-card .deprecated p {
font-size: x-large !important;
font-weight: bold;
}
.author-card .card-summary {
padding: 5px 0px;
}
Expand Down
7 changes: 7 additions & 0 deletions _site/assets/CSS/search-and-tags.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ a {
}
}

.deprecated {
p {
font-size: x-large !important;
font-weight: bold;
}
}

.card-summary {
padding: 5px 0px;

Expand Down
31 changes: 9 additions & 22 deletions _site/assets/CSS/style_0.2.css
Original file line number Diff line number Diff line change
Expand Up @@ -263,41 +263,27 @@ header {
font-size: 25px;
font-weight: bold;
}
header .logo {
padding: 0 15px;
}
header .logo img {
max-height: 80px;
object-fit: contain;
padding: 5px 5px;
position: absolute;
left: 0;
top: 0;
}
header .logo a {
position: absolute;
padding: 20px 0;
text-decoration: none;
color: #FEFBF1;
left: 40px;
top: 0;
}
header .logo a:hover {
color: #feda75;
}
header ul {
display: flex;
list-style: none;
flex-wrap: nowrap;
align-items: center;
margin: 0;
padding: 0 !important;
}
header ul li {
margin: 0 3px;
padding: 20px 17px;
}
header ul li img {
max-height: 70px;
}
header ul li a {
text-decoration: none;
color: #FEFBF1;
transition: color 0.3s ease-in-out;
display: flex;
justify-content: center;
}
header ul li a:hover {
color: #feda75;
Expand All @@ -324,6 +310,7 @@ footer div h3 {
footer div a {
text-decoration: none;
color: #FEFBF1;
transition: color 0.3s ease-in-out;
}
footer div a i {
font-size: 25px;
Expand Down
61 changes: 36 additions & 25 deletions _site/assets/CSS/style_0.2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -351,31 +351,31 @@ header {
// top: 0;
// left: 0;

.logo {
padding: 0 15px;

img {
max-height: 80px;
object-fit: contain;
padding: 5px 5px;
position: absolute;
left: 0;
top: 0;
}

a {
position: absolute;
padding: 20px 0;
text-decoration: none;
color: $light-color;
left: 40px;
top: 0;

&:hover {
color: $contrast-color;
}
}
}
// .logo {
// padding: 0 15px;

// img {
// max-height: 70px;
// // object-fit: contain;
// // padding: 5px 5px;
// // position: absolute;
// // left: 0;
// // top: 0;
// }

// // a {
// // position: absolute;
// // padding: 20px 0;
// // text-decoration: none;
// // color: $light-color;
// // left: 40px;
// // top: 0;

// // &:hover {
// // color: $contrast-color;
// // }
// // }
// }

ul {
// float: right;
Expand All @@ -384,14 +384,24 @@ header {
list-style: none;
flex-wrap: nowrap;
align-items: center;
margin: 0;
padding: 0 !important;

li {
margin: 0 3px;
padding: 20px 17px;

img {
max-height: 70px;
}


a {
text-decoration: none;
color: $light-color;
transition: color 0.3s ease-in-out;
display: flex;
justify-content: center;

&:hover {
color: $contrast-color;
Expand Down Expand Up @@ -424,6 +434,7 @@ footer {
a {
text-decoration: none;
color: $light-color;
transition: color 0.3s ease-in-out;

i {
font-size: $icon-size;
Expand Down
17 changes: 7 additions & 10 deletions _site/assets/docs/submission_markdown_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ peer-review-date: null
update-date: null
reviewers: null
doi: null
deprecated: null
---

## Types of Headings
Expand Down Expand Up @@ -76,13 +77,11 @@ Unordered list:

## Links

Showing Link: Go to
<a href="https://digitalpasts.github.io/openDANES/index.html" target="_blank">https://digitalpasts.github.io/openDANES/index.html</a>
.
Showing Link: Go to <"https://digitalpasts.github.io/openDANES/index.html">.

Link Embedded in text: Go to the
<a href="https://digitalpasts.github.io/openDANES/index.html" target="_blank">OpenDANES journal</a>
.
Link Embedded in text: Go to the {% include link.html url="https://digitalpasts.github.io/openDANES/index.html" content="OpenDANES journal." %}

All period, commas, etc., must appear inside the content parameter, not outside of it.

## Footnotes

Expand Down Expand Up @@ -115,10 +114,8 @@ For other programming languages, change `python` to the the appropriate language

![Image placeholder](/openDANES/images/tutorials//image-1.jpg)

<p class="fig">Figure 1: This is the logo of CLTK</p>
{% include fig_legend.html content="Figure 1: This is the logo of CLTK" %}

When referencing an image, please only change the name and type of your image ("image-1.jpg" above).

When adding a legend, please change only the content variable ("Figure 1: This is the logo of CLTK") above.

## Notes
When adding a legend, please change only the content variable ("Figure 1: This is the logo of CLTK") above.
Binary file modified _site/favicon_io/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _site/favicon_io/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _site/favicon_io/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _site/favicon_io/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _site/favicon_io/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _site/favicon_io/favicon.ico
Binary file not shown.
Binary file added _site/images/openDANES-favicon2.xcf
Binary file not shown.
Binary file added _site/images/openDANES-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 17 additions & 6 deletions _site/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3EDJ22Y1C2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-3EDJ22Y1C2');
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -27,13 +36,14 @@
<body>
<header>

<!-- <div class="logo">
<a href="/openDANES/index.html">openDANES</a>
</div> -->

<div class="navigation">
<ul>
<li><a href="/openDANES/index.html">OpenDANES</a></li>
<!-- <li><a href="/openDANES/index.html">OpenDANES</a></li> -->
<li class="logo">
<a href="/openDANES/index.html">
<img src="/openDANES/images/openDANES-logo.png" alt="logo">
</a>
</li>
<li><a href="/openDANES/nav/about.html">About</a></li>
<li><a href="/openDANES/nav/tutorials.html">Tutorials</a></li>
<li><a href="/openDANES/nav/white-papers.html">White Papers</a></li>
Expand Down Expand Up @@ -87,12 +97,13 @@ <h3>Contact us</h3>
<div id="credits">
<p>openDANES is released under a CC-BY license</p>
<p>Hosted on Github Pages</p>
<p>last updated on May 03, 2023</p>
<p>last updated on July 27, 2023</p>
</div>

</footer>

</body>
<script src="/openDANES/assets/js/tag_click.js"></script>
<script src="/openDANES/assets/js/codeblock.js"></script>
<script src="https://hypothes.is/embed.js" async></script>
</html>
25 changes: 18 additions & 7 deletions _site/nav/DANES-resources.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3EDJ22Y1C2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-3EDJ22Y1C2');
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand Down Expand Up @@ -38,13 +47,14 @@
<a name="top"></a>
<header>

<!-- <div class="logo">
<a href="/openDANES/index.html">openDANES</a>
</div> -->

<div class="navigation">
<ul>
<li><a href="/openDANES/index.html">OpenDANES</a></li>
<!-- <li><a href="/openDANES/index.html">OpenDANES</a></li> -->
<li class="logo">
<a href="/openDANES/index.html">
<img src="/openDANES/images/openDANES-logo.png" alt="logo">
</a>
</li>
<li><a href="/openDANES/nav/about.html">About</a></li>
<li><a href="/openDANES/nav/tutorials.html">Tutorials</a></li>
<li><a href="/openDANES/nav/white-papers.html">White Papers</a></li>
Expand Down Expand Up @@ -121,14 +131,14 @@ <h3>Contact us</h3>
<div id="credits">
<p>openDANES is released under a CC-BY license</p>
<p>Hosted on Github Pages</p>
<p>last updated on May 03, 2023</p>
<p>last updated on July 27, 2023</p>
</div>

</footer>


<!-- javascript to place class on code element so highlighting will display correctly -->
<script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
var highlightElements = document.querySelectorAll("div.highlighter-rouge");
for (var i = 0; i < highlightElements.length; i++) {
Expand All @@ -149,4 +159,5 @@ <h3>Contact us</h3>
</body>
<script src="/openDANES/assets/js/codeblock.js"></script>
<script src="/openDANES/assets/js/toc-scroll.js"></script>
<script src="https://hypothes.is/embed.js" async></script>
</html>
Loading

0 comments on commit de351a3

Please sign in to comment.