Skip to content

Commit 09665b1

Browse files
committed
updates pages
1 parent 2e8a25e commit 09665b1

18 files changed

+71
-49
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description: > # this means to ignore newlines until "baseurl:"
1515
1616
#baseurl: "" # the subpath of your site, e.g. /blog
1717
url: "https://specfem.org" # the base hostname & protocol for your site
18+
bsky_username: specfem
1819
twitter_username: specfem
1920
#github_username: SPECFEM
2021
google_analytics: G-52SC88JL20

_includes/citation_button.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% assign num_pubs=231%}
2-
{% assign num_cites=28203%}
2+
{% assign num_cites=28873%}
33

44
<div style="text-align: center;">
55

_includes/sections/front-default.html

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,31 @@
2626
</div>
2727

2828
{% if section.title == 'Connect' %}
29-
<!-- twitter box -->
30-
<div class="twitterbox">
29+
<br>
30+
<br>
31+
32+
<!-- bsky box -->
33+
<div class="socialmediabox halfbox">
34+
35+
<blockquote class="bluesky-embed" data-bluesky-uri="at://did:plc:ubxb2peejx2pmnbuznapddke/app.bsky.feed.post/3lbeqq3swtc2m" data-bluesky-cid="bafyreia5qjwzqo65vtmkcqe22ddqsoe7qtytpzv5rnib24rjfdzzqurrzm">
36+
<p lang="en">#SPECFEM is a family of spectral-element codes for computational seismology - stay tuned for code updates and fun examples here on bluesky. for more details, you&#x27;ll find me at specfem.org<br><br><a href="https://bsky.app/profile/did:plc:ubxb2peejx2pmnbuznapddke/post/3lbeqq3swtc2m?ref_src=embed">[image or embed]</a></p>&mdash; specfem (<a href="https://bsky.app/profile/did:plc:ubxb2peejx2pmnbuznapddke?ref_src=embed">@specfem.bsky.social</a>) <a href="https://bsky.app/profile/did:plc:ubxb2peejx2pmnbuznapddke/post/3lbeqq3swtc2m?ref_src=embed">Nov 20, 2024 at 11:32</a>
37+
</blockquote>
38+
39+
<!-- or put in head: see _layouts/main.html
40+
<script async src="https://embed.bsky.app/static/embed.js" charset="utf-8"></script>
41+
-->
42+
</div>
3143

44+
<!-- twitter box -->
45+
<!--
46+
<div class="socialmediabox halfbox">
47+
-->
3248
<!-- twitter timeline -->
3349
<!-- not working since twitter/X anymore ... only single post seems to work
3450
<a class="twitter-timeline" data-height="300" data-dnt="true" data-theme="dark" href="https://twitter.com/specfem?ref_src=twsrc%5Etfw">Tweets by specfem</a>
3551
-->
36-
3752
<!-- twitter single post -->
53+
<!--
3854
<blockquote class="twitter-tweet" data-lang="en" data-dnt="true" data-theme="dark">
3955
<p lang="en" dir="ltr">2024 Taiwan earthquake - shakemovie simulation w/ USGS finite-fault solution and IRIS EMC velocity model (FWEA18)
4056
<a href="https://twitter.com/hashtag/specfem3d?src=hash&amp;ref_src=twsrc%5Etfw">#specfem3d</a>
@@ -48,10 +64,12 @@
4864
</p>&mdash; specfem (@specfem)
4965
<a href="https://twitter.com/specfem/status/1775645032764076479?ref_src=twsrc%5Etfw">April 3, 2024</a>
5066
</blockquote>
51-
52-
<!-- put in head: see _layouts/main.html
67+
-->
68+
<!-- or put in head: see _layouts/main.html
5369
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
5470
-->
71+
<!--
5572
</div>
73+
-->
5674
{% endif %}
5775
</section>

_layouts/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
1111
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
1212
<link rel="shortcut icon" type="image/x-icon" href="{{ 'figures/favicon.ico' | relative_url }}">
13-
<!-- twitter/X box -->
14-
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
13+
<!-- bsky box -->
14+
<script async src="https://embed.bsky.app/static/embed.js" charset="utf-8"></script>
1515
</head>
1616
<body onload="myPreloader()">
1717
<a id="skip-to-content" href="#content">Skip to the content.</a>

assets/css/style.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ Page
205205
flex-grow: 1;
206206
}
207207

208-
/* bird */
209-
.twitterbox {
208+
/* bsky, bird, .. */
209+
.socialmediabox {
210210
padding: 20px;
211211
-webkit-box-sizing: border-box;
212212
-moz-box-sizing: border-box;
@@ -877,14 +877,14 @@ Media query
877877
/* -- query -- portrait phone (>= 480px < 592px) */
878878
@media screen and (min-width: 30em) and (max-width: 37em) {
879879
.halfbox { width: 100%; }
880-
.twitterbox { width: 100%; }
880+
.socialmediabox { width: 100%; }
881881
.twitter-timeline { width: 100%; }
882882
}
883883

884884
/* -- query -- portrait phone (< 480px) */
885885
@media screen and (max-width: 30em) {
886886
.halfbox { width: 100%; }
887-
.twitterbox { width: 100%; }
887+
.socialmediabox { width: 100%; }
888888
.twitter-timeline { width: 100%; }
889889
}
890890

scholar/convert_to_md.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,14 @@ def convert_to_markdown(total_pub_no, total_cites, local_dir='./publications/'):
9898
for i in range(20):
9999
code = sorted_by_date[i,2]
100100
pub = P_dict[code]
101-
url = pub['<span class="fas fa-external-link-alt"></span> ' + 'url']
101+
url = pub['url']
102102
md_link = '(' + url + '){:style="color: gray;" target="_blank"}'
103-
#print(md_link)
103+
104+
#print("md_link: ",md_link)
104105

105106
f.write(f"<i><b>{pub['Title']}</b></i> \n")
106107
f.write(f"{pub['Authors']} \n")
107-
f.write(f'[<span style="color:grey">Published in {calendar[sorted_by_date[i,0]]} {sorted_by_date[i,1]}</span>]' + md_link + '\n')
108+
f.write(f'[<span style="color:grey"><span class="fas fa-external-link-alt"></span> Published in {calendar[sorted_by_date[i,0]]} {sorted_by_date[i,1]}</span>]' + md_link + '\n')
108109
f.write('\n')
109110
f.close()
110111

scholar/publications/0KyAp5RtaNEC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Journal: Geophysical Journal International
44
Publication date: 2022/2
55
Title: Assessment of seismic tomographic models of the contiguous United States using
66
intermediate-period 3-D wavefield simulation
7-
Total citations: '5'
7+
Total citations: '6'
88
Unique GS: 0KyAp5RtaNEC
99
Volume: '228'
1010
Yearly citations:
1111
'2022': '3'
1212
'2023': '1'
13-
'2024': '1'
13+
'2024': '2'
1414
url: https://scholar.google.com/citations?view_op=view_citation&hl=en&oe=ASCII&user=bvjzHdUAAAAJ&sortby=pubdate&citation_for_view=bvjzHdUAAAAJ:0KyAp5RtaNEC

scholar/publications/2KloaMYe4IUC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Journal: Geophysical Research Letters
44
Publication date: 2022/5
55
Title: The origin of large, long&#8208;period near&#8208;fault ground velocities during
66
surface&#8208;breaking strike&#8208;slip earthquakes
7-
Total citations: '11'
7+
Total citations: '14'
88
Unique GS: 2KloaMYe4IUC
99
Volume: n/a
1010
Yearly citations:
1111
'2023': '1'
12-
'2024': '10'
12+
'2024': '12'
1313
url: https://scholar.google.com/citations?view_op=view_citation&hl=en&oe=ASCII&user=bvjzHdUAAAAJ&sortby=pubdate&citation_for_view=bvjzHdUAAAAJ:2KloaMYe4IUC

scholar/publications/Mojj43d5GZwC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Journal: n/a
44
Publication date: 2022/4/26
55
Title: A method to generate initial fault stresses for physics-based ground motion
66
prediction consistent with regional seismicity
7-
Total citations: '8'
7+
Total citations: '10'
88
Unique GS: Mojj43d5GZwC
99
Volume: n/a
1010
Yearly citations:
1111
'2023': '4'
12-
'2024': '4'
12+
'2024': '6'
1313
url: https://scholar.google.com/citations?view_op=view_citation&hl=en&oe=ASCII&user=bvjzHdUAAAAJ&sortby=pubdate&citation_for_view=bvjzHdUAAAAJ:Mojj43d5GZwC

scholar/publications/TIZ-Mc8IlK0C.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Journal: Seismological Society of America
55
Publication date: 2022/5
66
Title: Imaging an Underwater Basin and its Resonance Modes using Optical Fiber Distributed
77
Acoustic Sensing
8-
Total citations: '14'
8+
Total citations: '17'
99
Unique GS: TIZ-Mc8IlK0C
1010
Volume: '93'
1111
Yearly citations:
1212
'2022': '4'
1313
'2023': '6'
14-
'2024': '4'
14+
'2024': '7'
1515
url: https://scholar.google.com/citations?view_op=view_citation&hl=en&oe=ASCII&user=bvjzHdUAAAAJ&sortby=pubdate&citation_for_view=bvjzHdUAAAAJ:TIZ-Mc8IlK0C

0 commit comments

Comments
 (0)